Annotation Interface AutoConfigureJsonTesters
@Target(TYPE)
@Retention(RUNTIME)
@Documented
@Inherited
@ImportAutoConfiguration
@PropertyMapping("spring.test.jsontesters")
public @interface AutoConfigureJsonTesters
Annotation that can be applied to a test class to enable and configure
auto-configuration of JSON testers.
- Since:
- 1.4.0
- Author:
- Phillip Webb
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
-
Element Details
-
enabled
boolean enabledIfBasicJsonTester
,JacksonTester
,JsonbTester
andGsonTester
beans should be registered. Defaults totrue
.- Returns:
- if tester support is enabled
- Default:
- true
-