ForgeConfiguration - xgouchet/Elmyr GitHub Wiki
@Testable @Target([AnnotationTarget.CLASS]) @Inherited annotation class ForgeConfiguration
Annotate a test class to configure the Forgery extension.
Parameters
value - the ForgeConfigurator instance to use (leave empty if not necessary).
seed - the seed to reset the Forge for each test.
Constructors
<init>
ForgeConfiguration(value: KClass<out ForgeConfigurator> = ForgeConfigurator.NoOp::class, seed: Long = 0L)
Annotate a test class to configure the Forgery extension.
Parameters
value - the ForgeConfigurator instance to use (leave empty if not necessary).
seed - the seed to reset the Forge for each test.
Properties
seed
val seed: Long
the seed to reset the Forge for each test.
value
val value: KClass<out ForgeConfigurator>
the ForgeConfigurator instance to use (leave empty if not necessary).