XpdWiki
Set your name in
UserPreferences Edit this page Referenced by
JSPWiki v2.0.52
![]() ![]() |
JesTer SourceChangeException I went throught the readMe file of Jester v1.06 and proceeded accordingly. There is a line in the file that says "for a simple example: run the batch file 'test.bat'; NOTE, the directory containing 'test.bat' must also be on the classpath. " after less than 2 minutes, there should be the following text: C:\trial>java jester.TestTester? jester.functionaltests.TestAll? tester/functionaltests jester\functionaltests\NotTested.java - changed character at 134 from 1 to 2 ldReturnAnything() { return £1; } } took 1 minutes I entered it in the classpath and typed test.bat. but I got the following message : jester.SourceChangeException: Couldn't run test tester because tests didn't pass before any changes made. at jester.TestTester?.run(TestTester.java:81) at jester.TestTester?.main(TestTester.java:74) D:\Jester> I could not find any documentation on this? Even google search engine did not produce any results. where are we supposed to find the answer. Answer a SourceChangeException is thrown by JesTer when it can't work because of problems such as: the tests don't pass before it has made any changes or the source code cannot be changed because it is write protected. In your case, try executing: java jester.functionaltests.TestAll? to see why the tests didn't pass before any changes were made. It may be that you don't have everything necessary on the classpath (i.e. the current directory, jester.jar and junit)
|