28.8 A full Test Run

After we have worked through the test set step by step, let's execute everything in one go.

The test run ends with the well-known error.

Figure 28.16:  The run log of the complete test set

You can see that the Setup and Cleanup nodes are executed before and after each test case. This is a special behavior of Setup/Cleanup nodes within a test set and helps achieving a proper starting state for each test case.

NoteStopping the SUT after each test case is not the smartest way to ensure a clean state. More elegant ways to establish a defined test starting situation and to perform cleanup will be explained in the advanced features chapter of this tutorial ("Dependencies: Automatically ensuring correct prerequisites for each Test case").