|
1:45:22 PM |
|
JUnit 3.8 is out. Of the changes, these 3 stuck out:
- Made the string argument TestCase constructor optional. You can now delete constructors of the form "FooTestCase(String name) { super(name); }".
- Added assertFalse() to avoid the difficult of reading the assertTrue(! condition).
- When you compare two long strings with a small delta embedded in the middle, it is hard to spot the difference. In 3.8, when you call assertEquals(String, String), only the differences between the strings are displayed. The common prefix and suffix are replaced with "...".
Small things can make huge differences to test karma :)
|