| name | testing-checklist |
| description | Systematic testing checklist for ext-pack that MUST be completed before ANY commit. Enforces end-to-end testing of all user flows with no exceptions. Use BEFORE committing code changes. |
ext-pack Testing Checklist
🚨 CRITICAL: Mandatory Testing Protocol
RULE: NO CODE IS COMMITTED WITHOUT COMPLETING THIS CHECKLIST
This is NOT optional. This is NOT negotiable. Every code change MUST pass all tests.
Pre-Testing Setup
Before running tests, ensure:
npm link
which ext-pack
ext-pack --version
Testing Protocol
✅ Test 1: Create Flow (Full End-to-End)
Steps:
-
Launch create command
ext-pack create
-
Extension Selection
-
AI Description Generation (if Ollama running)
-
Metadata Input
-
Pack Creation
-
Publish Option (optional but test the flow)
STOP: Do NOT proceed to Test 2 until Test 1 passes completely
✅ Test 2: Install Flow (Full End-to-End)
Steps:
-
Launch install command
ext-pack install
-
Registry Browser
-
Pack Selection
-
Download Process
-
Browser Detection
-
Browser Shutdown
-
Extension Installation
-
Browser Relaunch
-
Installation Registry
STOP: Do NOT proceed to Test 3 until Test 2 passes completely
✅ Test 3: List Flow (Full End-to-End)
Steps:
-
Launch list command
ext-pack list
-
Display Installed Packs
-
Pack Management Menu (if implemented)
-
JSON Output (if --json flag exists)
ext-pack list --json
STOP: Do NOT proceed to Test 4 until Test 3 passes completely
✅ Test 4: Publish Flow (Full End-to-End)
Steps:
-
Launch publish command
ext-pack publish ~/.ext-pack/packs/test-pack.extpack
-
GitHub Authentication
-
AI Tag Suggestions (if Ollama running)
-
Registry Fork/Branch
-
GitHub Release
-
Registry PR
-
Auto-Merge Validation (wait ~2 minutes)
STOP: Do NOT proceed to Test 5 until Test 4 passes completely
✅ Test 5: Error Handling & Edge Cases
Test each scenario:
-
Invalid .extpack file
echo "invalid json" > test.extpack
ext-pack install test.extpack
-
Missing dependencies
ext-pack publish test.extpack
-
Network errors
-
Ollama not running
ext-pack create
-
Browser already running
-
No extensions found
mkdir /tmp/empty
ext-pack create -d /tmp/empty
STOP: Do NOT proceed until ALL error cases are handled
Post-Testing Verification
After completing ALL tests above:
touch .testing-verified
git add .
git commit -m "Your commit message"
The pre-commit hook will verify .testing-verified exists and is recent (< 10 minutes old).
🚨 Failure Protocol
If ANY test fails:
- DO NOT COMMIT - Fix the bug first
- DO NOT SKIP - All tests are mandatory
- DO NOT MAKE EXCEPTIONS - This is the systematic approach
- DEBUG - Use
console.log, check error messages
- FIX - Make the necessary code changes
- RE-TEST - Start from Test 1 again (full regression test)
- VERIFY - Only commit when ALL tests pass
Testing Automation Script
For convenience, create this script:
console.log('🧪 ext-pack Testing Checklist\n');
console.log('Follow the systematic testing guide:');
console.log('File: .claude/skills/testing-checklist/SKILL.md\n');
console.log('After completing ALL tests, run:');
console.log(' touch .testing-verified\n');
console.log('This enables committing your changes.\n');
Add to package.json:
{
"scripts": {
"test-checklist": "node bin/test-checklist.js"
}
}
Quick Reference
| Command | Purpose |
|---|
npm link | Install changes globally |
ext-pack create | Test create flow |
ext-pack install | Test install flow |
ext-pack list | Test list flow |
ext-pack publish | Test publish flow |
touch .testing-verified | Mark testing complete |
git commit | Commit (requires testing verified) |
REMEMBER: Systematic approach = Zero gaps, zero exceptions, zero untested code