6 Wiki Summary - essenius/FitNesseFitSharpFeatureDemos GitHub Wiki
FitNesse has a very flexible wiki structure which allows you to keep test cases together with documentation. Using this capability rather than using separate documentation has the advantage that you keep all documentation at one place, which makes it much easier to keep it in sync with the code, since you will need to update the tests anyway if you change the code in a way that changes the behavior.
Some key things we saw:
- The markup that FitNesse uses and the way to reference to different pages
- The special pages and separation into suites and the capability to create new suites from existing ones allows re-using test cases in suites with different purposes.
- Variables and symbols allow for removing “magic numbers” from test cases, enabling macro-like functionality, and re-using outcomes of one fixture call as input for another one.
- Scenario tables allow you to reuse repeating patterns of tests
- Plain text tables allow for specification of tests in the popular BDD format. And it is possible to use scenarios as ‘fixture’ for decision tables.
Much more detail is available in the FitNesse Wiki Guide and the FitNesse SLIM guide.