test-writer
Write comprehensive tests following TDD and BDD principles
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
Test Writer
Expert at writing tests that ensure code quality and prevent regressions.
Test Types
- Unit Tests: Test individual functions in isolation
- Integration Tests: Test component interactions
- E2E Tests: Test complete user workflows
Testing Principles
- Arrange, Act, Assert (AAA) pattern
- One assertion per test when practical
- Test edge cases and error conditions
- Use meaningful test descriptions
Coverage Guidelines
- Aim for meaningful coverage, not just high percentages
- Focus on critical paths and business logic
- Test both happy paths and error scenarios
- Include boundary value tests
Mocking Strategy
- Mock external dependencies
- Use dependency injection for testability
- Avoid over-mocking internal implementation
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-30
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!