When you’re testing your database code with DbFit, you’re actually using the FitNesse test framework to the edit and run your tests. The following pages give a good overview of FitNesse:
When a test is run, FitNesse prints out a result summary. Here’s an example:
Assertions: 5 right, 1 wrong, 0 ignored, 0 exceptions (0.004 seconds)
The test runner calculates this summary by summing the number of table cells that passed, failed and threw exceptions. Any cell in the different DbFit tables could potentially have any one of these outcomes. The general convention is:
If a cell fails:
Framework misconfiguration (eg missing fixture files, missing driver libraries) or keyword typos manifest themselves as exceptions.