test-suite-builder

Design layered Kotlin and Spring tests for unit, slice, and integration levels.

302|22|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/JetBrains/skills --skill test-suite-builder-jetbrains
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-suite-builder
Source: https://github.com/JetBrains/skills/tree/main/test-suite-builder
Command: npx skills add https://github.com/JetBrains/skills --skill test-suite-builder-jetbrains

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams design layered Kotlin/Spring tests that balance speed, realism, and regression coverage across unit, slice, and integration levels.

Core Features & Use Cases

  • Provides a structured approach to classify what needs to be proven: pure business logic, HTTP contract, repository behavior, serialization, security, cross-component integration, and data-store interactions.
  • Recommends a three-layer strategy: unit tests for domain logic, slice tests for framework boundaries, and selective SpringBootTest with Testcontainers for integration boundaries.
  • Establishes guidance on naming, fixtures, reusable builders, and clear test data strategies to enable maintainable, reproducible test suites.

Quick Start

Use the test-suite-builder to design and generate the right mix of unit, slice, and integration tests.

Frequently Asked Questions about test-suite-builder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the best way to structure layered Kotlin Spring tests?

Layered Kotlin Spring tests use a three-layer strategy: unit tests for pure domain logic, slice tests for framework boundaries like controllers and repositories, and selective SpringBootTest with Testcontainers for cross-component integration boundaries.

How do I balance speed and realism when testing Spring business logic?

Balance speed and realism by classifying what needs proving: use fast unit tests for pure business logic, and reserve slower, realistic slice or integration tests for framework boundaries and data-store interactions.

When should I use slice tests vs integration tests in a Spring project?

Use slice tests for focused framework boundary checks like HTTP contracts, repository behavior, serialization, and security. Use selective integration tests with Testcontainers only for cross-component integration and actual data-store interactions.

How to design reusable fixtures and test data for Kotlin unit tests?

Design reusable fixtures and test data for Kotlin unit tests by establishing clear naming conventions, reusable builders, and structured test data strategies that enable maintainable and reproducible test suites across all testing layers.

Does this test strategy framework support serialization and security testing?

Yes, this test strategy framework supports serialization and security testing by recommending targeted slice tests to validate these specific framework boundaries independently from slower cross-component integration tests.

Why use Testcontainers for Spring integration tests instead of mocked repositories?

Use Testcontainers for Spring integration tests instead of mocked repositories to ensure realistic regression coverage of actual data-store interactions and cross-component integration boundaries that mocks cannot accurately replicate.