|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use org.junit.rules | |
---|---|
org.junit.rules | |
org.junit.runners | Provides standard Runner implementations. |
Classes in org.junit.rules used by org.junit.rules | |
---|---|
ExpectedException
Deprecated. Since 4.13 Assert.assertThrows can be used to verify that your code throws a specific
exception. |
|
ExternalResource
A base class for Rules (like TemporaryFolder) that set up an external resource before a test (a file, socket, server, database connection, etc.), and guarantee to tear it down afterward: |
|
MethodRule
A MethodRule is an alteration in how a test method is run and reported. |
|
RuleChain
Deprecated. Since 4.13 ordering of rules can be naturally specified with an annotation attribute. |
|
TemporaryFolder
The TemporaryFolder Rule allows creation of files and folders that should be deleted when the test method finishes (whether it passes or fails). |
|
TemporaryFolder.Builder
Builds an instance of TemporaryFolder . |
|
TestRule
A TestRule is an alteration in how a test method, or set of test methods, is run and reported. |
|
TestWatcher
TestWatcher is a base class for Rules that take note of the testing action, without modifying it. |
|
Timeout
The Timeout Rule applies the same timeout to all test methods in a class: |
|
Timeout.Builder
Builder for Timeout . |
|
Verifier
Verifier is a base class for Rules like ErrorCollector, which can turn otherwise passing test methods into failing tests if a verification check is failed |
Classes in org.junit.rules used by org.junit.runners | |
---|---|
MethodRule
A MethodRule is an alteration in how a test method is run and reported. |
|
TestRule
A TestRule is an alteration in how a test method, or set of test methods, is run and reported. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |