Rechercher

PythonReactSEOPDF
GitHub Skill

test-writer

Write comprehensive tests following TDD and BDD principles

athola☆ 44 Étoiles du dépôt8 Forks du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

Voir la source ↗Guides

Instructions

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)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!