June 2010
Intermediate to advanced
504 pages
15h 44m
English
This appendix covers
As you’ve probably seen, the new 4.x version of JUnit is a completely new framework. It’s more of a totally new project than a bug-fixing improvement of the old one. But it still deals with unit testing your Java code. That said, we will try to define all the differences between the latest version of JUnit and the 3.x version.
This section discusses the changes in the requirements for using JUnit.
JUnit 4 uses a lot from Java 5 annotations, generics, and static import features. Although the JUnit 3.x version can work with JDK 1.2+, this usage ...
Read now
Unlock full access