addfox-testing
Installation
SKILL.md
Addfox Testing
Use this skill to implement automated testing for Addfox extensions.
When to use
- Creating unit tests for extension logic and utilities
- Mocking
chrome.*orbrowser.*APIs - Adding Playwright E2E tests for popup/content/background flows
- Running extension tests in CI
Test strategy
| Layer | Tool | Purpose |
|---|---|---|
| Unit | Rstest | Business logic, storage, messaging handlers |
| Component | Rstest + jsdom/happy-dom | UI rendering and interaction |
| E2E | Playwright | Real extension loading and user flows |