Uses of Class
org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
Package
Description
Core package for the JUnit Jupiter test engine.
Test descriptors used within the JUnit Jupiter test engine.
Internal classes for test execution within the JUnit Jupiter test engine.
-
Uses of JupiterEngineExecutionContext in org.junit.jupiter.engine
Modifier and TypeMethodDescriptionprotected JupiterEngineExecutionContext
JupiterTestEngine.createExecutionContext
(ExecutionRequest request) -
Uses of JupiterEngineExecutionContext in org.junit.jupiter.engine.descriptor
Modifier and TypeMethodDescriptionClassBasedTestDescriptor.before
(JupiterEngineExecutionContext context) TestMethodTestDescriptor.execute
(JupiterEngineExecutionContext context, Node.DynamicTestExecutor dynamicTestExecutor) TestTemplateTestDescriptor.execute
(JupiterEngineExecutionContext context, Node.DynamicTestExecutor dynamicTestExecutor) ClassBasedTestDescriptor.prepare
(JupiterEngineExecutionContext context) JupiterEngineDescriptor.prepare
(JupiterEngineExecutionContext context) abstract JupiterEngineExecutionContext
JupiterTestDescriptor.prepare
(JupiterEngineExecutionContext context) Must be overridden and return a new context so cleanUp() does not accidentally close the parent context.TestMethodTestDescriptor.prepare
(JupiterEngineExecutionContext context) TestTemplateTestDescriptor.prepare
(JupiterEngineExecutionContext context) Modifier and TypeMethodDescriptionvoid
ClassBasedTestDescriptor.after
(JupiterEngineExecutionContext context) void
TestTemplateInvocationTestDescriptor.after
(JupiterEngineExecutionContext context) ClassBasedTestDescriptor.before
(JupiterEngineExecutionContext context) void
JupiterEngineDescriptor.cleanUp
(JupiterEngineExecutionContext context) void
JupiterTestDescriptor.cleanUp
(JupiterEngineExecutionContext context) void
TestMethodTestDescriptor.cleanUp
(JupiterEngineExecutionContext context) TestMethodTestDescriptor.execute
(JupiterEngineExecutionContext context, Node.DynamicTestExecutor dynamicTestExecutor) TestTemplateTestDescriptor.execute
(JupiterEngineExecutionContext context, Node.DynamicTestExecutor dynamicTestExecutor) protected abstract TestInstances
ClassBasedTestDescriptor.instantiateTestClass
(JupiterEngineExecutionContext parentExecutionContext, ExtensionRegistry registry, ExtensionRegistrar registrar, ExtensionContext extensionContext, ThrowableCollector throwableCollector) protected TestInstances
ClassTestDescriptor.instantiateTestClass
(JupiterEngineExecutionContext parentExecutionContext, ExtensionRegistry registry, ExtensionRegistrar registrar, ExtensionContext extensionContext, ThrowableCollector throwableCollector) protected TestInstances
NestedClassTestDescriptor.instantiateTestClass
(JupiterEngineExecutionContext parentExecutionContext, ExtensionRegistry registry, ExtensionRegistrar registrar, ExtensionContext extensionContext, ThrowableCollector throwableCollector) protected void
TestFactoryTestDescriptor.invokeTestMethod
(JupiterEngineExecutionContext context, Node.DynamicTestExecutor dynamicTestExecutor) protected void
TestMethodTestDescriptor.invokeTestMethod
(JupiterEngineExecutionContext context, Node.DynamicTestExecutor dynamicTestExecutor) protected void
MethodBasedTestDescriptor.invokeTestWatchers
(JupiterEngineExecutionContext context, boolean reverseOrder, Consumer<TestWatcher> callback) void
TestFactoryTestDescriptor.nodeFinished
(JupiterEngineExecutionContext context, TestDescriptor descriptor, TestExecutionResult result) OverrideTestMethodTestDescriptor.nodeFinished(org.junit.jupiter.engine.execution.JupiterEngineExecutionContext, org.junit.platform.engine.TestDescriptor, org.junit.platform.engine.TestExecutionResult)
as a no-op, since theTestWatcher
API is not supported for@TestFactory
containers.void
TestMethodTestDescriptor.nodeFinished
(JupiterEngineExecutionContext context, TestDescriptor descriptor, TestExecutionResult result) InvoketestSuccessful()
,testAborted()
, ortestFailed()
on each registeredTestWatcher
according to the status of the suppliedTestExecutionResult
, in reverse registration order.void
MethodBasedTestDescriptor.nodeSkipped
(JupiterEngineExecutionContext context, TestDescriptor descriptor, Node.SkipResult result) InvokeTestWatcher.testDisabled(ExtensionContext, Optional)
on each registeredTestWatcher
, in registration order.void
TestFactoryTestDescriptor.nodeSkipped
(JupiterEngineExecutionContext context, TestDescriptor descriptor, Node.SkipResult result) OverrideMethodBasedTestDescriptor.nodeSkipped(org.junit.jupiter.engine.execution.JupiterEngineExecutionContext, org.junit.platform.engine.TestDescriptor, org.junit.platform.engine.support.hierarchical.Node.SkipResult)
as a no-op, since theTestWatcher
API is not supported for@TestFactory
containers.protected MutableExtensionRegistry
TestMethodTestDescriptor.populateNewExtensionRegistry
(JupiterEngineExecutionContext context) protected MutableExtensionRegistry
TestTemplateInvocationTestDescriptor.populateNewExtensionRegistry
(JupiterEngineExecutionContext context) ClassBasedTestDescriptor.prepare
(JupiterEngineExecutionContext context) JupiterEngineDescriptor.prepare
(JupiterEngineExecutionContext context) abstract JupiterEngineExecutionContext
JupiterTestDescriptor.prepare
(JupiterEngineExecutionContext context) Must be overridden and return a new context so cleanUp() does not accidentally close the parent context.TestMethodTestDescriptor.prepare
(JupiterEngineExecutionContext context) TestTemplateTestDescriptor.prepare
(JupiterEngineExecutionContext context) JupiterTestDescriptor.shouldBeSkipped
(JupiterEngineExecutionContext context) -
Uses of JupiterEngineExecutionContext in org.junit.jupiter.engine.execution