Marketplace run-tests
How to run tests in this project. Load when implementing or verifying code.
install
source · Clone the upstream repo
git clone https://github.com/aiskillstore/marketplace
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/aiskillstore/marketplace "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/clouder0/run-tests" ~/.claude/skills/aiskillstore-marketplace-run-tests-55b1ff && rm -rf "$T"
manifest:
skills/clouder0/run-tests/SKILL.mdsource content
Run Tests Skill
Project-specific test execution.
Test Commands
# Run all tests # TODO: Add your test command npm test # pytest # go test ./... # cargo test # Run specific file # TODO: Add your pattern npm test -- --testPathPattern={file} # pytest {file} -v # Run affected tests npm test -- --changedSince=HEAD
Test Patterns
- Test files:
or**/*.test.ts**/__tests__/*.ts - Test naming:
describe('Component', () => { it('should...') })
Coverage
# Run with coverage npm test -- --coverage
Debugging Failed Tests
- Read the error message
- Check the test file
- Check the source file
- Run single test in isolation