%general-entities; ]> $LastChangedBy$ $Date$ JUnit-&junit-version; JUnit Introduction to JUnit The JUnit package contains a simple, open source framework to write and run repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks. JUnit features include assertions for testing expected results, test fixtures for sharing common test data, and test runners for running tests. &lfs75_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &junit-md5sum; Download size: &junit-size; Estimated disk space required: &junit-buildsize; Estimated build time: &junit-time; Additional Downloads Required file: http://hamcrest.googlecode.com/files/hamcrest-&hamcrest-version;.tgz JUnit Dependencies Required and User Notes: Installation of JUnit Place the required hamcrest jar files where needed and build the package: tar -xf ../hamcrest-&hamcrest-version;.tgz && cp -v hamcrest-&hamcrest-version;/hamcrest-core-&hamcrest-version;{,-sources}.jar lib/ && ant dist Testing is automatically done as a part of the build step. Install the files in the final location as the root user: install -v -m755 -d /usr/share/{doc,java}/junit-&junit-version; && chown -R root:root . && cp -v -R junit*/javadoc/* /usr/share/doc/junit-&junit-version; && cp -v junit*/junit*.jar /usr/share/java/junit-&junit-version; && cp -v hamcrest-&hamcrest-version;/hamcrest-core*.jar /usr/share/java/junit-&junit-version; Finally, update the CLASSPATH variable: export CLASSPATH=$CLASSPATH:/usr/share/java/junit-&junit-version; Contents Installed Programs Installed Libraies Installed Directories None hamcrest-core and junit jar files /usr/share/doc/junit-&junit-version; and /usr/share/java/junit-&junit-version; Short Descriptions junit jar files contains java classes to support the xUnit framework testing architecture. junit-&junit-version;.jar