google / openhtf

The open-source hardware testing framework.
Apache License 2.0
530 stars 217 forks source link

Request: Add ability to FAIL_AND_CONTINUE instead of STOP when a Phase reaches max_repeats #1079

Open Jamanaman opened 1 year ago

Jamanaman commented 1 year ago

It would be useful if upon max repeats it could be configured to continue. This admittedly can be worked around by manually adding in repeats inside test phases but if you need to repeat a number of steps within a test phase and repeat measurements, it would be far cleaner to be able to use the PhaseResult.REPEAT option and then be able to FAIL_AND_CONTINUE on max repeats. I think this would probably be most easily handled as a kwarg for PhaseOptions but ideally it would be great to be able to configure a whole test so that all phases within the test would have this behaviour.