Troubleshooting fitnesse problems
A few simple errors that you may see when you start using fitnesse.
N.B. The best source for troubleshooting is the Fitnesse group at Yahoo.
http://tech.groups.yahoo.com/group/fitnesse/messages/
FitServer not found, or path not defined.
The fitserver has NOT been found.
Assertions: 0 right, 0 wrong, 0 ignored, 1 exceptions --- Errors Occurred
a TEST_RUNNER must be defined in the wiki hierarchy above or in the Test Page.
Fixture not found, or path not defined.
The message is: Type <methodname> could not be found in assemblies.
No path has been declared for the fixture (.dll or .jar) being tested,
or it is misspelled.
In this case NO assemblies have been found in the paths. (see - Assemblies
searched: )
Define the fixture path. Use: !path <fixture module path> , or !path <fixture module directory>\*.dll
or \*.jar
Ensure correct spelling.
Application under test not found, or path not defined.
Full Text:
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. ---> System.IO.FileNotFoundException:
Could not load file or assembly 'Appl, Version=1.0.2472.106, Culture=neutral,
PublicKeyToken=null' or one of its dependencies. The system cannot find the file
specified.
File name: 'Appl, Version=1.0.2472.106, Culture=neutral,
PublicKeyToken=null'
at CalculateDiscount..ctor()
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]
(DWORD) to 1.
etc.....
The message is: Could not load file or assembly '<application
under test>, ...
No path has been declared for the application (.dll or .exe or .jar) under
test.
Define the application path. Use: !path <application module path> , or !path <application
module directory>\*.dll , \*.exe or \*.jar Ensure correct spelling.
Now it looks good.
It Works!