JUnit 4.3 is released
"David Saff" <[email protected]> Tue, 20 Mar 2007 10:23:12 -0400
| Newsgroups | gmane.comp.java.junit.devel,gmane.comp.java.junit.user |
|---|---|
| Message-ID | <[email protected]> |
All,
Today, we've released JUnit 4.3, which is a bug fix release with several new
features. The change log is below.
Share and Enjoy,
Team JUnit
Summary of Changes with version 4.3
- Changes in array equality. Using assertEquals to compare array
contents is now deprecated. In the future, assertEquals will revert to
its pre-4.0 meaning of comparing objects based on Java's
Object.equalssemantics. To compare array contents, use the new, more
reliable
Assert.assertArrayEquals methods.
- The @Ignore annotation can now be applied to classes, to ignore the
entire class, instead of individual methods.
- Originally, developers who wanted to use a static suite() method
from JUnit 3.x with a JUnit 4.x runner had to annotate the class with
@RunWith(AllTests.class). In the common case, this requirement has
been removed. However, when such a class is wrapped with a JUnit4TestAdapter
(which we believe is rare), the results may not be as expected.
- Improved error messages for array comparison("arrays first differed
at element [1][0]")
- Bug fix: Inaccessible base class is caught at test construction
time.
- Bug fix: Circular suites are caught at test construction time.
- Bug fix: Test constructors that throw exceptions are reported
correctly.
- *For committers and extenders*
- Sources now are in a separate "src" directory (this means a
big break in the CVS history)
- Improved documentation in Request, RunWith
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Junit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/junit-devel