본문으로 건너뛰기
버전: v1.0.x

Features

Fixture monkey supports generating valid data based on Jakarta Bean Validation 3.0 annotations with the Fixture Monkey Jakarta Validation Plugin.

팁

Javax Bean Validation is also supported with the Fixture Monkey Javax Validation Plugin

Dependencies​

Gradle​

testImplementation("com.navercorp.fixturemonkey:fixture-monkey-jakarta-validation:1.0.20")

Maven​

<dependency>
<groupId>com.navercorp.fixturemonkey</groupId>
<artifactId>fixture-monkey-jakarta-validation</artifactId>
<version>1.0.20</version>
<scope>test</scope>
</dependency>

The jakarta validation API and the Hibernate validator are already provided as part of the dependency.

Plugin​

FixtureMonkey fixtureMonkey = FixtureMonkey.builder()
.plugin(new JakartaValidationPlugin())
.build();