Annotation Type UnitTest


  • @Target(TYPE)
    @Retention(RUNTIME)
    @Scope("prototype")
    @Component
    public @interface UnitTest
    UnitTest enables a simple unit test to use the tapir API. It is just a convenience annotation. Classes annotated by this annotation are automatically annotated by:
    Since:
    3.2.0
    Author:
    Oliver Libutzki <[email protected]>
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String[] value
      Properties in form key=value that should be added to the Spring Environment before the test runs.
    • Element Detail

      • value

        java.lang.String[] value
        Properties in form key=value that should be added to the Spring Environment before the test runs.
        Returns:
        the properties to add
        Default:
        {}