Interface ConfigurationStrategy

All Known Implementing Classes:
HierarchicalConfigurationStrategy

public interface ConfigurationStrategy
Strategy for configuring individual tests.
Since:
4.2
  • Method Details

    • getConfig

      ConfigurationStrategy.Configuration getConfig(Class<?> testClass, Method method)
      Determine the configuration for the given test class and method.

      Since a method may be run on multiple test subclasses, testClass indicates which test case is currently being evaluated.

      Parameters:
      testClass - the test class being evaluated; this might be a subclass of the method's declaring class.
      method - the test method to be evaluated
      Returns:
      the set of configs