question

JeffJ avatar image
JeffJ asked ericnute edited

How to stop a Test Suite if the Global setup test fails?

Is there a method of telling the test suite to not execute the tests in a group if the Global Setup Test fails? For example, the Global Setup Test configures the topology prior to running the tests in the group. If the Global Setup Test is unable to properly configure the topology, none of the tests in the group should be executed as the results cannot be trusted. In this particular case, the test suite is being executed by iTestRT.
iTestiTest Runtime (itestrt)test suite
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
JeffJ avatar image
JeffJ answered ericnute edited
You can set the preference on the "General" tab to determine how the test suite should react to a failure in the Startup or Cleanup test. These options are: 1. Stop the entire test suite. 2. Stop the offending group of tests. 3. Ignore the failure and continue.
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.