Reference docMembers
bats-testing-patterns - detailed patterns and worked examples
bats-testing-patterns - detailed patterns and worked examples is a reference document for Claude Code, from the wshobson agents and plugins collection by wshobson. The full text is about 846 words in 22 sections, with 14 code blocks. It is a supporting file that a skill or agent reads while it works, so the main instructions can stay short.
It is most useful for people working in Testing and QA who use Claude Code.
What it covers
- Bats Fundamentals
- What is Bats?
- Installation
- File Structure
- Basic Test Structure
- Simple Test File
- Assertion Patterns
- Exit Code Assertions
- Output Assertions
- File Assertions
The full text is in the members library
Book a call and we will give you access to the full Claude Code library: every entry in full, search by meaning, copy and download.
Author: wshobson, wshobson agents and plugins. License: MIT.