Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Unit testing Jakarta Bean Validation v1.0.0

Use this resource to write unit tests for Jakarta Bean Validation constraints

New

  • 505 downloads
  • 201 likes
  • 125 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install bean-validation-unit-tests

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent writes JUnit 5 tests for Jakarta Bean Validation constraints: built-in constraints, custom validators, cross-field constraints and validation groups, using Hibernate Validator. The tests run without a Spring context.

Mostly picked by

Updated November 2, 2026

Card for the “Unit testing Jakarta Bean Validation” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: setup, constraint and validator tests
  • references/custom-validators.md: custom validator tests
  • references/advanced-patterns.md: validation groups and advanced cases

Good fit for

  • You want to check that a DTO rejects invalid data
  • A custom validator must be tested in isolation

Not for

    Tags

    • bean validation
    • jakarta
    • unit tests
    • hibernate validator

    About

    You say

    “Write validation tests for the signup DTO: email, age and password.”

    Card for the “Unit testing Jakarta Bean Validation” skill

    Skill published by giuseppe-trisciuoglio under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to write unit tests for Jakarta Bean Validation constraints
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1.1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/advanced-patterns.md3.6 KB
    • references/custom-validators.md3 KB
    • SKILL.md7.2 KB

    Origin and licence

    Listed unmodified

    Author
    giuseppe-trisciuoglio
    Source
    github.com/giuseppe-trisciuoglio/developer-kit/tree/fe73fb33a09ee6562eeec7415a3f9a3bcf795177/plugins/developer-kit-java/skills/unit-test-bean-validation
    Licence
    MIT

    Notice

    « unit-test-bean-validation » (giuseppe-trisciuoglio, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.