| Name | Description | Type | Package | Framework |
| After | If you allocate external resources in a Before method you need to release them after the test runs. | Class | org.junit | JUnit |
|
| AfterClass | If you allocate expensive external resources in a BeforeClass method you need to release them after all the tests in the class have run. | Class | org.junit | JUnit |
|
| AllOf | Calculates the logical conjunction of two matchers. | Class | org.hamcrest.core | JUnit |
|
| AllTests | Runner for use with JUnit 3. | Class | org.junit.runners | JUnit |
|
| AnyOf | Calculates the logical disjunction of two matchers. | Class | org.hamcrest.core | JUnit |
|
| Assert | A set of assertion methods useful for writing tests. | Class | org.junit | JUnit |
|
| Assume | A set of methods useful for stating assumptions about the conditions in which a test is meaningful. | Class | org.junit | JUnit |
|
| Before | When writing tests, it is common to find that several tests need similar objects created before they can run. | Class | org.junit | JUnit |
|
| BeforeClass | Sometimes several tests need to share computationally expensive setup (like logging into a database). | Class | org.junit | JUnit |
|
| BlockJUnit4ClassRunner | annotations in the org. | Class | org.junit.runners | JUnit |
|
| ComparisonFailure | Thrown when an assertEquals(String, String) fails. | Class | org.junit | JUnit |
|
| DescribedAs | Provides a custom description to another matcher. | Class | org.hamcrest.core | JUnit |
|
| Description | A Description describes a test which is to be run or has been run. | Class | org.junit.runner | JUnit |
|
| Failure | A Failure holds a description of the failed test and the exception that was thrown while running it. | Class | org.junit.runner.notification | JUnit |
|
| Filter | The canonical case of filtering is when you want to run a single test method in a class. | Class | org.junit.runner.manipulation | JUnit |
|
| Filterable | Runners that allow filtering should implement this interface. | Interface | org.junit.runner.manipulation | JUnit |
|
| Ignore | @Test public void test1() { . | Class | org.junit | JUnit |
|
| Is | Decorates another Matcher, retaining the behavior but allowing tests to be slightly more expressive. | Class | org.hamcrest.core | JUnit |
|
| IsAnything | A matcher that always returns true. | Class | org.hamcrest.core | JUnit |
|
| IsEqual | Is the value equal to another value, as tested by the Object. | Class | org.hamcrest.core | JUnit |
|
| IsInstanceOf | Tests whether the value is an instance of a class. | Class | org.hamcrest.core | JUnit |
|
| IsNot | Calculates the logical negation of a matcher. | Class | org.hamcrest.core | JUnit |
|
| IsNull | | Class | org.hamcrest.core | JUnit |
|
| IsSame | | Class | org.hamcrest.core | JUnit |
|
| JUnit4 | Aliases the current default JUnit 4 class runner, for future-proofing. | Class | org.junit.runners | JUnit |
|
| JUnitCore | JUnitCore is a facade for running tests. | Class | org.junit.runner | JUnit |
|
| JUnitMatchers | Convenience import class: these are useful matchers for use with the assertThat method, but they are not currently included in the basic CoreMatchers class from hamcrest. | Class | org.junit.matchers | JUnit |
|
| NoTestsRemainException | Thrown when a filter removes all tests from a runner. | Class | org.junit.runner.manipulation | JUnit |
|
| Parameterized | The custom runner Parameterized implements parameterized tests. | Class | org.junit.runners | JUnit |
|
| ParentRunner | Provides most of the functionality specific to a Runner that implements a parent node in the test tree, with children defined by objects of some data | Class | org.junit.runners | JUnit |
|
| Request | A Request is an abstract description of tests to be run. | Class | org.junit.runner | JUnit |
|
| Result | A Result collects and summarizes information from running multiple tests. | Class | org.junit.runner | JUnit |
|
| RunListener | If you need to respond to the events during a test run, extend RunListener and override the appropriate methods. | Class | org.junit.runner.notification | JUnit |
|
| Runner | A Runner runs tests and notifies a RunNotifier of significant events as it does so. | Class | org.junit.runner | JUnit |
|
| RunNotifier | If you write custom runners, you may need to notify JUnit of your progress running tests. | Class | org.junit.runner.notification | JUnit |
|
| RunWith | When a class is annotated with @RunWith or extends a class annotated with @RunWith, JUnit will invoke the class it references to run the | Class | org.junit.runner | JUnit |
|
| Sortable | Interface for runners that allow sorting of tests. | Interface | org.junit.runner.manipulation | JUnit |
|
| Sorter | A Sorter orders tests. | Class | org.junit.runner.manipulation | JUnit |
|
| StoppedByUserException | Thrown when a user has requested that the test run stop. | Class | org.junit.runner.notification | JUnit |
|
| Suite | Using Suite as a runner allows you to manually build a suite containing tests from many classes. | Class | org.junit.runners | JUnit |
|
| Test | The Test annotation tells JUnit that the public void method to which it is attached can be run as a test case. | Class | org.junit | JUnit |