public interface ConfigurationStrategy
Strategy for configuring individual tests.
Modifier and Type | Interface and Description |
---|---|
static interface |
ConfigurationStrategy.Configuration
Heterogeneous typesafe collection of configuration objects managed by their
Configurer . |
Modifier and Type | Method and Description |
---|---|
ConfigurationStrategy.Configuration |
getConfig(Class<?> testClass,
Method method)
Determine the configuration for the given test class and method.
|
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, indicates which test case is currently being evaluated.
testClass
- the test class being evaluated; this might be a subclass of the method’s declaring class.method
- the test method to be evaluated