public class ParameterizedSuite extends org.junit.runners.ParentRunner<FeaturesRunner>
To use it :
@RunWith(ParameterizedSuite.class) @SuiteClasses(SimpleSession.class) @ParameterizedFeature(? extends RunnerFeature.class) public class NuxeoSuiteTest { @Parameters public static Collection<Object[]> yourParametersMethod() {...} }@ParameterizedFeature is optional. If used, the corresponding class must implement a method annotated with @ParameterizedMethod
Modifier and Type | Class and Description |
---|---|
static interface |
ParameterizedSuite.ParameterizedFeature
The
ParameterizedFeature annotation specifies the class to be parameterized. |
static interface |
ParameterizedSuite.ParameterizedMethod |
Constructor and Description |
---|
ParameterizedSuite(Class<?> testClass,
org.junit.runners.model.RunnerBuilder builder) |
ParameterizedSuite(org.junit.runners.model.RunnerBuilder builder,
Class<?> testClass,
Class<?>[] classes) |
public ParameterizedSuite(Class<?> testClass, org.junit.runners.model.RunnerBuilder builder) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError
Copyright © 2015 Nuxeo SA. All rights reserved.