junitparams.custom
Annotation Type CustomParameters
@Retention(value=RUNTIME)
@Target(value={METHOD,ANNOTATION_TYPE})
public @interface CustomParameters
Tells JUnitParams which ParametersProvider to use for parameters generation.
Use instead of Parameters annotation.
Can also be used to create custom annotations.
Check FileParameters, FileParametersProvider and CustomParametersProviderTest for usage examples.
provider
public abstract Class<? extends ParametersProvider> provider
- Returns:
- Your custom parameters provider class.
Copyright © 2017 Pragmatists. All rights reserved.