Class ExecutionRequest

    • Constructor Detail

    • Method Detail

      • getEngineExecutionListener

        public EngineExecutionListener getEngineExecutionListener()
        {@return the {@link EngineExecutionListener} to be notified of test execution events}
      • getConfigurationParameters

        public ConfigurationParameters getConfigurationParameters()
        {@return the {@link ConfigurationParameters} that the engine may use to influence test execution}
      • getOutputDirectoryProvider

        @Deprecated
        @API(status=DEPRECATED,
             since="1.14")
        public OutputDirectoryProvider getOutputDirectoryProvider()
        Deprecated.
        Please use getOutputDirectoryCreator() instead
        {@return the {@link org.junit.platform.engine.reporting.OutputDirectoryProvider} for this request for writing reports and other output files}
        Throws:
        org.junit.platform.commons.PreconditionViolationException - if the output directory provider is not available
        Since:
        1.12
      • getOutputDirectoryCreator

        @API(status=MAINTAINED,
             since="1.14")
        public OutputDirectoryCreator getOutputDirectoryCreator()
        {@return the {@link OutputDirectoryCreator} for this request for writing reports and other output files}
        Throws:
        org.junit.platform.commons.PreconditionViolationException - if the output directory creator is not available
        Since:
        1.14
      • getStore

        @API(status=MAINTAINED,
             since="1.13.3")
        public NamespacedHierarchicalStore<Namespace> getStore()
        {@return the {@link NamespacedHierarchicalStore} for this request for storing request-scoped data}

        All stored values that implement AutoCloseable are notified by invoking their close() methods when this request has been executed.

        Since:
        1.13
        See Also:
        NamespacedHierarchicalStore