@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface ParametersFactory
Iterable<Object[]>.
The iterable must return arrays conforming to the suite class's constructor with respect to the number and types of parameters.
The constructor's parameters can be annotated with Name to provide
more descriptive parameter names for test descriptions.
Name| Modifier and Type | Fields and Description |
|---|---|
static java.lang.String |
DEFAULT_FORMATTING
Use default argument formatting for test cases.
|
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
argumentFormatting
Specify custom formatting for test names (constructor arguments).
|
boolean |
shuffle
Shuffles the order of tests generated for the parameter set.
|
public static final java.lang.String DEFAULT_FORMATTING
public abstract java.lang.String argumentFormatting
Formatter.
Constructor arguments are available in the order they were returned
from ParametersFactory. Not all arguments have to be used,
for example: foo=%1$s would select only the second argument (indexes
are zero-based).Copyright © 2011–2018 Carrot Search s.c.. All rights reserved.