meta-test

Scaffold, extend, and run plain-bash test suites for deterministic scripts.

1|1|Updated Feb 25, 2025
One-click install
npx skills add https://github.com/JamSuite/jim --skill meta-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: meta-test
Source: https://github.com/JamSuite/jim/tree/main/skills/meta-test
Command: npx skills add https://github.com/JamSuite/jim --skill meta-test

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and assets (resource) components.

What problem does it solve?

Scaffold, extend, and run jim's plain-bash test suite for Jim's deterministic bash scripts (e.g. jimconf.sh, jimfile.sh). Do not use for application-code testing or for testing skill/agent prompts (these are validated by the checklist, not bash assertions).

Core Features & Use Cases

  • Scaffold a new tests/<name>.sh from the standard template for the script-under-test.
  • Add test cases incrementally via the add action, mapping each to the spec's acceptance criteria.
  • Run tests using the run action, either for a specific file or for the entire test set.

Quick Start

Scaffold a new test with /jim:meta-test <name>, append cases with /jim:meta-test add <name> <case_name>, then run the tests with /jim:meta-test run.

Frequently Asked Questions about meta-test

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

FAQPage Schema
How do I scaffold and run deterministic bash tests for shell scripts?

Scaffold and run deterministic bash tests by generating a standard template test file, appending individual test cases mapped to acceptance criteria, and executing them via the run action. This provides reusable plain-bash test coverage without external dependencies.

What is the best way to incrementally add test cases to a bash test suite?

Incrementally add test cases to a bash test suite by using the add action, which maps each new case directly to your script's acceptance criteria. You can then run the entire test set or a specific file to validate the new additions.

Do I need any external testing frameworks or dependencies to run plain-bash tests?

No external testing frameworks or dependencies are required to run plain-bash tests. The toolchain relies solely on Bash to provide deterministic, reusable test scaffolding, case addition, and execution for shell scripts.

Can I use bash assertions for application-code testing or validating skill prompts?

No, bash assertions should not be used for application-code testing or validating skill and agent prompts. The bash test suite is strictly designed for testing deterministic bash scripts, while prompt validation requires a separate checklist.

How do I execute tests for a specific bash script file versus the entire test set?

Execute tests for a specific bash script file or the entire test set by passing the target file name to the run action. Omitting the file name automatically executes all scaffolded test cases across the test suite.