go-unit-tests
Installation
SKILL.md
What I do
Blackbox unit testing with mocks and Given/When/Then structure.
When to use me
- Writing unit tests
- Creating mock implementations
- Testing business logic via public APIs
Rules
Blackbox Testing (CRITICAL)
Unit tests MUST be blackbox tests:
- Package:
package <name>_test(e.g.,package handlers_test) - Scope: Test ONLY public functions/methods
- Never: Access unexported fields or private functions