clojure-kaocha

Manage and execute Clojure test suites with Kaocha.

1|Updated Sep 5, 2025
One-click install
npx skills add https://github.com/Ramblurr/nix-devenv --skill clojure-kaocha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clojure-kaocha
Source: https://github.com/Ramblurr/nix-devenv/tree/main/prompts/skills/clojure-kaocha
Command: npx skills add https://github.com/Ramblurr/nix-devenv --skill clojure-kaocha

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the execution and configuration of tests for Clojure projects, especially when dealing with complex test suites, filtering, or specific execution requirements.

Core Features & Use Cases

  • Test Suite Management: Define and run multiple, distinct test suites based on namespace patterns or IDs.
  • Advanced Filtering: Filter tests by ID, namespace, or custom metadata (e.g., :live-postgres, :slow).
  • Conditional Test Execution: Dynamically enable/disable tests based on environment variables.
  • Use Case: When you need to run only the integration tests tagged with :live-postgres and :live-redis for a specific deployment.

Quick Start

Execute the unit tests for your Clojure project using the clojure-kaocha skill.

Frequently Asked Questions about clojure-kaocha

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

FAQPage Schema
How do I run Clojure tests filtered by namespace patterns?

To run Clojure tests filtered by namespace patterns, use the Kaocha test runner to define multiple distinct test suites. This approach allows you to execute targeted test groups based on specific namespace matching rules within your project.

Can I conditionally enable or disable Clojure tests using environment variables?

Yes, you can conditionally enable or disable Clojure tests using environment variables. The Kaocha test runner supports dynamic test execution, allowing you to toggle specific tests on or off based on your current deployment environment settings.

What is the best way to execute specific integration tests tagged with custom metadata in Clojure?

The best way to execute integration tests tagged with custom metadata in Clojure is using Kaocha's advanced filtering. You can filter tests by ID or custom metadata tags like `:live-postgres` to run only the specific integration suites required.

Does Kaocha integrate with babashka tasks for command-line test execution?

Yes, Kaocha integrates with `bb.edn` for simplified command-line test execution. This integration streamlines running your Clojure test suites directly from the command line using Babashka task management.

How do I configure multiple distinct test suites in a Clojure project?

You configure multiple distinct test suites in a Clojure project by defining them with custom configurations in Kaocha. This setup supports assigning unique IDs, namespace patterns, and metadata filters to isolate different testing workflows.