# tests/ Test files for scripts bundled with this skill. ## When to add tests Add tests here when the skill has scripts in `scripts/` that are complex enough to break silently — validators, parsers, generators, anything with branching logic or edge cases. Test infrastructure (`.bats`, `*_test.*`, `test_*.sh`) belongs here, not in `scripts/`. ## Test runner Tests are run with [Bats](https://bats-core.readthedocs.io) for shell scripts. Install support libraries under `tests/test_helper/`: ```bash git clone https://github.com/bats-core/bats-support tests/test_helper/bats-support git clone https://github.com/bats-core/bats-assert tests/test_helper/bats-assert ``` Run all tests: ```bash bats tests/ ``` ## If no tests are needed Delete this README and the `tests/` directory entirely.