plugin
test-file — Claude Code plugin: what it does, how to install
test-file creates tests for an individual project file. Helpful when you need test coverage on a single newly added or edited module.
Apache-2.0
★ 1,013 updated 2026-08-12
/plugin marketplace add ccplugins/awesome-claude-code-plugins
/plugin install test-file@awesome-claude-code-plugins
Copy
Open on GitHub
Give to your agent
What test-file does
The test-file plugin comes from the awesome-claude-code-plugins repository under the Apache-2.0 license. It focuses on creating tests for an individual file in your project.
The plugin targets a single specified file at a time rather than testing an entire repository at once. It fits into code quality workflows when a newly written or modified file needs dedicated test coverage.
What it helps with
generate test suites for an individual source file add test scenarios to a modified module cover edge cases in a specific script
Example prompts for the agent
Generate tests for src/utils/formatters.ts
Create tests for auth.py
Questions about test-file
How to install test-file in Claude Code?
First, register the marketplace by running /plugin marketplace add ccplugins/awesome-claude-code-plugins. Next, install the plugin with /plugin install test-file@awesome-claude-code-plugins.
What does test-file do?
It generates automated tests targeted at a specific source file.
Can test-file process an entire codebase at once?
The tool is designed to work on a single file at a time. To cover multiple modules, run it separately for each target file.
dart-generate-test-mocks dart-lang dart-generate-test-mocks — a Dart testing skill: the agent injects external services through constructors, generates mock classes with mockito and build_runner, then writes the unit test.
CX Codex +1
20,300installs
principle-test-behavior-not-implementation backnotprop principle-test-behavior-not-implementation is a Claude Code skill that guides testing public behavior over internals. It activates whenever tests are authored, modified, or reviewed.
CX Codex +1
10,200installs
unit-test-utility-methods giuseppe-trisciuoglio unit-test-utility-methods writes unit tests for utility classes and static methods, covering nulls, empty input, boundaries and floating-point precision.
CX Codex +1
3,900installs
unit-test-vue-pinia
official github unit-test-vue-pinia writes and reviews unit tests for Vue 3, TypeScript, Vitest and Pinia code. Useful when your tests reach into component internals instead of behavior.
CX Codex +1
1,800installs
test-quality decebals test-quality — a skill that writes high-quality Java unit tests using JUnit 5 and AssertJ. Enable it to add tests to your code or improve test coverage.
CX Codex +1
356installs
test-coverage-improver OneWave-AI test-coverage-improver — a skill that identifies coverage gaps and generates missing tests for critical code paths.
CX Codex +1
312installs
Nearby in Testing and QA
performance-benchmarker experiment-tracker api-tester bug-detective aidd-qa don-cheli-sdd-framework
Topics and platforms Claude Code Testing and QA #code-quality-testing #testing #unit-tests
analyze-issue analyze-issue turns a GitHub issue into an implementation spec and an ordered plan. Use it to clarify the work before changing code.
★ 1,013repo stars
update-branch-name update-branch-name — a Claude Code plugin that renames Git branches by adding semantic prefixes and enforcing naming conventions. Use it when your team requires branches to follow a specific format like feature/, bugfix/, or hotfix/.
★ 1,013repo stars
create-worktrees create-worktrees creates Git worktrees for open pull requests or selected branches. Useful when several branches need separate working directories.
★ 1,013repo stars
double-check double-check — a plugin that prompts the agent to reconsider its work before declaring a task complete. Catches oversights that might slip through on the first pass.
★ 1,013repo stars
generate-api-docs The generate-api-docs plugin builds documentation for API endpoints. Useful when you need to document routes in a project quickly.
★ 1,013repo stars
explore explore prepares Claude to discuss a task by reading a planning doc and examining related files. Useful before jumping into planning or coding.
★ 1,013repo stars
optimize Analyzes code performance and optimizes slow routines. Activates directly inside Claude Code sessions to inspect execution bottlenecks.
★ 1,013repo stars
claude-desktop-extension Supplies Claude Code with the necessary context to turn an MCP into a Desktop Extension. Generates a .dxt bundle for desktop use.
★ 1,013repo stars