clojure-testing

Standardize Clojure unit, property-based, and integration tests with Malli and fixtures.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/esp1/claude-config --skill clojure-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clojure-testing
Source: https://github.com/esp1/claude-config/tree/main/dot.claude/skills/clojure-testing
Command: npx skills add https://github.com/esp1/claude-config --skill clojure-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Improve Clojure test coverage and reliability by standardizing unit, property-based, and integration tests.

Core Features & Use Cases

  • Unit tests for minimal behavior with clear expectations.
  • Property-based tests using Malli and test.check for broad input coverage.
  • Integration tests with fixtures for deterministic, repeatable validation across modules.
  • Example: Use the Malli registry fixture pattern to keep tests lean and reproducible.

Quick Start

Enable Malli-based property tests and run the test suite to validate properties across many inputs.

Frequently Asked Questions about clojure-testing

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

FAQPage Schema
How do I structure Clojure integration tests with fixtures for deterministic runs?

Standardize Clojure test coverage by combining unit tests for minimal behavior, property-based tests using test.check, and integration tests with fixtures. This ensures broad input validation and deterministic, repeatable test execution across typical projects.

Can I use Malli and test.check for property-based testing in Clojure?

Use the Malli registry fixture pattern to keep Clojure property-based tests lean and reproducible. It provides clean separation of concerns by centralizing schema setup, ensuring deterministic test runs without duplicating fixture logic across modules.

What's the best way to organize unit and property-based tests in Clojure?

Run Clojure property-based tests by enabling Malli generators within your test suite, validating properties across many generated inputs. This relies on test.check and the Malli registry to automatically produce broad test cases and expose edge-case failures.

How do I set up Malli registry fixtures to keep Clojure tests reproducible?

Maintain deterministic Clojure integration tests by using fixtures that enforce clean separation of concerns and standardized registry setup. This prevents cross-test contamination and ensures repeatable validation across modules.