sickn33/antigravity-awesome-skills
Unit Testing Test Generate
3 431e ex aequo sur 4 265 skills du métier Développement, par installations. Dans l'annuaire depuis le 18 novembre 2026.
Description
Génère des tests unitaires pour Python, JavaScript, TypeScript, Java et Go en analysant la structure de votre code source et en créant des suites de tests adaptées à chaque framework. Il extrait les fonctions et les classes par analyse AST.
Voir la description originale (anglais)
This generates unit tests across Python, JavaScript, TypeScript, Java, and Go by analyzing your source code structure and creating framework-specific test suites. It extracts functions and classes via AST parsing, then outputs pytest or Jest tests with fixtures, mocks, and assertions covering happy paths, edge cases, and error handling. The Python implementation calculates cyclomatic complexity to prioritize what needs testing, and it includes React Testing Library patterns for component tests. You'll want this when bootstrapping test coverage for existing code, though the generated tests are scaffolds that need refinement. The edge case handling is somewhat generic, so expect to add domain-specific assertions yourself. Good for getting to 60% coverage quickly, less so for nuanced business logic validation.
Installer le skill
- 1Copiez la commande d'installation (bouton Copier, en haut de la fiche).
- 2Lancez-la dans un terminal, sur la machine où vous utilisez Claude Code.
- 3Demandez la tâche à Claude comme d'habitude : il charge le skill quand la demande s'y prête.