IBM®
Skip to main content
    United States change      Terms of use
 
 
Select a scope:    
     Home      Products      Services & industry solutions      Support & downloads      My account     
alphaWorks  >  Java technology  >  

Assertion Extensions for JUnit

A set of extensions for JUnit that enable complex assertion abilities.


Date Posted: February 25, 2005
OverviewRequirementsDownload FAQs Forum Reviews

Platform requirements for Assertion Extensions for JUnit

Operating systems: Any Java-enabled system

Java tools:

  • Java 2 Run-time Environment, Version 1.2 or above
  • JUnit (Version 3.8.1 recommended)

Other: Web browser for viewing documentation.

Installation instructions for Assertion Extensions for JUnit

  1. Extract the JUnitX archive to a directory of your choice.
  2. The file lib/junitx.jar should be made available to the class loader that is going to be performing the JUnit tests. The process of making this file available to the class loader is dependant on the many possible environments in which JUnit tests can be executed. This might involve setting the system CLASSPATH environment variable; copying the JAR file to $ANT_HOME/lib if you are executing the tests from an Apache Ant build environment; or adding the JAR file to your IDE test execution environment.
  3. Optional: You can verify the integrity of the JUnitX zip file by calculating the MD5 hash of the file and asserting that it has the same value as the JUnitX MD5 file.

For detailed installation instructions, refer to the readme document included in the JUnitX package.

Download now Download now

Related technologies

For platform(s):
Java

For topics:
unit testing, Java testing


Related resources

Assertion Extensions for JUnit article

developerWorks Java technology zone

Open source projects

 

    About IBM Privacy Contact