|
Randoop 1.2 |
The Randomized Unit Test Generator for Java |
| Home | Publications | Download | User Manual | Developer Notes |
The zip file containing Randoop includes the sources. We do not currently provide much technical support if you want to modify Randoop, but the following instructions are meant to get you started.
In Eclipse. The top-level randoop directory is an Eclipse project. In Eclipse, create a new Java project, and in the "New Java Project" window, select "Create project from existing source" and select the randoop directory. After that, you'll have Randoop as a project and everything should compile automatically.
Outside Eclipse. You can compile Randoop using a java compiler for Java 5 or greater. The src and tests directories contain the sources. The sources depend on the jar files contained in the lib directory, which you should add to your classpath when compiling.
As an example, here is one way to compile Randoop. First, create a file classes.txt that lists all the Randoop source files:
find src/ tests/ -name "*.java" > classes.txt
javac -cp lib/jakarta-oro-2.0.8.jar:lib/junit-4.3.1.jar @classes.txt