Adds support for skip-if collection of evaluable conditions for a scenario. If any of these conditions fails, the test will be skipped.
SkipIf contains a list of evaluable conditions that must evaluate successfully before the scenario's tests are executed. This allows test authors to specify "pre-flight checks" that should pass before attempting any of the actions in the scenario's tests.
For example, let's assume you have a gdt-kube scenario that looks like this:
If you execute the above test and there is already an 'nginx' deployment, the kube.create test will fail. To prevent the scenario from proceeding with the tests if an 'nginx' deployment already exists, you could add the following
Adds support for
skip-if
collection of evaluable conditions for a scenario. If any of these conditions fails, the test will be skipped.SkipIf contains a list of evaluable conditions that must evaluate successfully before the scenario's tests are executed. This allows test authors to specify "pre-flight checks" that should pass before attempting any of the actions in the scenario's tests.
For example, let's assume you have a
gdt-kube
scenario that looks like this:If you execute the above test and there is already an 'nginx' deployment, the
kube.create
test will fail. To prevent the scenario from proceeding with the tests if an 'nginx' deployment already exists, you could add the followingWith the above, if an 'nginx' deployment exists already, the scenario will skip all the tests.