Re: help Running robocode TestWallBehavior
fnl <[email protected]> Mon, 27 Apr 2020 13:50:05 -0700 (PDT)
| Newsgroups | gmane.comp.java.robocode |
|---|---|
| Message-ID | <[email protected]> |
Thank you for telling me about this issue. The scripts for running the tests need to be updated as well as the documentation. You are right. This jar file is missing: hamcrest-all-1.3.jar. (The plugin needs an update for sure) You can download it from here: https://repo1.maven.org/maven2/org/hamcrest/hamcrest-all/1.3/hamcrest-all-1.3.jar and put it into the robocode\libs folder. Then you need to add this library to the class path when running the test script: java -Drobocode.home=.. -cp ../libs/junit-4.11.jar;;../libs/hamcrest-all-1.3.jar;../libs/robocode.jar;../libs/robocode.testing.jar;.; org.junit.runner.JUnitCore sample.TestWallBehavior This should be enough. I have just tested this with a clean installation of Robocode 1.9.3.9 with the testing plugin. I should like to hear if you can get it running on your system as well? Cheers, - Flemming -- You received this message because you are subscribed to the Google Groups "robocode" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/robocode/175a3d40-9ab3-4010-86f5-f09deae669c6%40googlegroups.com.