Browse / Test Generator
Test Generator
VerifiedAuto-generates unit tests for TypeScript functions and classes.
Testing·9,100 installs·v3.0.1·by testing-guild
★★★★⯨4.7(203 reviews)
Install
npx skillhub-install install test-generator@3.0.1About
Test Generator inspects your TypeScript source and produces comprehensive unit tests covering happy paths, edge cases, and error conditions.
It understands common testing frameworks and generates idiomatic tests that integrate with your existing test suite.
Features:
- Supports Jest, Vitest, and Mocha
- Covers edge cases and error paths
- Generates mocks for dependencies
- Works with classes and functional code
Sandbox Preview
Tip: Press ⌘ Enter to run
Version History
v3.0.1
Fix mock generation for async functions.
v3.0.0
Add Vitest support.
v2.0.0
Rewrite with better type inference.
v1.0.0
Initial release.
You might also like
API Mocker
ReviewGenerates mock API handlers from OpenAPI specs for local testing.
Testing
2,900 installs
Git Commit Helper
VerifiedGenerates conventional commit messages from your staged diff.
DevTools
12,400 installs
Code Reviewer
VerifiedAutomated PR review with style, security, and logic checks.
DevTools
12,400 installs