Interface Node.DynamicTestExecutor

  • Enclosing interface:
    Node<C extends EngineExecutionContext>

    public static interface Node.DynamicTestExecutor
    Executor for additional, dynamic test descriptors discovered during execution of a Node.

    The test descriptors will be executed by the same HierarchicalTestExecutor that executes the submitting node.

    This interface is not intended to be implemented by clients.

    See Also:
    Node.execute(EngineExecutionContext, DynamicTestExecutor), HierarchicalTestExecutor
    • Method Detail

      • execute

        void execute​(TestDescriptor testDescriptor)
        Submit a dynamic test descriptor for immediate execution.
        Parameters:
        testDescriptor - the test descriptor to be executed; never null
      • execute

        @API(status=EXPERIMENTAL,
             since="5.7")
        Future<?> execute​(TestDescriptor testDescriptor,
                          EngineExecutionListener executionListener)
        Submit a dynamic test descriptor for immediate execution with a custom, potentially no-op, execution listener.
        Parameters:
        testDescriptor - the test descriptor to be executed; never null
        executionListener - the executionListener to be notified; never null
        Returns:
        a future to cancel or wait for the execution
        Since:
        5.7
        See Also:
        EngineExecutionListener.NOOP