Package org.instancio.junit


@NullMarked package org.instancio.junit
Provides Instancio support for the JUnit framework.
  • Class
    Description
    Indicates that a field or parameter should be automatically generated with a random value during test execution.
    Container for repeated @Given declarations.
    An interface for providing instances of objects that can be injected into fields or parameters using the @Given annotation.
    An interface representing the context of an element (either a Field or Parameter) for which an object instance is being provided.
    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 injecting Settings using @WithSettings annotation injecting fields and method parameters using @Given annotation
    Specifies the seed for the random number generator.
    An annotation for supplying custom settings to a unit test class.