FitNesse. UserGuide. FitLibraryUserGuide.
FileCompareFixture [add child]
FileCompareFixture takes two files or two directories and compares them. The differences is presented as an HTML list, showing the structure (but only enough to show differences). This list includes links to the files concerned.


Differing file contents

check file testFiles/threeLines.txt same as testFiles/differingThreeLines.txt threeLines.txt
  • Files differ at byte position 9
  • differingThreeLines.txt

The two directories are equal

check directory testFiles/diry1 same as testFiles/diry2 diry1

Differing directories due to different files

check directory testFiles/diry3 same as testFiles/diry4 diry3
  • threeLines.txt
    • Missing
  • empty.txt
    • Surplus