Package org.instancio.junit
package org.instancio.junit
Provides Instancio JUnit 5 support.
-
ClassDescriptionIndicates that a field or parameter should be automatically generated with a random value during test execution.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 JUnit Jupiter: reporting the seed value to allow reproducing failed tests injectingSettingsusing@WithSettingsannotation generating parameterized test arguments using@InstancioSourceinjecting fields and method parameters using@GivenaannotationProvides arguments for@ParameterizedTestmethods, supporting multiple arguments per test run.Specifies the seed for the random number generator.An annotation for supplying custom settings to a unit test class.