home/categories/testing/joelhooks-swarm-tools-packages-opencode-swarm-plugin-global-skills-testing-patterns-skill-md
testingtesting-security

testing-patterns

Patterns for testing code effectively. Use when breaking dependencies for testability, adding tests to existing code, understanding unfamiliar code through characterization tests, or deciding how to structure tests. Covers seams, dependency injection, test doubles, and safe refactoring techniques from Michael Feathers.

joelhooks
maintainer
joelhooks
Updated 12/15/2025
Stars
622
Forks
51
quick start

Installation and usage

Patterns for testing code effectively. Use when breaking dependencies for testability, adding tests to existing code, understanding unfamiliar code through characterization tests, or deciding how to structure tests. Covers seams, dependency injection, test doubles, and safe refactoring techniques from Michael Feathers.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use testing-patterns