# testing-validator > Create and execute comprehensive tests including unit, integration, e2e, performance, and security testing for all functionality - Author: Muhammad Hamza - Repository: hamzasheedi/todo_app - Version: 20260203111530 - Stars: 1 - Forks: 0 - Last Updated: 2026-02-07 - Source: https://github.com/hamzasheedi/todo_app - Web: https://mule.run/skillshub/@@hamzasheedi/todo_app~testing-validator:20260203111530 --- --- name: testing-validator description: Create and execute comprehensive tests including unit, integration, e2e, performance, and security testing for all functionality --- # Testing Validator Skill ## Purpose This skill should be used when creating and executing comprehensive tests including unit, integration, e2e, performance, and security testing for all functionality in the Phase II Todo Full-Stack Web Application. The skill focuses on creating thorough, maintainable, and reliable testing strategies that ensure application quality and security. ## When to Use This Skill Use this skill when: - Creating unit tests for individual components and functions - Implementing integration tests for system interactions - Conducting end-to-end testing for complete user flows - Performing performance and load testing - Executing security vulnerability testing - Validating all functionality against specifications ## How to Use This Skill ### Unit Testing Strategy 1. Implement 90%+ code coverage for all components 2. Test individual functions and methods in isolation 3. Use mocking and stubbing for dependencies 4. Create parameterized tests for multiple scenarios 5. Implement proper test data management 6. Follow AAA (Arrange, Act, Assert) pattern 7. Maintain fast and reliable test execution ### Integration Testing 1. Test component interactions and data flow 2. Validate API endpoints and database operations 3. Test authentication and authorization flows 4. Verify user isolation and data security 5. Test external service integrations 6. Implement proper test environment setup 7. Create comprehensive integration scenarios ### End-to-End Testing 1. Test complete user journeys and workflows 2. Validate authentication and task management flows 3. Test cross-browser compatibility 4. Verify responsive design across devices 5. Test error handling and edge cases 6. Implement proper test data cleanup 7. Create realistic user interaction scenarios ### Performance Testing 1. Conduct load testing with realistic user scenarios 2. Test application response times under load 3. Validate database query performance 4. Test API endpoint performance 5. Monitor resource utilization 6. Identify performance bottlenecks 7. Implement performance regression testing ### Security Testing 1. Conduct vulnerability assessments and penetration testing 2. Test authentication and authorization mechanisms 3. Validate input sanitization and output encoding 4. Test user isolation and data protection 5. Verify secure token handling and storage 6. Test for common security vulnerabilities 7. Implement security regression testing ### Test Organization and Maintenance 1. Organize tests by feature and functionality 2. Implement proper test data factories 3. Create reusable test utilities and helpers 4. Maintain consistent test naming conventions 5. Implement proper test environment management 6. Create comprehensive test documentation 7. Establish test maintenance procedures ## Available Resources ### Test Suites - Use `/tests/` for comprehensive test suites - Follow established patterns for consistency - Include proper test organization and structure - Implement proper test data management ### Backend Tests - Reference `/backend/test/` for backend testing - Follow established patterns for consistency - Include proper test data and fixtures - Implement comprehensive backend validation ### Frontend Tests - Use `/frontend/test/` for frontend testing - Follow established patterns for consistency - Include proper component testing - Implement comprehensive UI validation ### Performance Tests - Reference `/tests/performance/` for performance testing - Follow established patterns for consistency - Include proper load scenarios - Implement performance monitoring ## Output Standards When implementing testing strategies: 1. Ensure 90%+ code coverage across all test types 2. Include comprehensive validation for all functionality 3. Implement proper test data management and cleanup 4. Use consistent test organization and naming 5. Document all test strategies with proper examples 6. Implement proper test environment management 7. Optimize for fast and reliable test execution 8. Follow testing best practices and methodologies 9. Test all functionality thoroughly including edge cases 10. Maintain comprehensive test documentation and reporting