public class ParameterizedSuiteBuilder extends Object
WrappingParameterizedRunner. It acts as a
suite builder, providing an #add() method to add new tests to the
suite. The add method returns a ParameterizedSuiteBuilder.TestInstantiatorBuilder instance
which can then be used to configure the test.| Modifier and Type | Class and Description |
|---|---|
class |
ParameterizedSuiteBuilder.TestInstantiatorBuilder
Builder for configuring a single test in a parameterized suite.
|
| Constructor and Description |
|---|
ParameterizedSuiteBuilder(Class<?> testClass) |
| Modifier and Type | Method and Description |
|---|---|
ParameterizedSuiteBuilder.TestInstantiatorBuilder |
constructWith(Object... constructorArgs)
Add a new test to the suite, to be constructed with the given arguments.
|
public ParameterizedSuiteBuilder(Class<?> testClass)
public ParameterizedSuiteBuilder.TestInstantiatorBuilder constructWith(Object... constructorArgs)
In case there are multiple constructors available, please note that the constructor is chosen based on the runtime types of the arguments, which might be different from constructing the class directly.
constructorArgs - the arguments to give to the constructorCopyright © 2014. All rights reserved.