Interface TrialExecutorFactory

All Known Implementing Classes:
Junit4TrialExecutorFactory, Junit5TrialExecutorFactory

public interface TrialExecutorFactory
Builds a TrialExecutor for a specific test method.

Each test framework adapter provides its own factory so the engine can run trials without depending on framework types.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    create(Class<?> testClass, Method method)
    Creates an executor bound to the given test method.
  • Method Details

    • create

      TrialExecutor create(Class<?> testClass, Method method)
      Creates an executor bound to the given test method.
      Parameters:
      testClass - the class declaring the test method
      method - the test method to run on each trial
      Returns:
      an executor for the method