Class HierarchicalConfigurationStrategy

    • Constructor Detail

      • HierarchicalConfigurationStrategy

        public HierarchicalConfigurationStrategy​(Configurer<?>... configurers)
    • Method Detail

      • getConfig

        public HierarchicalConfigurationStrategy.ConfigurationImpl getConfig​(Class<?> testClass,
                                                                             Method method)
        Description copied from interface: ConfigurationStrategy
        Determine the configuration for the given test class and method. Since a method may be run on multiple test subclasses, {@param testClass} indicates which test case is currently being evaluated.
        Specified by:
        getConfig in interface ConfigurationStrategy
        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