test-automation
Installation
SKILL.md
Test Automation
Test Automation Strategies
Pyramid Approach
- Unit Tests (70%): Fast, isolated tests for individual functions and methods
- Integration Tests (20%): Tests that verify components work together
- End-to-End Tests (10%): Tests that simulate real user flows through the application
Risk-Based Testing
- Prioritize automation based on business risk and frequency of use
- Focus on critical paths and high-value features first
- Automate regression tests to prevent regressions
Test Data Management
- Fixtures: Pre-defined test data sets for consistent test runs
- Factories: Dynamic test data generation for flexibility
- Test Builders: Fluent APIs for creating complex test objects
- Data Seeding: Database seeding for integration and E2E tests