-
Hi, Is it possible to skip an entire PhaseGroup based on previous tests ? I know test flow execution can be altered using PhaseOption.run_if decorators but they have no context. Is it possible to alter test flow execution based on 'test state' ? With Subtest and PhaseResult.FAIL_SUBTEST one can skip all remaining 'tests' from the Subtest but this results in a FAIL. If possible; an example whould be greatly appreciated Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is possible. Please see https://github.com/google/openhtf/blob/master/openhtf/core/phase_branches.py#L207. It will require wrapping your PhaseGroup in a Subtest. |
Beta Was this translation helpful? Give feedback.
This is possible. Please see https://github.com/google/openhtf/blob/master/openhtf/core/phase_branches.py#L207. It will require wrapping your PhaseGroup in a Subtest.