From: David S. <sa...@mi...> - 2007-03-20 14:23:14
|
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 |