Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Dec 10, 2007

  1. Removed completed TODOs

    dsaff authored

Jul 18, 2007

  1. Brought up to date with 4.4 features

    dsaff authored

Jul 02, 2007

  1. Fixed bug 1745048: @After method not called after my test timeout in …

    …4.3.1
    dsaff authored
  2. - The hamcrest-core-1.1 library is now included in the JUnit distribu…

    …tion. For more hamcrest matchers, see the hamcrest-library jar from http://code.google.com/p/hamcrest
    
    - The Popper Theory runner (http://popper.tigris.org) 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"));
      getFile("C:\");
      // ...
    }
    
    - Convenience assumption functions:
    
    // none of these are null
    assumeNotNull(a, b, c);
    assumeTrue(everythingOk());
    
    try {
      getDatabaseConnection();
    } catch (Exception e) {
      assumeNoException(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.
    dsaff authored

Jan 24, 2007

  1. Can @Ignore classes

    assertArrayEquals added
    dsaff authored

Aug 25, 2006

  1. Javadoc improvements:

    - 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
    cmschmidt authored

Mar 10, 2006

  1. Patched javadoc, thanks to Matthias Schmidt

    RunWith is @Inherited
    Added acknowledgements
    to-do is up to date
    dsaff authored

Feb 15, 2006

  1. Merged with branch, Kent will make final changes and launch.

    dsaff authored
Something went wrong with that request. Please try again.