A set of assertion methods useful for writing tests.
A set of methods useful for stating assumptions about the conditions in which a test is meaningful.
Default empty exception
Thrown when an
If you allocate external resources in a
If you allocate expensive external resources in a
When writing tests, it is common to find that several tests need similar objects created before they can run.
Sometimes several tests need to share computationally expensive setup (like logging into a database).
Annotates static fields that reference rules or methods that return them.
This class allows the user to choose the order of execution of the methods within a test class.
Sometimes you want to temporarily disable a test or a group of tests.
Annotates fields that reference rules or methods that return a rule.
Copyright © 2002-2012 JUnit. All Rights Reserved.