Skip navigation links
junit-launcher
A B C D E F G H I L O P R S T 

A

add(TestIdentifier) - Method in class org.junit.gen5.launcher.TestPlan
Add the supplied TestIdentifier to this test plan.
addEngineIdFilter(EngineIdFilter) - Method in interface org.junit.gen5.launcher.TestDiscoveryRequest
 
addEngineIdFilters(Collection<EngineIdFilter>) - Method in interface org.junit.gen5.launcher.TestDiscoveryRequest
 
addFailure(TestIdentifier, Throwable) - Method in class org.junit.gen5.launcher.listeners.TestExecutionSummary
 
addFilter(DiscoveryFilter<?>) - Method in interface org.junit.gen5.launcher.TestDiscoveryRequest
 
addFilters(Collection<DiscoveryFilter<?>>) - Method in interface org.junit.gen5.launcher.TestDiscoveryRequest
 
addPostFilter(PostDiscoveryFilter) - Method in interface org.junit.gen5.launcher.TestDiscoveryRequest
 
addPostFilters(Collection<PostDiscoveryFilter>) - Method in interface org.junit.gen5.launcher.TestDiscoveryRequest
 
addSelector(DiscoverySelector) - Method in interface org.junit.gen5.launcher.TestDiscoveryRequest
 
addSelectors(Collection<DiscoverySelector>) - Method in interface org.junit.gen5.launcher.TestDiscoveryRequest
 

B

build() - Method in class org.junit.gen5.launcher.main.TestDiscoveryRequestBuilder
 
byEngineId(String) - Static method in class org.junit.gen5.launcher.EngineIdFilter
 

C

countFailedTests() - Method in class org.junit.gen5.launcher.listeners.TestExecutionSummary
 
countTestIdentifiers(Predicate<? super TestIdentifier>) - Method in class org.junit.gen5.launcher.TestPlan
Count all identifiers that satisfy the given predicate.
create() - Static method in class org.junit.gen5.launcher.main.LauncherFactory
Factory method for creating a new instance of Launcher using dynamically registered test engines.

D

discover(TestDiscoveryRequest) - Method in interface org.junit.gen5.launcher.Launcher
Discover tests and build a TestPlan according to the supplied TestDiscoveryRequest by querying all registered engines and collecting their results.
dynamicTestRegistered(TestIdentifier) - Method in class org.junit.gen5.launcher.listeners.LoggingListener
 
dynamicTestRegistered(TestIdentifier) - Method in class org.junit.gen5.launcher.listeners.SummaryGeneratingListener
 
dynamicTestRegistered(TestIdentifier) - Method in interface org.junit.gen5.launcher.TestExecutionListener
Called when a new, dynamic TestIdentifier has been registered.

E

EngineIdFilter - Class in org.junit.gen5.launcher
A special filter that is applied before a TestEngine is executed.
equals(Object) - Method in class org.junit.gen5.launcher.TestId
 
equals(Object) - Method in class org.junit.gen5.launcher.TestIdentifier
 
excludeTags(String...) - Static method in class org.junit.gen5.launcher.TagFilter
Create an exclude filter based on the supplied tags.
excludeTags(List<String>) - Static method in class org.junit.gen5.launcher.TagFilter
Create an exclude filter based on the supplied tags.
execute(TestDiscoveryRequest) - Method in interface org.junit.gen5.launcher.Launcher
Execute a TestPlan which is built according to the supplied TestDiscoveryRequest by querying all registered engines and collecting their results, and notify registered listeners about the progress and results of the execution.
executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.gen5.launcher.listeners.LoggingListener
 
executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.gen5.launcher.listeners.SummaryGeneratingListener
 
executionFinished(TestIdentifier, TestExecutionResult) - Method in interface org.junit.gen5.launcher.TestExecutionListener
Called when the execution of a leaf or subtree of the TestPlan has finished, regardless of the outcome.
executionSkipped(TestIdentifier, String) - Method in class org.junit.gen5.launcher.listeners.LoggingListener
 
executionSkipped(TestIdentifier, String) - Method in class org.junit.gen5.launcher.listeners.SummaryGeneratingListener
 
executionSkipped(TestIdentifier, String) - Method in interface org.junit.gen5.launcher.TestExecutionListener
Called when the execution of a leaf or subtree of the TestPlan has been skipped.
executionStarted(TestIdentifier) - Method in class org.junit.gen5.launcher.listeners.LoggingListener
 
executionStarted(TestIdentifier) - Method in class org.junit.gen5.launcher.listeners.SummaryGeneratingListener
 
executionStarted(TestIdentifier) - Method in interface org.junit.gen5.launcher.TestExecutionListener
Called when the execution of a leaf or subtree of the TestPlan is about to be started.

F

filter(String) - Method in class org.junit.gen5.launcher.EngineIdFilter
 
filter(Filter<?>...) - Method in class org.junit.gen5.launcher.main.TestDiscoveryRequestBuilder
 
forJavaUtilLogging() - Static method in class org.junit.gen5.launcher.listeners.LoggingListener
Create a LoggingListener which delegates to a Logger using a log level of FINE.
forJavaUtilLogging(Level) - Static method in class org.junit.gen5.launcher.listeners.LoggingListener
Create a LoggingListener which delegates to a Logger using the supplied log level.
from(TestDescriptor) - Static method in class org.junit.gen5.launcher.TestIdentifier
 
from(Collection<TestDescriptor>) - Static method in class org.junit.gen5.launcher.TestPlan
 

G

getChildren(TestIdentifier) - Method in class org.junit.gen5.launcher.TestPlan
Get the children of supplied TestIdentifier.
getChildren(TestId) - Method in class org.junit.gen5.launcher.TestPlan
Get the children of the supplied TestId.
getDescendants(TestIdentifier) - Method in class org.junit.gen5.launcher.TestPlan
Get all descendants of the supplied TestIdentifier (i.e., all of its children and their children, recursively).
getDisplayName() - Method in class org.junit.gen5.launcher.TestIdentifier
Get the display name for the represented test or container.
getEngineIdFilters() - Method in interface org.junit.gen5.launcher.TestDiscoveryRequest
 
getName() - Method in class org.junit.gen5.launcher.TestIdentifier
Get the name for the represented test or container.
getParent(TestIdentifier) - Method in class org.junit.gen5.launcher.TestPlan
Get the parent of supplied TestIdentifier.
getParentId() - Method in class org.junit.gen5.launcher.TestIdentifier
Get the unique ID of this identifier's parent, if available.
getPostDiscoveryFilters() - Method in interface org.junit.gen5.launcher.TestDiscoveryRequest
 
getRoots() - Method in class org.junit.gen5.launcher.TestPlan
Get the root identifiers of this test plan.
getSource() - Method in class org.junit.gen5.launcher.TestIdentifier
Get the source location of the represented test or container, if available.
getSummary() - Method in class org.junit.gen5.launcher.listeners.SummaryGeneratingListener
Get the summary generated by this listener.
getTags() - Method in class org.junit.gen5.launcher.TestIdentifier
Get the set of tags of the represented test or container.
getTestIdentifier(TestId) - Method in class org.junit.gen5.launcher.TestPlan
Get the TestIdentifier with the specified TestId.
getUniqueId() - Method in class org.junit.gen5.launcher.TestIdentifier
Get the unique ID of the represented test or container.

H

hashCode() - Method in class org.junit.gen5.launcher.TestId
 
hashCode() - Method in class org.junit.gen5.launcher.TestIdentifier
 

I

isContainer() - Method in class org.junit.gen5.launcher.TestIdentifier
Returns true if this identifier represents a container.
isTest() - Method in class org.junit.gen5.launcher.TestIdentifier
Returns true if this identifier represents a test.

L

Launcher - Interface in org.junit.gen5.launcher
The Launcher API is the main entry point for client code that wishes to discover and execute tests using one or more test engines.
LauncherFactory - Class in org.junit.gen5.launcher.main
Factory for creating Launcher instances by invoking LauncherFactory.create().
LauncherFactory() - Constructor for class org.junit.gen5.launcher.main.LauncherFactory
 
LoggingListener - Class in org.junit.gen5.launcher.listeners
Simple TestExecutionListener for logging informational messages for all events via a BiConsumer that consumes Throwable and Supplier<String>.
LoggingListener(BiConsumer<Throwable, Supplier<String>>) - Constructor for class org.junit.gen5.launcher.listeners.LoggingListener
Create a LoggingListener which delegates to the supplied BiConsumer for consumption of logging messages.

O

org.junit.gen5.launcher - package org.junit.gen5.launcher
Public API for configuring and launching test plans.
org.junit.gen5.launcher.listeners - package org.junit.gen5.launcher.listeners
Common TestExecutionListener implementations and related support classes for the JUnit Launcher.
org.junit.gen5.launcher.main - package org.junit.gen5.launcher.main
The DefaultLauncher class is the main starting point for running all JUnit tests.

P

PostDiscoveryFilter - Interface in org.junit.gen5.launcher
A PostDiscoveryFilter filters particular tests after test discovery.
printFailuresOn(PrintWriter) - Method in class org.junit.gen5.launcher.listeners.TestExecutionSummary
 
printOn(PrintWriter) - Method in class org.junit.gen5.launcher.listeners.TestExecutionSummary
 

R

registerTestExecutionListeners(TestExecutionListener...) - Method in interface org.junit.gen5.launcher.Launcher
Register one or more listeners for test execution.
reportingEntryPublished(TestIdentifier, ReportEntry) - Method in interface org.junit.gen5.launcher.TestExecutionListener
Called when additional test reporting data has been published for the supplied TestIdentifier.
request() - Static method in class org.junit.gen5.launcher.main.TestDiscoveryRequestBuilder
 
requireTags(String...) - Static method in class org.junit.gen5.launcher.TagFilter
Create an include filter based on the supplied tags.
requireTags(List<String>) - Static method in class org.junit.gen5.launcher.TagFilter
Create an include filter based on the supplied tags.

S

select(DiscoverySelector...) - Method in class org.junit.gen5.launcher.main.TestDiscoveryRequestBuilder
 
select(List<DiscoverySelector>) - Method in class org.junit.gen5.launcher.main.TestDiscoveryRequestBuilder
 
SummaryGeneratingListener - Class in org.junit.gen5.launcher.listeners
Simple TestExecutionListener that generates a summary of the test execution.
SummaryGeneratingListener() - Constructor for class org.junit.gen5.launcher.listeners.SummaryGeneratingListener
 

T

TagFilter - Class in org.junit.gen5.launcher
Factory methods for creating PostDiscoveryFilters based on include and exclude tags.
TestDiscoveryRequest - Interface in org.junit.gen5.launcher
This class extends the EngineDiscoveryRequest by providing access to filters which are applied by the Launcher itself Moreover, the add*-methods can be used by external clients that do not want to use the TestDiscoveryRequestBuilder.
TestDiscoveryRequestBuilder - Class in org.junit.gen5.launcher.main
The DiscoveryRequestBuilder provides a light-weight DSL for generating a TestDiscoveryRequest.
TestDiscoveryRequestBuilder() - Constructor for class org.junit.gen5.launcher.main.TestDiscoveryRequestBuilder
 
TestExecutionListener - Interface in org.junit.gen5.launcher
Register an instance of this class with a Launcher to be notified of events that occur during test execution.
TestExecutionSummary - Class in org.junit.gen5.launcher.listeners
 
TestExecutionSummary(TestPlan) - Constructor for class org.junit.gen5.launcher.listeners.TestExecutionSummary
 
TestId - Class in org.junit.gen5.launcher
Immutable value object representing a unique test ID.
TestId(String) - Constructor for class org.junit.gen5.launcher.TestId
 
TestIdentifier - Class in org.junit.gen5.launcher
Immutable data transfer object that represents a test or container which is usually part of a TestPlan.
TestPlan - Class in org.junit.gen5.launcher
TestPlan describes the tree of tests and containers as discovered by a Launcher.
testPlanExecutionFinished(TestPlan) - Method in class org.junit.gen5.launcher.listeners.LoggingListener
 
testPlanExecutionFinished(TestPlan) - Method in class org.junit.gen5.launcher.listeners.SummaryGeneratingListener
 
testPlanExecutionFinished(TestPlan) - Method in interface org.junit.gen5.launcher.TestExecutionListener
Called when the execution of the TestPlan has finished, after all tests have been executed.
testPlanExecutionStarted(TestPlan) - Method in class org.junit.gen5.launcher.listeners.LoggingListener
 
testPlanExecutionStarted(TestPlan) - Method in class org.junit.gen5.launcher.listeners.SummaryGeneratingListener
 
testPlanExecutionStarted(TestPlan) - Method in interface org.junit.gen5.launcher.TestExecutionListener
Called when the execution of the TestPlan has started, before any test has been executed.
toString() - Method in class org.junit.gen5.launcher.TestId
 
toString() - Method in class org.junit.gen5.launcher.TestIdentifier
 
A B C D E F G H I L O P R S T 
Skip navigation links
junit-launcher