Previous page: Step 5: Running the test Parent page: Hello World from the database

Traffic lights

Click the Edit button on the left and add another row to the expected results, so that you can see how FitNesse prints the results when a test fails.

FitNesse is a traffic light which can tell you whether your code is ready to be released or not. If a test fails, the light turns red, and FitNesse will show both expected and actual results. In the case of queries, it will compare the contents of the FitNesse table with what actually came out from the database, and print out missing or suprlus rows (Figure 8: FitNesse clearly shows what's wrong).

Figure 8: FitNesse clearly shows what's wrong


Personal Tools