JUnit 5
A B C D E F G H I J L M N O P R S T U V W 

T

Tag - Annotation Type in org.junit.jupiter.api
@Tag is a repeatable annotation that is used to declare a tag for the annotated test class or test method.
TagFilter - Class in org.junit.platform.launcher
Factory methods for creating PostDiscoveryFilters based on included and excluded tags.
Tags - Annotation Type in org.junit.jupiter.api
@Tags is a container for one or more @Tag declarations.
test(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.IsInnerClass
 
test(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.IsNestedTestClass
 
test(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.IsPotentialTestContainer
 
test(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.IsScannableTestClass
 
test(Class<?>) - Method in class org.junit.platform.commons.util.ClassFilter
implNote This implementation combines all tests stored in the predicates of this instance.
Test - Annotation Type in org.junit.jupiter.api
@Test is used to signal that the annotated method is a test method.
TEST - org.junit.platform.engine.TestDescriptor.Type
Denotes that the TestDescriptor is for a test.
Testable - Annotation Type in org.junit.platform.commons.annotation
@Testable is used to signal to IDEs and tooling vendors that the annotated or meta-annotated element is testable.
TestDescriptor - Interface in org.junit.platform.engine
Mutable descriptor for a test or container that has been discovered by a TestEngine.
TestDescriptor.Type - Enum in org.junit.platform.engine
Supported types for TestDescriptors.
TestDescriptor.Visitor - Interface in org.junit.platform.engine
Visitor for the tree-like TestDescriptor structure.
TestEngine - Interface in org.junit.platform.engine
A TestEngine facilitates discovery and execution of tests for a particular programming model.
TestExecutionExceptionHandler - Interface in org.junit.jupiter.api.extension
TestExecutionExceptionHandler defines the API for Extensions that wish to handle exceptions thrown during test execution.
TestExecutionListener - Interface in org.junit.platform.launcher
Register an instance of this class with a Launcher to be notified of events that occur during test execution.
TestExecutionResult - Class in org.junit.platform.engine
Result of executing a single test or container.
TestExecutionResult.Status - Enum in org.junit.platform.engine
Status of executing a single test or container.
TestExecutionSummary - Interface in org.junit.platform.launcher.listeners
Summary of test plan execution.
TestExecutionSummary.Failure - Interface in org.junit.platform.launcher.listeners
Failure of a test or container.
TestFactory - Annotation Type in org.junit.jupiter.api
@TestFactory is used to signal that the annotated method is a test factory method.
TestFactoryTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestFactoryTestDescriptor(UniqueId, Class<?>, Method) - Constructor for class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
TestIdentifier - Class in org.junit.platform.launcher
Immutable data transfer object that represents a test or container which is usually part of a TestPlan.
TestInfo - Interface in org.junit.jupiter.api
TestInfo is used to inject information about the current test or container into to @Test, @BeforeEach, @AfterEach, @BeforeAll, and @AfterAll methods.
TestInstance - Annotation Type in org.junit.jupiter.api
@TestInstance is a type-level annotation that is used to configure the lifecycle of test instances for the annotated test class or test interface.
TestInstance.Lifecycle - Enum in org.junit.jupiter.api
Enumeration of test instance lifecycle modes.
TestInstancePostProcessor - Interface in org.junit.jupiter.api.extension
TestInstancePostProcessor defines the API for Extensions that wish to post-process test instances.
TestInstanceProvider - Interface in org.junit.jupiter.engine.execution
 
TestMethodTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestDescriptor for tests based on Java methods.
TestMethodTestDescriptor(UniqueId, Class<?>, Method) - Constructor for class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
TestPlan - Class in org.junit.platform.launcher
TestPlan describes the tree of tests and containers as discovered by a Launcher.
testPlanExecutionFinished(TestPlan) - Method in class org.junit.platform.launcher.listeners.LoggingListener
 
testPlanExecutionFinished(TestPlan) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
testPlanExecutionFinished(TestPlan) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when the execution of the TestPlan has finished, after all tests have been executed.
testPlanExecutionStarted(TestPlan) - Method in class org.junit.platform.launcher.listeners.LoggingListener
 
testPlanExecutionStarted(TestPlan) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
testPlanExecutionStarted(TestPlan) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when the execution of the TestPlan has started, before any test has been executed.
TestReporter - Interface in org.junit.jupiter.api
Parameters of type TestReporter can be injected into methods of test classes annotated with @BeforeEach, @AfterEach, and @Test.
TestRuleAnnotatedField - Class in org.junit.jupiter.migrationsupport.rules.member
 
TestRuleAnnotatedField(Object, Field) - Constructor for class org.junit.jupiter.migrationsupport.rules.member.TestRuleAnnotatedField
 
TestRuleAnnotatedMember - Interface in org.junit.jupiter.migrationsupport.rules.member
 
TestRuleAnnotatedMethod - Class in org.junit.jupiter.migrationsupport.rules.member
 
TestRuleAnnotatedMethod(Object, Method) - Constructor for class org.junit.jupiter.migrationsupport.rules.member.TestRuleAnnotatedMethod
 
TestSource - Interface in org.junit.platform.engine
Representation of the source of a test or container used to navigate to its location by IDEs and build tools.
TestTag - Class in org.junit.platform.engine
Immutable value object for a tag that is assigned to a test or container.
TestTemplate - Annotation Type in org.junit.jupiter.api
@TestTemplate is used to signal that the annotated method is a test template method.
TestTemplateInvocationContext - Interface in org.junit.jupiter.api.extension
TestTemplateInvocationContext represents the context of a single invocation of a test template.
TestTemplateInvocationContextProvider - Interface in org.junit.jupiter.api.extension
TestTemplateInvocationContextProvider defines the API for Extensions that wish to provide one or multiple contexts for the invocation of a @TestTemplate method.
TestTemplateInvocationTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestDescriptor for a @TestTemplate invocation.
TestTemplateTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestTemplateTestDescriptor(UniqueId, Class<?>, Method) - Constructor for class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
 
Theme - Enum in org.junit.platform.console.options
 
ThrowableCollector - Class in org.junit.jupiter.engine.execution
Simple component that can be used to collect one or more instances of Throwable.
ThrowableCollector() - Constructor for class org.junit.jupiter.engine.execution.ThrowableCollector
 
throwAsUncheckedException(Throwable) - Static method in class org.junit.platform.commons.util.ExceptionUtils
Throw the supplied Throwable, masked as an unchecked exception.
ThrowingConsumer<T> - Interface in org.junit.jupiter.api.function
ThrowingConsumer is a functional interface that can be used to implement any generic block of code that consumes an argument and potentially throws a Throwable.
ThrowingSupplier<T> - Interface in org.junit.jupiter.api.function
ThrowingSupplier is a functional interface that can be used to implement any generic block of code that returns an object and potentially throws a Throwable.
TOP_DOWN - org.junit.platform.commons.support.HierarchyTraversalMode
Traverse the hierarchy using top-down semantics.
TOP_DOWN - org.junit.platform.commons.util.ReflectionUtils.HierarchyTraversalMode
Traverse the hierarchy using top-down semantics.
toPredicate() - Method in interface org.junit.platform.engine.Filter
Return a Predicate that returns true if this filter includes the object supplied to the predicate's test method.
toRequest() - Method in class org.junit.vintage.engine.descriptor.RunnerTestDescriptor
 
toStream(Object) - Static method in class org.junit.platform.commons.util.CollectionUtils
Convert an object of one of the following supported types into a Stream.
toString() - Method in class org.junit.jupiter.api.DynamicNode
 
toString() - Method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
 
toString() - Method in class org.junit.platform.commons.util.ToStringBuilder
 
toString() - Method in enum org.junit.platform.console.options.Details
Return lower case Enum.name for easier usage in help text for available options.
toString() - Method in enum org.junit.platform.console.options.Theme
Return lower case Enum.name for easier usage in help text for available options.
toString() - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
 
toString() - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector
 
toString() - Method in class org.junit.platform.engine.discovery.ClassSelector
 
toString() - Method in class org.junit.platform.engine.discovery.DirectorySelector
 
toString() - Method in class org.junit.platform.engine.discovery.FileSelector
 
toString() - Method in class org.junit.platform.engine.discovery.MethodSelector
 
toString() - Method in class org.junit.platform.engine.discovery.ModuleSelector
 
toString() - Method in class org.junit.platform.engine.discovery.PackageSelector
 
toString() - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
 
toString() - Method in class org.junit.platform.engine.discovery.UriSelector
 
toString() - Method in class org.junit.platform.engine.FilterResult
 
toString() - Method in class org.junit.platform.engine.reporting.ReportEntry
 
toString() - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
 
toString() - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
 
toString() - Method in class org.junit.platform.engine.support.descriptor.ClassSource
 
toString() - Method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
 
toString() - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
 
toString() - Method in class org.junit.platform.engine.support.descriptor.FilePosition
 
toString() - Method in class org.junit.platform.engine.support.descriptor.FileSource
 
toString() - Method in class org.junit.platform.engine.support.descriptor.MethodSource
 
toString() - Method in class org.junit.platform.engine.support.descriptor.PackageSource
 
toString() - Method in class org.junit.platform.engine.support.hierarchical.Node.SkipResult
 
toString() - Method in class org.junit.platform.engine.TestExecutionResult
 
toString() - Method in class org.junit.platform.engine.TestTag
 
toString() - Method in class org.junit.platform.engine.UniqueId.Segment
 
toString() - Method in class org.junit.platform.engine.UniqueId
Generate the unique, formatted string representation of this UniqueId using the configured UniqueIdFormat.
toString() - Method in class org.junit.platform.launcher.EngineFilter
 
toString() - Method in class org.junit.platform.launcher.TestIdentifier
 
ToStringBuilder - Class in org.junit.platform.commons.util
Simple builder for generating strings in custom implementations of toString().
ToStringBuilder(Class<?>) - Constructor for class org.junit.platform.commons.util.ToStringBuilder
 
ToStringBuilder(Object) - Constructor for class org.junit.platform.commons.util.ToStringBuilder
 
TOTAL_REPETITIONS_PLACEHOLDER - Static variable in annotation type org.junit.jupiter.api.RepeatedTest
Placeholder for the total number of repetitions of a @RepeatedTest method: {totalRepetitions}
toUnmodifiableList() - Static method in class org.junit.platform.commons.util.CollectionUtils
Return a Collector that accumulates the input elements into a new unmodifiable list, in encounter order.
trace(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the provided Throwable and message from the provided messageSupplier at trace level.
trace(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
Log the message from the provided messageSupplier at trace level.
TREE - org.junit.platform.console.options.Details
Test plan execution details are rendered as a simple tree.
A B C D E F G H I J L M N O P R S T U V W 
Skip navigation links
JUnit 5