🚀 Skillhub is in public beta·New skills added weekly·Live AI sandbox — try before you install·Feedback? We're listening·Early publishers get featured placement·One command to install any skill·🚀 Skillhub is in public beta·New skills added weekly·Live AI sandbox — try before you install·Feedback? We're listening·Early publishers get featured placement·One command to install any skill·
Skillhub

Browse / Test Generator

Test Generator

Verified

Auto-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.1

About

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.

2026-02-15

v3.0.0

Add Vitest support.

2026-01-05

v2.0.0

Rewrite with better type inference.

2025-11-10

v1.0.0

Initial release.

2025-09-01

You might also like