Skip to main content
plugin

unit-test-generator · rohitg00 — Claude Code plugin: what it does, how to install

unit-test-generator generates unit tests for any function or module in Claude Code. Useful when you need to cover code with tests without writing boilerplate scenarios by hand.

Apache-2.0 ★ 2,858 updated 2026-05-12

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add rohitg00/awesome-claude-code-toolkit
/plugin install unit-test-generator@claude-code-toolkit
Open on GitHub

What unit-test-generator does

The plugin creates unit tests for individual functions and code modules. It runs inside Claude Code sessions. The code is maintained by rohitg00 in the awesome-claude-code-toolkit repository under the Apache-2.0 license.

You must register the toolkit marketplace before installing the plugin. Without running the marketplace command first, Claude Code will fail to locate unit-test-generator@claude-code-toolkit.

What it helps with

  • generate unit tests for a specific function
  • cover an entire module with test cases
  • draft test suites without writing boilerplate manually

Example prompts for the agent

  • Generate unit tests for the functions in this file
  • Write unit tests for the authentication module

How to install unit-test-generator

Plugin marketplace

/plugin marketplace add rohitg00/awesome-claude-code-toolkit
/plugin install unit-test-generator@claude-code-toolkit

Step by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own

Questions about unit-test-generator

How do I install unit-test-generator in Claude Code?

First, add the marketplace repository with /plugin marketplace add rohitg00/awesome-claude-code-toolkit. Then install the plugin by running /plugin install unit-test-generator@claude-code-toolkit.

What does unit-test-generator do?

It creates unit tests for any function or module directly within your Claude Code workflow.

What license does unit-test-generator use?

It is released under the Apache-2.0 license as part of the rohitg00/awesome-claude-code-toolkit repository.

Source text

unit-test-generator · Apache-2.0
Generate comprehensive unit tests for any function or module

© rohitg00 · Apache-2.0 · rohitg00/awesome-claude-code-toolkit

Similar plugins

All plugins for Testing and QA →

unit-test-generator by other authors comes first.

unit-test-generator Community The unit-test-generator plugin helps create unit tests and improve coverage in Flutter and Dart projects. Its description also mentions strict validation, Git management, and Aurigo corporate standards. ★ 1,013repo stars dart-add-unit-test dart-lang dart-add-unit-test is a skill for Claude Code, Codex, and other agents that writes and structures package:test unit tests. It activates when adding logic or fixing bugs to prevent regressions. CX Codex +1 21,400installs 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 unit-test-boundary-conditions giuseppe-trisciuoglio unit-test-boundary-conditions — a skill for Claude Code, Codex, Cursor and three other platforms that generates JUnit 5 tests for boundary values, null inputs and arithmetic overflow. Kicks in when you are editing .java test files. CX Codex +1 4,300installs adding-dbt-unit-test dbt-labs adding-dbt-unit-test is a Claude Code skill that creates YAML unit tests for dbt models. It activates when adding model tests or using test-driven development with dbt. CX Codex +1 1,200installs Django Unit Test Generator for Viewsets koksalkapucuoglu Django Unit Test Generator for Viewsets is a prompt that generates Django Viewset unit tests for CRUD requests, invalid input, and permissions. Provide the class to test. GP ChatGPT ★ 178,201repo stars

From the same set178

The whole set →

Project sponsors

Companies that keep this analytics open