unittest-agent-generator

Generate parallel Kotlin unit tests for grouped ViewModel logic with MockWebServer fixtures.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/herren-official/product-agents --skill unittest-agent-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unittest-agent-generator
Source: https://github.com/herren-official/product-agents/tree/main/skills/b2b-Android/unittest-agent
Command: npx skills add https://github.com/herren-official/product-agents --skill unittest-agent-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Group-based parallel unit test generation for ViewModel logic, drastically reducing the time to achieve test coverage across multiple test groups.

Core Features & Use Cases

  • Planner-driven analysis identifies parallelizable test groups and expected test cases.
  • Scaffold generation creates Kotlin test classes with @Nested blocks and setup using MockWebServer fixtures.
  • Generator orchestrates parallel code creation for multiple groups and composes them into final test files.

Quick Start

Provide a request to the planner to generate parallel unit tests for the target ViewModel and run the scaffold to produce a complete test scaffold.

Frequently Asked Questions about unittest-agent-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate parallel unit tests for Kotlin ViewModels?

You can generate parallel unit tests for Kotlin ViewModels by submitting a request to a planner that identifies parallelizable test groups, scaffolds @Nested test classes, and orchestrates parallel code creation for multiple groups.

What is the best way to structure grouped unit tests using MockWebServer fixtures?

The best way to structure grouped unit tests is by using fixture-driven data within @Nested test suites, applying a phased approach that includes planning, scaffolding, generation, and validation to produce a cohesive set of MockWebServer-driven tests.

Can I automate unit test scaffolding for multiple test groups simultaneously?

Yes, you can automate unit test scaffolding for multiple test groups simultaneously by using a generator that orchestrates parallel code creation across identified groups and composes them into final test files.

Does parallel test generation work with MockWebServer for fixture-driven data?

Parallel test generation works with MockWebServer by incorporating MockWebServer-driven fixtures directly into the scaffolded @Nested test suites, ensuring outputs include fixture-driven data for validating ViewModel logic.

What artifacts are produced during the parallel unit test generation process?

The parallel unit test generation process produces phase artifacts including phase1-plan.json for planning, phase2-generated code for scaffolding, and phase4-coverage reports to validate the final multi-group test outputs.