/uitkit:testing:fr:write-tests [file-or-function]from uitkit
Generates comprehensive unit tests for a specified file or function, detecting the project's test framework and conventions, writing isolated tests with descriptive names, and running them to confirm they pass.
Ships in uitkit. Installing the plugin adds it to Claude Code.
Vous écrivez des tests unitaires pour : $ARGUMENTS
Suivez ces étapes :
Lisez le fichier cible ou localisez la fonction nommée dans la base de code. Comprenez son interface publique, ses effets secondaires et ses dépendances.
Identifiez tous les cas de test nécessaires :
Détectez le framework de test existant et les conventions du projet (Jest, Pytest, Go testing, Vitest, RSpec, etc.). Faites correspondre exactement le style — même profondeur d'imbrication describe/it, même style d'assertion, mêmes modèles mock/stub déjà utilisés.
Écrivez des tests qui :
NE SIMULEZ PAS l'unité testée elle-même. N'écrivez PAS de tests qui testent uniquement la simulation.
Placez le fichier de test adjacent au fichier source en suivant les conventions du projet (par exemple, __tests__/, .test.ts, _test.go).
Après la rédaction, exécutez les tests et confirmez qu'ils passent. Si un test échoue, corrigez soit le test (si l'expectation était incorrecte), soit exposez clairement le bug dans l'implémentation.
N'écrivez pas de tests de placeholder. Ne laissez pas de commentaires TODO. Chaque test doit être complet et significatif.
What the command file sets; muted values are Claude Code's defaults
unit-testing, test-generation, test-automation, code-quality
7-day visitors to each command page
500 commands in this plugin
/ai-engineering:agent-scaffoldAgent ScaffoldScaffold a multi-step Claude agent with tool use, memory, and a defined stopping condition/ai-engineering:de:agent-scaffoldAgent ScaffoldEinen mehrstufigen Claude-Agent mit Tool-Use, Memory und einer definierten Stoppbedingung aufbauen/ai-engineering:de:eval-harnessEval HarnessGenerieren Sie ein Test-Harness zur Evaluierung eines LLM-Prompts oder einer Chain anhand eines Datensatzes/ai-engineering:de:mcp-server-genMcp Server GenGeneriere einen vollständig konfigurierten MCP-Server, der Tools, Ressourcen oder Prompts für eine bestimmte Domäne verfügbar macht/ai-engineering:de:prompt-improveGefundene ProblemeKritik und Umformulierung eines Prompts für Klarheit, Spezifität und Token-Effizienz/ai-engineering:de:rag-setupRag SetupScaffold a production-ready RAG pipeline for a given data source and stackClaude Code refuses to install this plugin
.claude-plugin/plugin.json: agents: Invalid input, skills: Invalid input
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
Other plugins' commands for the same job