Index
All Classes|All Packages|Constant Field Values|Deprecated API|Serialized Form
E
- EmptySource - Annotation Interface in org.junit.jupiter.params.provider
-
@EmptySource
is anArgumentsSource
which provides a single empty argument to the annotated@ParameterizedTest
method. - emptyValue() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
-
The empty value to use when reading the CSV files.
- emptyValue() - Element in annotation interface org.junit.jupiter.params.provider.CsvSource
-
The empty value to use when reading the lines.
- enabled(String) - Static method in class org.junit.jupiter.api.extension.ConditionEvaluationResult
-
Factory for creating enabled results.
- EnabledForJreRange - Annotation Interface in org.junit.jupiter.api.condition
-
@EnabledForJreRange
is used to signal that the annotated test class or test method is only enabled for a specific range of Java Runtime Environment (JRE) versions fromEnabledForJreRange.min()
toEnabledForJreRange.max()
. - EnabledIf - Annotation Interface in org.junit.jupiter.api.condition
-
@EnabledIf
is used to signal that the annotated test class or test method is enabled only if the provided condition evaluates totrue
. - EnabledIfEnvironmentVariable - Annotation Interface in org.junit.jupiter.api.condition
-
@EnabledIfEnvironmentVariable
is used to signal that the annotated test class or test method is only enabled if the value of the specified environment variable matches the specified regular expression. - EnabledIfEnvironmentVariables - Annotation Interface in org.junit.jupiter.api.condition
-
@EnabledIfEnvironmentVariables
is a container for one or more@EnabledIfEnvironmentVariable
declarations. - EnabledIfSystemProperties - Annotation Interface in org.junit.jupiter.api.condition
-
@EnabledIfSystemProperties
is a container for one or more@EnabledIfSystemProperty
declarations. - EnabledIfSystemProperty - Annotation Interface in org.junit.jupiter.api.condition
-
@EnabledIfSystemProperty
is used to signal that the annotated test class or test method is only enabled if the value of the specified system property matches the specified regular expression. - EnabledOnJre - Annotation Interface in org.junit.jupiter.api.condition
-
@EnabledOnJre
is used to signal that the annotated test class or test method is only enabled on one or more specified Java Runtime Environment (JRE) versions. - EnabledOnOs - Annotation Interface in org.junit.jupiter.api.condition
-
@EnabledOnOs
is used to signal that the annotated test class or test method is only enabled on one or more specified operating systems. - enableImplicitConfigurationParameters(boolean) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
-
Configure whether implicit configuration parameters should be considered.
- enableImplicitConfigurationParameters(boolean) - Method in class org.junit.platform.suite.commons.SuiteLauncherDiscoveryRequestBuilder
- enableImplicitConfigurationParameters(boolean) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
-
Configure whether implicit configuration parameters should be considered.
- EnableJUnit4MigrationSupport - Annotation Interface in org.junit.jupiter.migrationsupport
-
EnableJUnit4MigrationSupport
is a class-level annotation that enables all JUnit 4 migration support within JUnit Jupiter. - enableLauncherDiscoveryListenerAutoRegistration(boolean) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
-
Configure the auto-registration flag for launcher discovery listeners.
- enableLauncherSessionListenerAutoRegistration(boolean) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
-
Configure the auto-registration flag for launcher session listeners.
- enablePostDiscoveryFilterAutoRegistration(boolean) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
-
Configure the auto-registration flag for post discovery filters.
- EnableRuleMigrationSupport - Annotation Interface in org.junit.jupiter.migrationsupport.rules
-
This class-level annotation enables native JUnit 4 rule support within JUnit Jupiter.
- enableTestEngineAutoRegistration(boolean) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
-
Configure the auto-registration flag for test engines.
- enableTestExecutionListenerAutoRegistration(boolean) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
-
Configure the auto-registration flag for test execution listeners.
- encoding() - Element in annotation interface org.junit.jupiter.params.provider.CsvFileSource
-
The encoding to use when reading the CSV files; must be a valid charset.
- end() - Method in enum class org.junit.platform.console.options.Theme
- engine() - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Condition
that matches if and only if anEvent
's test descriptor is an instance ofEngineDescriptor
. - engine(String) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
-
Create an execution
EngineTestKit.Builder
for theTestEngine
with the supplied ID. - engine(TestEngine) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
-
Create an execution
EngineTestKit.Builder
for the suppliedTestEngine
. - ENGINE_ID - Static variable in class org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor
- ENGINE_ID - Static variable in class org.junit.vintage.engine.descriptor.VintageTestDescriptor
- EngineDescriptor - Class in org.junit.platform.engine.support.descriptor
- EngineDescriptor(UniqueId, String) - Constructor for class org.junit.platform.engine.support.descriptor.EngineDescriptor
-
Create a new
EngineDescriptor
with the suppliedUniqueId
and display name. - engineDiscoveryFinished(UniqueId, EngineDiscoveryResult) - Method in class org.junit.platform.jfr.FlightRecordingDiscoveryListener
- engineDiscoveryFinished(UniqueId, EngineDiscoveryResult) - Method in interface org.junit.platform.launcher.LauncherDiscoveryListener
-
Called when test discovery has finished for an engine.
- EngineDiscoveryListener - Interface in org.junit.platform.engine
-
EngineDiscoveryListener
containsTestEngine
access to the information necessary to discover tests and containers. - EngineDiscoveryOrchestrator - Class in org.junit.platform.launcher.core
-
Orchestrates test discovery using the configured test engines.
- EngineDiscoveryOrchestrator(Iterable<TestEngine>, Collection<PostDiscoveryFilter>) - Constructor for class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator
- EngineDiscoveryOrchestrator.Phase - Enum Class in org.junit.platform.launcher.core
- EngineDiscoveryRequest - Interface in org.junit.platform.engine
-
EngineDiscoveryRequest
provides aTestEngine
access to the information necessary to discover tests and containers. - EngineDiscoveryRequestResolver<T extends TestDescriptor> - Class in org.junit.platform.engine.support.discovery
-
Configurable test discovery implementation based on
SelectorResolver
andTestDescriptor.Visitor
that can be reused by differentTestEngines
. - EngineDiscoveryRequestResolver.Builder<T extends TestDescriptor> - Class in org.junit.platform.engine.support.discovery
-
Builder for
EngineDiscoveryRequestResolver
. - EngineDiscoveryRequestResolver.InitializationContext<T extends TestDescriptor> - Interface in org.junit.platform.engine.support.discovery
-
The initialization context for creating resolvers and visitors that depend on the
EngineDiscoveryRequest
to be resolved or the engine descriptor that will be used to collect the results. - EngineDiscoveryResult - Class in org.junit.platform.launcher
-
EngineDiscoveryResult
encapsulates the result of test discovery by aTestEngine
. - EngineDiscoveryResult.Status - Enum Class in org.junit.platform.launcher
-
Status of test discovery by a
TestEngine
. - engineDiscoveryStarted(UniqueId) - Method in class org.junit.platform.jfr.FlightRecordingDiscoveryListener
- engineDiscoveryStarted(UniqueId) - Method in interface org.junit.platform.launcher.LauncherDiscoveryListener
-
Called when test discovery is about to be started for an engine.
- EngineExecutionContext - Interface in org.junit.platform.engine.support.hierarchical
-
Marker interface for an execution context used by a concrete implementation of
HierarchicalTestEngine
and its collaborators. - EngineExecutionListener - Interface in org.junit.platform.engine
-
Listener to be notified of test execution events by test engines.
- EngineExecutionOrchestrator - Class in org.junit.platform.launcher.core
-
Orchestrates test execution using the configured test engines.
- EngineExecutionOrchestrator() - Constructor for class org.junit.platform.launcher.core.EngineExecutionOrchestrator
- EngineExecutionResults - Class in org.junit.platform.testkit.engine
-
EngineExecutionResults
provides a fluent API for processing the results of executing a test plan on the JUnit Platform for a givenTestEngine
. - EngineFilter - Class in org.junit.platform.launcher
-
An
EngineFilter
is applied to allTestEngines
before they are used. - EngineTestKit - Class in org.junit.platform.testkit.engine
-
EngineTestKit
provides support for executing a test plan for a givenTestEngine
and then accessing the results via a fluent API to verify the expected results. - EngineTestKit.Builder - Class in org.junit.platform.testkit.engine
-
TestEngine
execution builder. - entry() - Method in enum class org.junit.platform.console.options.Theme
- EnumConfigurationParameterConverter<E extends Enum<E>> - Class in org.junit.jupiter.engine.config
- EnumConfigurationParameterConverter(Class<E>, String) - Constructor for class org.junit.jupiter.engine.config.EnumConfigurationParameterConverter
- EnumSource - Annotation Interface in org.junit.jupiter.params.provider
- EnumSource.Mode - Enum Class in org.junit.jupiter.params.provider
-
Enumeration of modes for selecting enum constants by name.
- equals(Object) - Method in class org.junit.jupiter.api.extension.ExtensionContext.Namespace
- equals(Object) - Method in class org.junit.platform.engine.discovery.ClasspathResourceSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.ClasspathRootSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.ClassSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.DirectorySelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.FilePosition
- equals(Object) - Method in class org.junit.platform.engine.discovery.FileSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.MethodSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.ModuleSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.NestedClassSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.NestedMethodSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.PackageSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.UniqueIdSelector
- equals(Object) - Method in class org.junit.platform.engine.discovery.UriSelector
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.ClasspathResourceSource
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.ClassSource
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.CompositeTestSource
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.DirectorySource
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.FilePosition
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.FileSource
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.MethodSource
- equals(Object) - Method in class org.junit.platform.engine.support.descriptor.PackageSource
- equals(Object) - Method in class org.junit.platform.engine.support.hierarchical.ExclusiveResource
- equals(Object) - Method in class org.junit.platform.engine.TestTag
- equals(Object) - Method in class org.junit.platform.engine.UniqueId
- equals(Object) - Method in class org.junit.platform.engine.UniqueId.Segment
- equals(Object) - Method in class org.junit.platform.launcher.TestIdentifier
- error(Throwable, Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the provided
Throwable
and message from the providedmessageSupplier
at error level. - error(Supplier<String>) - Method in interface org.junit.platform.commons.logging.Logger
-
Log the message from the provided
messageSupplier
at error level. - errorMessage() - Method in interface org.junit.platform.launcher.tagexpression.ParseResult
-
Return the contained parse error message, if any.
- evaluate(Collection<TestTag>) - Method in interface org.junit.platform.launcher.tagexpression.TagExpression
-
Evaluate this tag expression against the supplied collection of tags.
- evaluate(ExtensionRegistry, JupiterConfiguration, ExtensionContext) - Method in class org.junit.jupiter.engine.execution.ConditionEvaluator
-
Evaluate all
ExecutionCondition
extensions registered for the suppliedExtensionContext
. - evaluateExecutionCondition(ExtensionContext) - Method in interface org.junit.jupiter.api.extension.ExecutionCondition
-
Evaluate this condition for the supplied
ExtensionContext
. - evaluateExecutionCondition(ExtensionContext) - Method in class org.junit.jupiter.migrationsupport.conditions.IgnoreCondition
-
Containers/tests are disabled if
@Ignore
is present on the test class or method. - event(Condition<? super Event>...) - Static method in class org.junit.platform.testkit.engine.EventConditions
- Event - Class in org.junit.platform.testkit.engine
-
Event
represents a single event fired during execution of a test plan on the JUnit Platform. - EventConditions - Class in org.junit.platform.testkit.engine
-
Collection of AssertJ conditions for
Event
. - Events - Class in org.junit.platform.testkit.engine
-
Events
is a facade that provides a fluent API for working with events. - EventStatistics - Class in org.junit.platform.testkit.engine
-
EventStatistics
provides a fluent API for asserting statistics for events. - EventType - Enum Class in org.junit.platform.testkit.engine
-
Enumeration of the different possible
Event
types. - exact(TestDescriptor) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
-
Factory for creating an exact match without any children.
- exact(TestDescriptor, Supplier<Set<? extends DiscoverySelector>>) - Static method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
-
Factory for creating an exact match with potential children.
- ExceptionUtils - Class in org.junit.platform.commons.util
-
Collection of utilities for working with exceptions.
- EXCLUDE - Enum constant in enum class org.junit.jupiter.params.provider.EnumSource.Mode
-
Select all declared enum constants except those supplied via the
EnumSource.names()
attribute. - excludeClassNamePatterns(String...) - Static method in interface org.junit.platform.engine.discovery.ClassNameFilter
-
Create a new exclude
ClassNameFilter
based on the supplied patterns. - ExcludeClassNamePatterns - Annotation Interface in org.junit.platform.suite.api
-
@ExcludeClassNamePatterns
specifies regular expressions that are used to match against fully qualified class names when running a test suite on the JUnit Platform. - excluded() - Method in class org.junit.platform.engine.FilterResult
- excluded(String) - Static method in class org.junit.platform.engine.FilterResult
-
Factory for creating excluded results.
- excludeEngines(String...) - Static method in class org.junit.platform.launcher.EngineFilter
-
Create a new exclude
EngineFilter
based on the supplied engine IDs. - excludeEngines(List<String>) - Static method in class org.junit.platform.launcher.EngineFilter
-
Create a new exclude
EngineFilter
based on the supplied engine IDs. - ExcludeEngines - Annotation Interface in org.junit.platform.suite.api
-
@ExcludeEngines
specifies the IDs ofTestEngines
to be excluded when running a test suite on the JUnit Platform. - excludeMatchingClasses(String) - Static method in class org.junit.platform.commons.util.ClassNamePatternFilterUtils
-
Create a
Predicate
that can be used to exclude (i.e., filter out) objects of typeT
whose fully qualified class names match any of the supplied patterns. - excludePackageNames(String...) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
-
Create a new exclude
PackageNameFilter
based on the supplied package names. - excludePackageNames(List<String>) - Static method in interface org.junit.platform.engine.discovery.PackageNameFilter
-
Create a new exclude
PackageNameFilter
based on the supplied package names. - ExcludePackages - Annotation Interface in org.junit.platform.suite.api
-
@ExcludePackages
specifies the packages to be excluded when running a test suite on the JUnit Platform. - excludeTags(String...) - Static method in class org.junit.platform.launcher.TagFilter
-
Create an exclude filter based on the supplied tag expressions.
- excludeTags(List<String>) - Static method in class org.junit.platform.launcher.TagFilter
-
Create an exclude filter based on the supplied tag expressions.
- ExcludeTags - Annotation Interface in org.junit.platform.suite.api
-
@ExcludeTags
specifies the tags or tag expressions to be excluded when running a test suite on the JUnit Platform. - ExclusiveResource - Class in org.junit.platform.engine.support.hierarchical
-
An exclusive resource identified by a key with a lock mode that is used to synchronize access to shared resources when executing nodes in parallel.
- ExclusiveResource(String, ExclusiveResource.LockMode) - Constructor for class org.junit.platform.engine.support.hierarchical.ExclusiveResource
-
Create a new
ExclusiveResource
. - ExclusiveResource.LockMode - Enum Class in org.junit.platform.engine.support.hierarchical
-
LockMode
translates to the respectiveReadWriteLock
locks. - Executable - Interface in org.junit.jupiter.api.function
-
Executable
is a functional interface that can be used to implement any generic block of code that potentially throws aThrowable
. - ExecutableInvoker - Class in org.junit.jupiter.engine.execution
-
ExecutableInvoker
encapsulates the invocation of aExecutable
(i.e., method or constructor), including support for dynamic resolution of method parameters viaParameterResolvers
. - ExecutableInvoker() - Constructor for class org.junit.jupiter.engine.execution.ExecutableInvoker
- ExecutableInvoker.ReflectiveInterceptorCall<E extends Executable,T> - Interface in org.junit.jupiter.engine.execution
- ExecutableInvoker.ReflectiveInterceptorCall.VoidMethodInterceptorCall - Interface in org.junit.jupiter.engine.execution
- execute() - Method in interface org.junit.jupiter.api.function.Executable
- execute() - Method in interface org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutorService.TestTask
-
Execute this task.
- execute() - Method in interface org.junit.platform.engine.support.hierarchical.SingleTestExecutor.Executable
-
Deprecated.Execute the test.
- execute() - Method in interface org.junit.platform.engine.support.hierarchical.ThrowableCollector.Executable
-
Execute this executable, potentially throwing a
Throwable
that signals abortion or failure. - execute() - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
-
Execute tests for the configured
TestEngine
, discovery selectors, discovery filters, and configuration parameters. - execute(C, Node.DynamicTestExecutor) - Method in interface org.junit.platform.engine.support.hierarchical.Node
-
Execute the behavior of this node.
- execute(PrintStream, PrintStream, String...) - Static method in class org.junit.platform.console.ConsoleLauncher
- execute(PrintWriter) - Method in class org.junit.platform.console.tasks.ConsoleTestExecutor
- execute(PrintWriter, PrintWriter, String...) - Static method in class org.junit.platform.console.ConsoleLauncher
- execute(String, EngineDiscoveryRequest) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
-
Deprecated.
- execute(String, LauncherDiscoveryRequest) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
-
Execute tests for the given
LauncherDiscoveryRequest
using theTestEngine
with the supplied ID. - execute(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
- execute(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
- execute(ExecutionRequest) - Method in class org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine
-
Create an executor service; create an initial execution context; execute the behavior of all nodes in the hierarchy starting with the supplied
request
's root and notify its execution listener of test execution events. - execute(ExecutionRequest) - Method in interface org.junit.platform.engine.TestEngine
-
Execute tests according to the supplied
ExecutionRequest
. - execute(ExecutionRequest) - Method in class org.junit.platform.suite.engine.SuiteTestEngine
- execute(ExecutionRequest) - Method in class org.junit.vintage.engine.VintageTestEngine
- execute(ThrowableCollector.Executable) - Method in class org.junit.platform.engine.support.hierarchical.ThrowableCollector
-
Execute the supplied
ThrowableCollector.Executable
and collect anyThrowable
thrown during the execution. - execute(TestDescriptor) - Method in interface org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor
-
Submit a dynamic test descriptor for immediate execution.
- execute(TestDescriptor, EngineExecutionListener) - Method in interface org.junit.platform.engine.support.hierarchical.Node.DynamicTestExecutor
-
Submit a dynamic test descriptor for immediate execution with a custom, potentially no-op, execution listener.
- execute(TestEngine, EngineDiscoveryRequest) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
-
Deprecated.Please use
EngineTestKit.execute(TestEngine, LauncherDiscoveryRequest)
instead. - execute(TestEngine, LauncherDiscoveryRequest) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
-
Execute tests for the given
LauncherDiscoveryRequest
using the suppliedTestEngine
. - execute(LauncherDiscoveryResult, EngineExecutionListener) - Method in class org.junit.platform.launcher.core.EngineExecutionOrchestrator
-
Executes tests for the supplied discovery results and notifies the supplied listener of execution events.
- execute(LauncherDiscoveryRequest, TestExecutionListener...) - Method in interface org.junit.platform.launcher.Launcher
-
Execute a
TestPlan
which is built according to the suppliedLauncherDiscoveryRequest
by querying all registered engines and collecting their results, and notify registered listeners about the progress and results of the execution. - execute(TestPlan, TestExecutionListener...) - Method in interface org.junit.platform.launcher.Launcher
-
Execute the supplied
TestPlan
and notify registered listeners about the progress and results of the execution. - execute(RunnerTestDescriptor) - Method in class org.junit.vintage.engine.execution.RunnerExecutor
- executed() - Method in class org.junit.platform.testkit.engine.TerminationInfo
-
Determine if this
TerminationInfo
represents a completed execution. - executed(TestExecutionResult) - Static method in class org.junit.platform.testkit.engine.TerminationInfo
-
Create an executed
TerminationInfo
instance for the suppliedTestExecutionResult
. - executeMethod(String) - Method in class org.junit.jupiter.migrationsupport.rules.adapter.AbstractTestRuleAdapter
- executeMethod(String, Class<?>[], Object...) - Method in class org.junit.jupiter.migrationsupport.rules.adapter.AbstractTestRuleAdapter
- executeSafely(SingleTestExecutor.Executable) - Method in class org.junit.platform.engine.support.hierarchical.SingleTestExecutor
-
Deprecated.Execute the supplied
SingleTestExecutor.Executable
and return aTestExecutionResult
based on the outcome. - Execution - Class in org.junit.platform.testkit.engine
-
Execution
encapsulates metadata for the execution of a singleTestDescriptor
. - Execution - Annotation Interface in org.junit.jupiter.api.parallel
-
@Execution
is used to configure the parallel execution mode of a test class or test method. - EXECUTION - Enum constant in enum class org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.Phase
- ExecutionCondition - Interface in org.junit.jupiter.api.extension
-
ExecutionCondition
defines theExtension
API for programmatic, conditional test execution. - executionFinished(TestDescriptor, TestExecutionResult) - Method in interface org.junit.platform.engine.EngineExecutionListener
-
Must be called when the execution of a leaf or subtree of the test tree has finished, regardless of the outcome.
- executionFinished(TestDescriptor, TestExecutionResult) - Static method in class org.junit.platform.testkit.engine.Event
- executionFinished(TestDescriptor, TestExecutionResult) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
-
Record an
Event
for a container or test that completed with the providedTestExecutionResult
. - executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.jfr.FlightRecordingExecutionListener
- executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.launcher.listeners.LoggingListener
- executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
- executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
- executionFinished(TestIdentifier, TestExecutionResult) - Method in interface org.junit.platform.launcher.TestExecutionListener
-
Called when the execution of a leaf or subtree of the
TestPlan
has finished, regardless of the outcome. - executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.reporting.legacy.xml.LegacyXmlReportGeneratingListener
- ExecutionMode - Enum Class in org.junit.jupiter.api.parallel
-
Supported execution modes for parallel test execution.
- ExecutionRecorder - Class in org.junit.platform.testkit.engine
-
ExecutionRecorder
is anEngineExecutionListener
that records data from every event that occurs during the engine execution lifecycle and provides functionality for retrieving execution state viaEngineExecutionResults
. - ExecutionRecorder() - Constructor for class org.junit.platform.testkit.engine.ExecutionRecorder
- ExecutionRequest - Class in org.junit.platform.engine
-
Provides a single
TestEngine
access to the information necessary to execute its tests. - ExecutionRequest(TestDescriptor, EngineExecutionListener, ConfigurationParameters) - Constructor for class org.junit.platform.engine.ExecutionRequest
- executions() - Method in class org.junit.platform.testkit.engine.Events
-
Get the
Executions
for the current set of events. - Executions - Class in org.junit.platform.testkit.engine
-
Executions
is a facade that provides a fluent API for working with executions. - executionSkipped(TestDescriptor, String) - Method in interface org.junit.platform.engine.EngineExecutionListener
-
Must be called when the execution of a leaf or subtree of the test tree has been skipped.
- executionSkipped(TestDescriptor, String) - Static method in class org.junit.platform.testkit.engine.Event
- executionSkipped(TestDescriptor, String) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
-
Record an
Event
for a container or test that was skipped. - executionSkipped(TestIdentifier, String) - Method in class org.junit.platform.jfr.FlightRecordingExecutionListener
- executionSkipped(TestIdentifier, String) - Method in class org.junit.platform.launcher.listeners.LoggingListener
- executionSkipped(TestIdentifier, String) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
- executionSkipped(TestIdentifier, String) - Method in class org.junit.platform.launcher.listeners.UniqueIdTrackingListener
- executionSkipped(TestIdentifier, String) - Method in interface org.junit.platform.launcher.TestExecutionListener
-
Called when the execution of a leaf or subtree of the
TestPlan
has been skipped. - executionSkipped(TestIdentifier, String) - Method in class org.junit.platform.reporting.legacy.xml.LegacyXmlReportGeneratingListener
- executionStarted(TestDescriptor) - Method in interface org.junit.platform.engine.EngineExecutionListener
-
Must be called when the execution of a leaf or subtree of the test tree is about to be started.
- executionStarted(TestDescriptor) - Static method in class org.junit.platform.testkit.engine.Event
-
Create a started
Event
for the suppliedTestDescriptor
. - executionStarted(TestDescriptor) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
-
Record an
Event
for a container or test that started. - executionStarted(TestIdentifier) - Method in class org.junit.platform.jfr.FlightRecordingExecutionListener
- executionStarted(TestIdentifier) - Method in class org.junit.platform.launcher.listeners.LoggingListener
- executionStarted(TestIdentifier) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
- executionStarted(TestIdentifier) - Method in interface org.junit.platform.launcher.TestExecutionListener
-
Called when the execution of a leaf or subtree of the
TestPlan
is about to be started. - executionStarted(TestIdentifier) - Method in class org.junit.platform.reporting.legacy.xml.LegacyXmlReportGeneratingListener
- expand() - Method in class org.junit.platform.engine.support.discovery.SelectorResolver.Match
-
Expand this match in order to resolve the children of the contained
TestDescriptor
. - ExpectedExceptionAdapter - Class in org.junit.jupiter.migrationsupport.rules.adapter
- ExpectedExceptionAdapter(TestRuleAnnotatedMember) - Constructor for class org.junit.jupiter.migrationsupport.rules.adapter.ExpectedExceptionAdapter
- ExpectedExceptionSupport - Class in org.junit.jupiter.migrationsupport.rules
-
This
Extension
provides native support for theExpectedException
rule from JUnit 4. - ExpectedExceptionSupport() - Constructor for class org.junit.jupiter.migrationsupport.rules.ExpectedExceptionSupport
- extend() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
- ExtendWith - Annotation Interface in org.junit.jupiter.api.extension
-
@ExtendWith
is a repeatable annotation that is used to register extensions for the annotated test class, test interface, test method, parameter, or field. - Extension - Interface in org.junit.jupiter.api.extension
-
Marker interface for all extensions.
- ExtensionConfigurationException - Exception in org.junit.jupiter.api.extension
-
Thrown if an error is encountered regarding the configuration of an extension.
- ExtensionConfigurationException(String) - Constructor for exception org.junit.jupiter.api.extension.ExtensionConfigurationException
- ExtensionConfigurationException(String, Throwable) - Constructor for exception org.junit.jupiter.api.extension.ExtensionConfigurationException
- ExtensionContext - Interface in org.junit.jupiter.api.extension
-
ExtensionContext
encapsulates the context in which the current test or container is being executed. - ExtensionContext.Namespace - Class in org.junit.jupiter.api.extension
-
A
Namespace
is used to provide a scope for data saved by extensions within aExtensionContext.Store
. - ExtensionContext.Store - Interface in org.junit.jupiter.api.extension
-
Store
provides methods for extensions to save and retrieve data. - ExtensionContext.Store.CloseableResource - Interface in org.junit.jupiter.api.extension
-
Classes implementing this interface indicate that they want to
ExtensionContext.Store.CloseableResource.close()
some underlying resource or resources when the enclosingStore
is closed. - ExtensionContextException - Exception in org.junit.jupiter.api.extension
-
Thrown if an error is encountered regarding the use of an
ExtensionContext
orExtensionContext.Store
. - ExtensionContextException(String) - Constructor for exception org.junit.jupiter.api.extension.ExtensionContextException
- ExtensionRegistrar - Interface in org.junit.jupiter.engine.extension
-
An
ExtensionRegistrar
is used to register extensions. - ExtensionRegistry - Interface in org.junit.jupiter.engine.extension
-
An
ExtensionRegistry
holds all registered extensions (i.e. - Extensions - Annotation Interface in org.junit.jupiter.api.extension
-
@Extensions
is a container for one or more@ExtendWith
declarations. - EXTENSIONS_AUTODETECTION_ENABLED_PROPERTY_NAME - Static variable in interface org.junit.jupiter.engine.config.JupiterConfiguration
- EXTENSIONS_AUTODETECTION_ENABLED_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
-
Property name used to enable auto-detection and registration of extensions via Java's
ServiceLoader
mechanism: "junit.jupiter.extensions.autodetection.enabled" - ExtensionValuesStore - Class in org.junit.jupiter.engine.execution
-
ExtensionValuesStore
is used inside implementations ofExtensionContext
to store and retrieve values. - ExtensionValuesStore(ExtensionValuesStore) - Constructor for class org.junit.jupiter.engine.execution.ExtensionValuesStore
- ExternalResourceAdapter - Class in org.junit.jupiter.migrationsupport.rules.adapter
- ExternalResourceAdapter(TestRuleAnnotatedMember) - Constructor for class org.junit.jupiter.migrationsupport.rules.adapter.ExternalResourceAdapter
- ExternalResourceSupport - Class in org.junit.jupiter.migrationsupport.rules
-
This
Extension
provides native support for subclasses of theExternalResource
rule from JUnit 4. - ExternalResourceSupport() - Constructor for class org.junit.jupiter.migrationsupport.rules.ExternalResourceSupport
All Classes|All Packages|Constant Field Values|Deprecated API|Serialized Form
EngineTestKit.execute(String, LauncherDiscoveryRequest)
instead.