kotest-behaviorspec

Community

Write Kotlin tests with BehaviorSpec style.

Authorspandios
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a comprehensive guide and patterns for writing tests in Kotlin using the Kotest BehaviorSpec style, specifically tailored for Spring Boot applications. It aims to streamline the process of creating robust unit, integration, and end-to-end tests.

Core Features & Use Cases

  • BehaviorSpec Structure: Learn how to structure tests using given, when, then for BDD-style testing.
  • Spring Boot Integration: Examples for testing repositories, services, and controllers with Spring Boot.
  • Testcontainers: Demonstrates integration with Testcontainers for database and other external service testing.
  • MockMvc: Provides patterns for end-to-end testing of REST APIs.
  • Kotest Matchers: Includes a cheatsheet for common assertion matchers.

Quick Start

Use the kotest-behaviorspec skill to generate a basic BehaviorSpec test for a Spring Boot service that fetches user data.

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: kotest-behaviorspec
Download link: https://github.com/spandios/vibe-utils/archive/main.zip#kotest-behaviorspec

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.