Skip to content
Commits on Dec 10, 2007
  1. Removed completed TODOs

    dsaff committed
Commits on Jul 18, 2007
  1. Brought up to date with 4.4 features

    dsaff committed
Commits on Jul 2, 2007
  1. - The hamcrest-core-1.1 library is now included in the JUnit distribu…

    dsaff committed
    …tion. For more hamcrest matchers, see the hamcrest-library jar from
    - The Popper Theory runner ( has been absorbed into the JUnit project, under the package name org.junit.experimental.theories
    - Several additional libraries used in the theories tests have been added in a new testlib directory
    - New "assertThat" statement to work with hamcrest matchers:
    // same as assertEquals(3, x)
    assertThat(x, is(3));
    // same as assertNull(y)
    assertThat(y, nullValue());
    - New feature: assumeThat.  A failed assumption will cause the test to pass, without further execution.  (The behavior of assumeThat may change in the future to allow richer reporting of tests that are skipped because of failed assumptions)
    // pass on any non-Windows system
    @Test public void getRootDrive() {
      assumeThat(getOsString(), is("Windows"));
      // ...
    - Convenience assumption functions:
    // none of these are null
    assumeNotNull(a, b, c);
    try {
    } catch (Exception e) {
    - Documentation fixed for many assertEquals array methods
    - Two bugs in numeric equality fixed:
    1718905: assertEquals does not compare float correctly
    1715326: assertEquals does not compare java.math.BigDecimal properly
    - The protocol for overriding JUnit4ClassRunner has changed again.  Please see the source for details.
    - Extenders can now extend TestMethod to describe the behavior of running methods that do not have a @Test annotation.
    - Adding Annotations to Description caused a binary compatibility problem with clients compiled on previous JUnit versions.  This has been fixed.
Commits on Jan 24, 2007
  1. Can @Ignore classes

    dsaff committed
    assertArrayEquals added
Commits on Aug 25, 2006
  1. Javadoc improvements:

    cmschmidt committed
    - code examples are surrounded by a <pre>-tags
    - Annotations in code examples use &#64; instead of the at-sign @
    - some more @link links
    - param comments start with lower case letters
Commits on Mar 10, 2006
  1. Patched javadoc, thanks to Matthias Schmidt

    dsaff committed
    RunWith is @Inherited
    Added acknowledgements
    to-do is up to date
Commits on Feb 15, 2006
Something went wrong with that request. Please try again.