Package org.junit.platform.engine
Public API for test engines.
-
Interface Summary Interface Description ConfigurationParameters Configuration parameters thatTestEnginesmay use to influence test discovery and execution.DiscoveryFilter<T> ADiscoveryFilteris applied during test discovery to determine if a given container or test should be included in the test plan.DiscoveryIssue DiscoveryIssuerepresents an issue that was encountered during test discovery by aTestEngine.DiscoveryIssue.Builder Builder for creating aDiscoveryIssue.DiscoverySelector A selector defines what aTestEnginecan use to discover tests — for example, the name of a Java class, the path to a file or directory, etc.EngineDiscoveryListener EngineDiscoveryListenerdefines the API which enables aTestEngineto publish information about events that occur during test discovery.EngineDiscoveryRequest EngineDiscoveryRequestprovides aTestEngineaccess to the information necessary to discover tests and containers.EngineExecutionListener Listener to be notified of test execution events by test engines.Filter<T> AFiltercan be applied to determine if an object should be included or excluded in a result set.OutputDirectoryCreator Provider of output directories for test engines to write reports and other output files to.TestDescriptor Mutable descriptor for a test or container that has been discovered by aTestEngine.TestDescriptor.Visitor Visitor for the tree-likeTestDescriptorstructure.TestEngine ATestEnginefacilitates discovery and execution of tests for a particular programming model.TestSource Representation of the source of a test or container used to navigate to its location by IDEs and build tools. -
Class Summary Class Description CompositeFilter<T> Combines a collection ofFiltersinto a new filter that will include elements if and only if all of the filters in the specified collection include it.CompositeTestDescriptorVisitor DefaultDiscoveryIssue DefaultDiscoveryIssue.Builder DiscoverySelectorIdentifier Identifier for aDiscoverySelectorwith a specific prefix.ExecutionRequest Provides a singleTestEngineaccess to the information necessary to execute its tests.FilterResult The result of applying aFilter.SelectorResolutionResult TestExecutionResult TestExecutionResultencapsulates the result of executing a single test or container.TestTag Immutable value object for a tag that is assigned to a test or container.UniqueId UniqueIdencapsulates the creation, parsing, and display of unique IDs forTestDescriptors.UniqueId.Segment A segment of aUniqueIdcomprises a type and a value.UniqueIdFormat Used toUniqueIdFormat.parse(java.lang.String)aUniqueIdfrom a string representation or toUniqueIdFormat.format(org.junit.platform.engine.UniqueId)aUniqueIdinto a string representation. -
Enum Summary Enum Description DiscoveryIssue.Severity The severity of aDiscoveryIssue.SelectorResolutionResult.Status Status of resolving aDiscoverySelector.TestDescriptor.Type Supported types forTestDescriptors.TestExecutionResult.Status Status of executing a single test or container.