JUnit is a simple framework for writing and running automated tests. As a political gesture, it celebrates programmers testing their own software.
There are a few bug fixes included, and
improvements to the core architecture that allow test reordering and
parallelization for basic JUnit 3 and basic JUnit 4 tests and suites.
For details, please see the release notes.
Release notes: https://sourceforge.net/project/shownotes.php?release_id=675664&group_id=15278... read more
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. For more information, please reference the release notes.
JUnit 4.4 includes several major new features designed to even better capture developer intent:
assertThat(string, containsString("abc"));
assumeThat(File.separatorChar, is('/'));
Theories (globally true statements):
@Theory public void filenameIncludesUsername(String username) {
assumeThat(username, not(containsString("/")));
assertThat(new User(username).configFileName(), containsString(username));
}... read more
JUnit 4.3.1 is now available for download. This is a bug fix release that fixes two regressions introduced in 4.3. For more details, please see README.html
JUnit 4.3 is now available. This is a bug fix and enhancement release, containing improvements to array equality checking, the ability to ignore entire test classes, and better handling of old-style test classes using suite().
JUnit 4.2 is a bug fix release. It catches malformed test suites better, and has more informative error messages. For more details, please see the release notes.
4.1 is a bug-fix release. Changes:
The changes between 3.8.1 and 3.8.2 are minimal, and the focus was on fixing the accumulated bug reports. The most significant change is replacing the much-reviled string comparison format with something easier to read and use.
For the latest, most extensible and most usable JUnit ever, developers should download and use JUnit 4.0.
Extend Object
@RunWith your own Runner
Annotate @Tests
JUnit 4
Annotate and extend
Test simply now