workflow-test-generation

Generate unit, integration, and performance tests from spec.md or source code.

159|47|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/davidYichengWei/agentic-engineering-framework --skill workflow-test-generation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: workflow-test-generation
Source: https://github.com/davidYichengWei/agentic-engineering-framework/tree/main/skills/workflow-test-generation
Command: npx skills add https://github.com/davidYichengWei/agentic-engineering-framework --skill workflow-test-generation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

测试生成过程可以基于规范文件 spec.md 或现有代码自动生成全面的测试集合,包括单元测试、集成测试和性能测试,从而提升测试覆盖率、提速开发周期,并降低回归风险。

Core Features & Use Cases

  • 基于 spec.md 或代码分析自动生成单元测试、集成测试和性能测试的代码骨架和测试用例。
  • 支持 TDD 模式,在需求明确后逐步生成测试以驱动实现。
  • 输出测试计划、测试点和测试用例清单,确保测试可编译、可执行,并能无缝整合到现有测试框架。

Quick Start

Ask me to generate tests for a module by providing its spec.md or the target source code.

Frequently Asked Questions about workflow-test-generation

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

FAQPage Schema
How do I generate unit and integration tests from a spec file?

You can generate unit and integration tests by providing a module's spec.md file, which the tool analyzes to create a structured test plan, identify mock dependencies, and output compile-ready test code skeletons.

Can I use TDD mode to generate tests before writing source code?

Yes, TDD mode is supported to drive implementation. You provide the specification, and the tool progressively generates test cases and skeletons to guide and validate your source code development.

How does automated test generation identify mock dependencies?

Automated test generation analyzes the public interfaces of your module to identify external dependencies, then automatically selects appropriate test types and generates mock configurations for the test skeletons.

What is the best way to create performance tests for existing source code?

The best way to create performance tests is to provide the target source code directly. The tool analyzes the code to output a comprehensive test plan and compile-ready performance test skeletons.

Does automated test generation work without external dependencies?

Yes, automated test generation operates with zero external dependencies. It analyzes your spec.md or source code internally to produce test plans and compile-ready test code without requiring additional libraries.

When do I need to generate a structured test plan for software modules?

You need a structured test plan when you want to improve test coverage and reduce regression risk. The tool outputs a comprehensive checklist of test points and cases that integrate seamlessly into existing test frameworks.