crablet-test-authoring

Community

Effortlessly author test cases for Crablet applications.

Authorrodolfodpk
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies the process of writing and managing tests for Crablet applications, helping developers ensure the robustness and reliability of their event-sourced applications.

Core Features & Use Cases

  • Command Handler Unit Tests: Write unit tests for command handlers using BDD-style given/when/then helpers.
  • Integration Tests: Set up and run integration tests against a real PostgreSQL database using Testcontainers.
  • Scenario Tests: Generate and maintain scenario tests for event-model scenarios.
  • Audit Linkage: Ensure command-to-event audit linkage in tests.
  • Test Layer Guidance: Provides guidance on selecting the appropriate test layer for different behaviors (unit, integration, scenario).

Quick Start

To write a test for a command handler, use the crablet-test-authoring skill and specify the handler or behavior to test.

Dependency Matrix

Required Modules

crablettestcontainers

Components

scriptsreferences

💻 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: crablet-test-authoring
Download link: https://github.com/rodolfodpk/spring-crablet/archive/main.zip#crablet-test-authoring

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 620,000+ vetted skills library on demand.