thomwebb/gac/testing
Claude Code and agent skill by thomwebb/gac
- community
Checking that the SKILL.md file is still in the repository.
Use when running, writing, or debugging tests in the GAC project. Covers test structure, pytest commands, provider testing patterns, and integration vs unit test practices.
Install
npx vskill@latest install thomwebb/gac/testingSKILL.md
Testing Workflows
When to Use
- Running tests (entire suite or specific tests)
- Writing new tests or modifying existing ones
- Debugging test failures
- Understanding provider test patterns
Test Structure
The suite has 151 test files mirroring src/. Key areas:
This is not exhaustive. Use ls tests/ to explore.
Commands
Integration tests (need API keys):
Provider Test Structure
Each provider has three test types. See tests/providers/conftest.py for BaseProviderTest.
1. Unit Tests — no external dependencies
2. Mocked Tests — inherit from BaseProviderTest (9 standard tests)
3. Integration Tests — real API calls
Note: generate() returns a tuple (content, input_tokens, output_tokens, input_cost, output_cost).
Writing New Tests
File Placement
Tests mirror source:
src/gac/git.py->tests/test_git.pysrc/gac/providers/openai.py->tests/providers/test_openai.py
Naming
Stats Safety
The session-scoped isolate_stats_file fixture redirects stats files to temp dirs. It is active in pytest only. If running outside pytest, mock manually:
See AGENTS.md for full user data safety rules.
Coverage
Checklist
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.skills/testing/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/thomwebb/gac/testing)