28.8 A full Test Run
After we have worked through the test set step by step, let's execute everything in one go.
- Select the Test set "Simple Tests".
-
Execute it with the replay button
.
The test run ends with the well-known error.
-
ActionNow please open the run log via
to see how QF-Test executed the test.
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").