unit-test-bean-validation

Community

Validate bean constraints with unit tests.

Authorgiuseppe-trisciuoglio
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Unit testing Jakarta Bean Validation constraints (e.g., @NotNull, @Email) and custom validators without a Spring context.

Core Features & Use Cases

  • Constraint testing: Verify @NotNull, @Email, @Min, etc.
  • Custom validators: Validate @Constraint implementations.
  • Cross-field validation: Test multi-field rules.

Quick Start

Configure a Validator using Validation.buildDefaultValidatorFactory(), then validate test instances and assert ConstraintViolations.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: unit-test-bean-validation
Download link: https://github.com/giuseppe-trisciuoglio/developer-kit/archive/main.zip#unit-test-bean-validation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository