git clone git://github.com/imagej/ij1-tests
Running the tests
If you wish to run the unit tests manually, you can do so from the command line:
cd ij1-tests mvn clean test
Or from Eclipse:
- Import the
ij1-testsproject using File › Import Existing Maven Projects and choosing the
- Right-click the
ij1-testsproject, Run As › JUnit Test .
Using a different version of ImageJ1
You can change which version of ImageJ1 is tested by overriding the
mvn -Dimagej1.version=1.48a clean test
Or whichever version you wish to use (of those listed here). The unit tests were created circa 1.44, and do not compile correctly with earlier versions of ImageJ.