-
Java 5 annotations for setup and teardown (
@beforeand@after)
instead ofsetUp()andtearDown(). -
don’t need to extend TestCase anymore.
-
@Testannotation replacestestSomeMethod()naming convention. -
static importsfor asserts. -
Junit theories, which allow you to separate data sets from the test
itself.