Search Java Classes and Packages

Search Java Frameworks and Libraries

255581 classes and counting ...
Search Tips Index Status



# Classes and Interfaces in #JUnit - 41 results found.
NameDescriptionTypePackageFramework
AfterIf you allocate external resources in a Before method you need to release them after the test runs.Classorg.junitJUnit
AfterClassIf you allocate expensive external resources in a BeforeClass method you need to release them after all the tests in the class have run.Classorg.junitJUnit
AllOfCalculates the logical conjunction of two matchers.Classorg.hamcrest.coreJUnit
AllTestsRunner for use with JUnit 3.Classorg.junit.runnersJUnit
AnyOfCalculates the logical disjunction of two matchers.Classorg.hamcrest.coreJUnit
AssertA set of assertion methods useful for writing tests.Classorg.junitJUnit
AssumeA set of methods useful for stating assumptions about the conditions in which a test is meaningful.Classorg.junitJUnit
BeforeWhen writing tests, it is common to find that several tests need similar objects created before they can run.Classorg.junitJUnit
BeforeClassSometimes several tests need to share computationally expensive setup (like logging into a database).Classorg.junitJUnit
BlockJUnit4ClassRunner annotations in the org.Classorg.junit.runnersJUnit
ComparisonFailureThrown when an assertEquals(String, String) fails.Classorg.junitJUnit
DescribedAsProvides a custom description to another matcher.Classorg.hamcrest.coreJUnit
DescriptionA Description describes a test which is to be run or has been run.Classorg.junit.runnerJUnit
FailureA Failure holds a description of the failed test and the exception that was thrown while running it.Classorg.junit.runner.notificationJUnit
FilterThe canonical case of filtering is when you want to run a single test method in a class.Classorg.junit.runner.manipulationJUnit
FilterableRunners that allow filtering should implement this interface.Interfaceorg.junit.runner.manipulationJUnit
Ignore @Test public void test1() { .Classorg.junitJUnit
IsDecorates another Matcher, retaining the behavior but allowing tests to be slightly more expressive.Classorg.hamcrest.coreJUnit
IsAnythingA matcher that always returns true.Classorg.hamcrest.coreJUnit
IsEqualIs the value equal to another value, as tested by the Object.Classorg.hamcrest.coreJUnit
IsInstanceOfTests whether the value is an instance of a class.Classorg.hamcrest.coreJUnit
IsNotCalculates the logical negation of a matcher.Classorg.hamcrest.coreJUnit
IsNullClassorg.hamcrest.coreJUnit
IsSameClassorg.hamcrest.coreJUnit
JUnit4Aliases the current default JUnit 4 class runner, for future-proofing.Classorg.junit.runnersJUnit
JUnitCoreJUnitCore is a facade for running tests.Classorg.junit.runnerJUnit
JUnitMatchersConvenience 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.Classorg.junit.matchersJUnit
NoTestsRemainExceptionThrown when a filter removes all tests from a runner.Classorg.junit.runner.manipulationJUnit
Parameterized The custom runner Parameterized implements parameterized tests.Classorg.junit.runnersJUnit
ParentRunnerProvides most of the functionality specific to a Runner that implements a parent node in the test tree, with children defined by objects of some dataClassorg.junit.runnersJUnit
RequestA Request is an abstract description of tests to be run.Classorg.junit.runnerJUnit
ResultA Result collects and summarizes information from running multiple tests.Classorg.junit.runnerJUnit
RunListenerIf you need to respond to the events during a test run, extend RunListener and override the appropriate methods.Classorg.junit.runner.notificationJUnit
RunnerA Runner runs tests and notifies a RunNotifier of significant events as it does so.Classorg.junit.runnerJUnit
RunNotifierIf you write custom runners, you may need to notify JUnit of your progress running tests.Classorg.junit.runner.notificationJUnit
RunWithWhen a class is annotated with @RunWith or extends a class annotated with @RunWith, JUnit will invoke the class it references to run the Classorg.junit.runnerJUnit
SortableInterface for runners that allow sorting of tests.Interfaceorg.junit.runner.manipulationJUnit
SorterA Sorter orders tests.Classorg.junit.runner.manipulationJUnit
StoppedByUserExceptionThrown when a user has requested that the test run stop.Classorg.junit.runner.notificationJUnit
SuiteUsing Suite as a runner allows you to manually build a suite containing tests from many classes.Classorg.junit.runnersJUnit
TestThe Test annotation tells JUnit that the public void method to which it is attached can be run as a test case.Classorg.junitJUnit