David Saff | 8 Aug 21:42
Gravatar

JUnit 4.5 is released

All,

JUnit 4.5 focuses on features that make life easier for JUnit
extensions, including new public extension points for inserting
behavior into the standard JUnit 4 class runner.

Please download at:

http://sourceforge.net/project/showfiles.php?group_id=15278&package_id=12472&abmode=1

The release notes follow:

## Summary of Changes in version 4.5 ##

### Installation ###

- We are releasing `junit-4.5.jar`, which contains all the classes
  necessary to run JUnit, and `junit-dep-4.5.jar`, which leaves out
  hamcrest classes, for developers who already use hamcrest outside of
  JUnit.

### Basic JUnit operation ###

- JUnitCore now more often exits with the correct exit code (0 for
  success, 1 for failure)

- Badly formed test classes (exceptions in constructors, classes
  without tests, multiple constructors, Suite without @SuiteClasses)
  produce more helpful error messages

(Continue reading)


Gmane