test-rest-adapter

Community

Generate Spring REST controller tests.

Authoremaarco
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the creation and maintenance of unit tests for Spring Boot REST controllers, ensuring code quality and reducing manual testing effort.

Core Features & Use Cases

  • Automated Test Generation: Creates @WebMvcTest using MockMvc and @MockkBean for controller dependencies.
  • Test Fixing: Updates existing controller tests to match controller changes.
  • Use Case: When a new REST endpoint is added to a Spring Boot application, this Skill can automatically generate a comprehensive unit test for it, including request mocking and response assertions.

Quick Start

Use the test-rest-adapter skill to generate tests for the controller file at src/main/kotlin/com/example/controllers/UserController.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-rest-adapter
Download link: https://github.com/emaarco/easy-zeebe/archive/main.zip#test-rest-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.