test-persistence-adapter

Community

Generate JPA tests for persistence adapters.

Authoremaarco
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the creation of robust unit tests for your persistence adapters, ensuring data integrity and correct CRUD operations.

Core Features & Use Cases

  • Automated Test Generation: Creates @DataJpaTest compatible tests for JPA persistence adapters.
  • In-Memory Database: Utilizes H2 for fast, isolated testing without external dependencies.
  • Fixture Management: Employs @Sql for data setup, ensuring test independence.
  • Use Case: When you've implemented a new NewsletterSubscriptionPersistenceAdapter, use this Skill to quickly generate a comprehensive test suite that verifies its save, find, search, and delete functionalities.

Quick Start

Generate a test for the persistence adapter located at services/example-service/src/main/kotlin/io/miragon/example/adapter/outbound/db/NewsletterSubscriptionPersistenceAdapter.kt.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: test-persistence-adapter
Download link: https://github.com/emaarco/easy-zeebe/archive/main.zip#test-persistence-adapter

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

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.