JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.
[ #229753 ] assertEquals on NaN and Infinity does not work correctly
[ #229287 ] Class Name too long "SimpleClassPathTestCollector"
[ #229609 ] Stack Filtering missing in textui.TesRunner
[ #229870 ] Clicking on ... after tests failed gives NPE
[ #229974 ] Incorrect icon shown for first element in Swing GUI
[ #230581 ] swingui.TestTreeModel: results of decorated testcases...
[ #230971 ] Make junit.extensions.TestDecorator.getTest() public
[ #231569 ] DocBug: JUnit Test Infected: Programmers Love Writing Tests
[ #232645 ] BaseTestRunner.getTest loses exception information
[ #233094 ] TestSuite masks exceptions
[ #410967 ] No icon provided for first test
[ #230745 ] ClassPathTestCollector sometimes lists classes in duplicate
Changes between 2.1 and 3.4 Changes between 1.0 and 2.1
README.html | this file |
junit.jar | a jar file with the JUnit framework and tools |
src.jar | a jar file with the source code of the junit framework |
junit | the source code of the JUnit samples |
samples | sample test cases |
tests | test cases for JUnit itself |
javadoc | javadoc generated documentation |
doc | documentation and articles |
You find additional samples in the junit.samples package:
JUnit Cookbook
A cookbook for implementing tests with JUnit.
Test Infected - Programmers Love Writing Tests
An article demonstrating the development process with JUnit.
JUnit - A cooks tour
Javadoc
API documentation generated with javadoc.
Frequently asked questions
Some frequently asked questions about using JUnit.
TestRunner Preference settings
Describes the preferences settings that can be configured for the JUnit TestRunners.
License
The terms of the common public license used for JUnit.