Test validation rules without starting Spring.
Java validation testing
Generates isolated unit tests for Jakarta Bean Validation constraints, custom validators, validation groups, and violation assertions.
When to use it
Use when writing tests for Jakarta Bean Validation constraints, custom validators, DTO validation, cross-field rules, or validation groups.
Give it a validation-testing goal in a project; it generates unit tests and constraint-violation assertions.
What you provide
No additional actions listed in the analysis.
The Jakarta Bean Validation API must be available on the test classpath.
Hibernate Validator must be available on the test classpath.
The testing patterns use JUnit 5.
The supplied Maven setup includes AssertJ as a test dependency for its assertion patterns.