Package org.instancio.junit
@NullMarked
package org.instancio.junit
Provides Instancio support for the JUnit framework.
-
ClassDescriptionIndicates that a field or parameter should be automatically generated with a random value during test execution.Container for repeated
@Givendeclarations.An interface for providing instances of objects that can be injected into fields or parameters using the@Givenannotation.The Instancio JUnit extension adds support for additional features when using Instancio with the JUnit framework: reporting the seed value to allow reproducing failed tests injectingSettingsusing@WithSettingsannotation injecting fields and method parameters using@GivenannotationSpecifies the seed for the random number generator.An annotation for supplying custom settings to a unit test class.