| Name | Package | Description |
| After | org.junit | If you allocate external resources in a Before method you need to release them
after the test runs. |
| AfterClass | org.junit | If you allocate expensive external resources in a BeforeClass method you need to release them
after all the tests in the class have run. |
| Before | org.junit | When writing tests, it is common to find that several tests need similar
objects created before they can run. |
| BeforeClass | org.junit | Sometimes several tests need to share computationally expensive setup
(like logging into a database). |
| Ignore | org.junit | Sometimes you want to temporarily disable a test. |
| Parameterized.Parameters | org.junit.runners | No description provided. |
| RunWith | org.junit.runner | When a class is annotated with @RunWith or extends a class annotated with
@RunWith,
JUnit will invoke
the class it references to run the tests in that class instead of the runner
built into JUnit. |
| Suite.SuiteClasses | org.junit.runners | The SuiteClasses annotation specifies the classes to be run when a class
annotated with @RunWith(Suite.class) is run. |
| Test | org.junit | The Test annotation tells JUnit that the public void method
to which it is attached can be run as a test case. |