Bibliothèque › Plugins

Plugin

Écriture et correction de tests unitaires

Rédige et corrige les tests après les modifications de code, analyse les défaillances et maintient l'intégrité.

Comment l'utiliser

Dans Claude Code, lance ces commandes :

/plugin marketplace add ccplugins/awesome-claude-code-plugins
/plugin install test-writer-fixer@awesome-claude-code-plugins

Ouvrir le dépôt d'origine

Présentation

Le contenu est réservé aux abonnés

Compris dans SuperPrompt : copiez, téléchargez et installez toutes les fiches, avec les six agents métier x10. 7 jours gratuits, puis 97 € par an, résiliable en trois clics.

Description d'origine, en anglais

Use this agent when code changes have been made and you need to write new tests, run existing tests, analyze failures, and fix them while maintaining test integrity. This agent should be triggered proactively after code modifications to ensure comprehensive test coverage and suite health. Examples:\n\n<example>\nContext: The user has just implemented a new feature or modified existing code.\nuser: "I've updated the user authentication logic to support OAuth"\nassistant: "I've successfully updated the authentication logic. Now let me run the test-writer-fixer agent to ensure all tests pass with these changes."\n<commentary>\nSince code changes were made, use the Task tool to launch the test-writer-fixer agent to run relevant tests and fix any failures.\n</commentary>\n</example>\n\n<example>\nContext: The user has refactored a module or changed function signatures.\nuser: "Please refactor this payment processing module to use async/await"\nassistant: "I've completed the refactoring to use async/await throughout the payment module."\n<function call omitted for brevity>\nassistant: "Now I'll use the test-writer-fixer agent to run the tests and fix any issues caused by the refactoring.

D'où vient cette fiche

Création de Michael Galpert, publiée sur ccplugins/awesome-claude-code-plugins sous licence Apache 2.0.

Le contenu est reproduit tel quel, dans le respect de sa licence. Le titre, le résumé et le classement en français sont rédigés par SuperPrompt.