用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/wojons/skills --skill testing-ecosystem命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | testing-ecosystem |
| description | Understand the complete testing ecosystem and relationships between test types |
| license | MIT |
| compatibility | opencode |
| metadata | {"audience":"developers","category":"testing"} |
Understand the complete testing ecosystem, including all test types, their relationships, purposes, and appropriate usage contexts.
Use this skill when:
Comprehensive test type catalog:
Ecosystem mapping:
Contextual guidance:
Integration knowledge:
Testing Ecosystem Map:
──────────────────────────────
Development Stage → Test Types:
- Coding → Unit, Mutation, Static Analysis
- Integration → Integration, Contract, API
- System → E2E, Smoke, Regression
- Release → Performance, Security, Compatibility
- Production → Chaos, Monitoring, Canary
Quality Attribute → Test Types:
- Functionality → Unit, Integration, E2E, Regression
- Performance → Load, Stress, Endurance, Spike
- Security → Vulnerability, Penetration, Audit
- Usability → User Testing, UX Evaluation
- Reliability → Chaos, Failover, Recovery
- Compatibility → Cross-browser, Cross-platform
Test Type Dependencies:
Smoke → [Unit, Integration, E2E, Performance, Security]
Unit → [Integration, E2E, Regression]
Integration → [E2E, Performance, Security]
E2E → [Performance, Compatibility, Usability]
Security → [Penetration, Vulnerability, Compliance]
# Explore testing ecosystem
npm run test:ecosystem:explore # Interactive ecosystem exploration
npm run test:ecosystem:map # Generate ecosystem map
npm run test:ecosystem:relationships # Show test type relationships
# Get guidance for specific contexts
npm run test:ecosystem:guidance -- --context web-application
npm run test:ecosystem:guidance -- --context mobile-app
npm run test:ecosystem:guidance -- --context api-service
npm run test:ecosystem:guidance -- --context enterprise-system
# Analyze current testing ecosystem
npm run test:ecosystem:analyze # Analyze current test coverage
npm run test:ecosystem:gaps # Identify ecosystem gaps
npm run test:ecosystem:optimize # Suggest ecosystem optimization
# Learning and documentation
npm run test:ecosystem:learn # Learning resources
npm run test:ecosystem:glossary # Testing terminology
npm run test:ecosystem:patterns # Testing patterns and anti-patterns
Testing Ecosystem Analysis
──────────────────────────────
Project Context: SaaS Web Application
Stage: Production (2 years in market)
Team Size: 15 developers, 4 QA, 2 DevOps
Current Ecosystem Assessment:
✅ Strong Foundation:
- Unit testing: 85% coverage, mature practices
- Integration testing: Good API and database coverage
- E2E testing: Critical paths automated
⚠️ Moderate Coverage:
- Performance testing: Basic load testing only
- Security testing: Vulnerability scanning, no penetration tests
- Accessibility testing: Partial WCAG compliance
❌ Weak Areas:
- Chaos engineering: No resilience testing
- Contract testing: No API consumer contracts
- Visual testing: Manual only, no automation
Ecosystem Relationships Analysis:
Healthy Dependencies:
- Unit → Integration → E2E flow well established
- Smoke tests gate deployment effectively
- Regression testing comprehensive
Missing Dependencies:
- No performance → chaos dependency (resilience untested)
- Security tests not integrated with deployment pipeline
- Accessibility not part of CI workflow
Ecosystem Maturity Score: 7.2/10
- Foundation: 9/10 (strong functional testing)
- Non-functional: 6/10 (moderate coverage)
- Advanced: 4/10 (limited specialized testing)
- Integration: 8/10 (good pipeline integration)
Recommended Ecosystem Evolution:
Phase 1 (Next 3 months):
- Implement visual regression testing
- Add performance testing to CI pipeline
- Basic chaos experiments for critical services
Phase 2 (3-6 months):
- Contract testing for public APIs
- Penetration testing program
- Enhanced accessibility automation
Phase 3 (6-12 months):
- Comprehensive chaos engineering
- Advanced performance testing (stress, endurance)
- Production canary testing and feature flags
Test Type Interdependencies to Establish:
1. Performance tests should run after successful E2E tests
2. Security scans should gate production deployments
3. Accessibility tests should be part of PR validation
4. Chaos experiments should validate monitoring alerts
Ecosystem Anti-Patterns Identified:
- E2E tests used for unit-level validation (expensive)
- Performance testing only before major releases (infrequent)
- Security testing as afterthought, not integrated
- No test environment for compatibility testing
Resource Allocation Analysis:
- Current: 70% functional, 20% non-functional, 10% specialized
- Recommended: 50% functional, 30% non-functional, 20% specialized
- Justification: Mature product needs more resilience and quality focus
Ecosystem Health Metrics:
- Test feedback time: 45 minutes (target: < 30 minutes)
- Defect escape rate: 2.1% (target: < 1%)
- Test maintenance cost: 15% of development time (target: < 10%)
- Test flakiness rate: 3.5% (target: < 1%)
Ecosystem Integration Status:
- CI/CD Integration: 8/10 test types integrated
- Monitoring Integration: 4/10 test types feeding metrics
- Alerting Integration: 3/10 test types triggering alerts
- Reporting Integration: 7/10 test types in reports