VS Code Extensions
TestForge — Test Stubs from Function Signatures

TestForge — Test Stubs from Function Signatures

by mjethwa-streamlit

Generate Jest/Vitest test stubs from a function signature instantly. Edge-case inference, dependency mocks, whole-file generation, and Mocha/node:test with Pro.

Downloads

7

Rating

— (0)

Version

1.0.0

Last updated

Jun 11, 2026

The hardest part of testing is starting. TestForge reads a function signature and generates a structured test stub so you only fill in the assertions.

Free

  • Generate a test stub for the function at the cursor
  • Jest and Vitest
  • Happy-path + null/empty-input cases

Pro

  • Edge-case inference from parameter types (empty string, 0/negative/MAX, empty array, undefined…)
  • Mock setup for injected dependencies
  • Generate tests for an entire file at once
  • Mocha and node:test runners

Works with TypeScript and JavaScript (function declarations and arrow consts).

Get a Pro key at marketplace.dashovia.com/extensions/test-forge.

Related extensions