
test-file
Command that generates comprehensive test suites for one chosen source file on demand.
- version
- 1.0.0
- GitHub stars
- 689
What it does
- Adds a single
/test-filecommand that targets one specific file for test generation - Covers test creation for only the file you name, rather than the whole codebase
- Designed for developers who want fast, file-scoped test coverage inside Claude Code
Generate comprehensive tests for a specific file
Add marketplace
/plugin marketplace add ananddtyagi/cc-marketplaceRun it inside Claude Code once, then install the plugin below.
Install
/plugin install test-file@cc-marketplaceRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceYour task
Generate comprehensive unit tests for the file: @$ARGUMENTS
Requirements:
- Use the existing testing framework in this project
- Include edge cases and error scenarios
- Follow the project's testing conventions
- Aim for high test coverage
- Include both positive and negative test cases
Project context
- Existing test files: !
find . -name "*.test.*" -o -name "*.spec.*" | head -10 - Package.json testing setup: @package.json
From the ananddtyagi/cc-marketplace README
Claude Code Marketplace
Community-driven marketplace for Claude Code commands and plugins.
🚀 Quick Start
Add this marketplace to Claude Code:
/plugin marketplace add ananddtyagi/cc-marketplace
Then browse and install individual plugins (commands or agents):
/plugin
Install a specific command:
/plugin install lyra@cc-marketplace
Install a specific agent:
/plugin install accessibility-expert@cc-marketplace
🌟 Featured Commands
- Documentation Generator - Create comprehensive documentation for code, APIs, and projects. (by Anonymous)
- Lyra - Lyra - a master-level AI prompt optimization specialist. (by @ananddtyagi)
- Analyze Codebase - Generate comprehensive analysis and documentation of entire codebase (by @ananddtyagi)
- Update Claude.md - Automatically update CLAUDE.md file based on recent code changes (by @ananddtyagi)
- Ultrathink - Use /ultrathink <TASK_DESCRIPTION> to launch a Coordinator Agent that directs four specialist sub-agents—Architect, Research, Coder, and Tester—to analyze, design, implement, and validate your coding task. The process breaks the task into clear steps, gathers insights, and synthesizes a cohesive solution with actionable outputs. Relevant files can be referenced ad-hoc using @ filename syntax. (by Jeronim Morina)
- Code Review - Perform a comprehensive code review of recent changes (by @ananddtyagi)
- Refractor - Refactor code following best practices and design patterns (by @ananddtyagi)
- Code Review Assistant - Get comprehensive code reviews with suggestions for improvements, best practices, and potential issues. (by Anonymous)
- Bug Detective - Systematically debug issues with step-by-step troubleshooting approaches. (by Anonymous)
- Audit - Perform security audit on codebase (by @ananddtyagi)
🤖 Featured Agents
- Accessibility Expert - Specialized agent for accessibility reviews and improvements
- AI Engineer - Expert in AI/ML implementation and optimization
- Frontend Developer - React, Vue, Angular expert for UI development
- DevOps Automator - CI/CD and infrastructure automation specialist
- Code Reviewer - Thorough code review and best practices enforcement
💡 Browse & Submit
Visit claudecodecommands.directory to:
- 🔍 Browse all commands and agents with descriptions and examples
- 📤 Submit your own commands and agents
- ⭐ Favorite plugins
- 🏷️ Filter by category and tags
🎯 How It Works
Each plugin in this marketplace is independently installable:
- Commands: Add custom slash commands to your Claude Code workflow (e.g.,
/lyra,/audit,/ultrathink) - Agents: Add specialized AI agents with specific expertise (e.g., accessibility-expert, frontend-developer, devops-automator)
Install only what you need - no bloat, full granular control!
🔄 Auto-Sync
This marketplace is automatically synced from the live database whenever commands are published or updated.
📝 License
Individual commands may have their own licenses. See each command file for details.
🤝 Contributing
Submit commands at claudecodecommands.directory/submit Submit agents at claudecodecommands.directory/submit-agent
Built with ❤️ by the Claude Code community
Details
- Marketplace
- ananddtyagi/cc-marketplace
- Source
- plugins/test-file
- Author
- Anand Tyagi
- Category
- Testing
- Keywords
- testing
- Listed since
- Apr 7, 2026
More from ananddtyagi/cc-marketplace
All 119- test-results-analyzerv1.0.0
- test-writer-fixerv1.0.0
- tiktok-strategistv1.0.0
- tool-evaluatorv1.0.0
- trend-researcherv1.0.0
- twitter-engagerv1.0.0
- ui-designerv1.0.0
- ultrathinkv1.0.0
- unit-test-generatorv1.0.0
- update-branch-namev1.0.0
- update-claudemdv1.0.0
- ux-researcherv1.0.0
- vision-specialistv1.0.0
- visual-storytellerv1.0.0
- web-devv1.0.0
- whimsy-injectorv1.0.0
- workflow-optimizerv1.0.0
- 2-commit-fastv1.0.0
- accessibility-expertv1.0.0
- ai-engineerv1.0.0
- ai-ethics-governance-specialistv1.0.0
- analytics-reporterv1.0.0
- analyze-codebasev1.0.0
- analyze-issuev1.0.0
Similar to test-file
More Testing & QA
test-generatordevsforge/marketplace79 starsGenerate comprehensive tests for a specific file
unit-test-generatorrohitg00/awesome-claude-code-toolkit2.8K starsGenerate comprehensive unit tests for any function or module
test-writerrohitg00/awesome-claude-code-toolkit2.8K starsGenerate comprehensive unit and integration tests with full coverage
test-coveragemahidalhan/claude-hacks34 starsAnalyze and improve test coverage for code changes.
test-writer-fixerComposioHQ/awesome-claude-plugins2K starsAutomatically write and fix unit tests