Auto-generate unit tests with coverage
unit-test-genworkflowsetup L2★2
moongci38-oss/forge ↗What it does
Generate unit tests for existing code
Best for
Test coverage when you have code without tests and need to bootstrap test suite.
Inputs
- · source files (list)
- · target coverage (percent)
Outputs
- · test files (matching source structure); coverage report
Requires
- · test generator
- · coverage analyzer
Preconditions
Code must be readable and have clear function contracts; no external-only dependencies.
Failure modes
Tests are trivial/do not exercise logic; coverage goal is unrealistic; tests flake intermittently.