TestForge is an ultra-fast, intelligent VS Code Extension that automatically generates edge-case-tested unit tests for your code. It acts as a lightweight client that connects to the secure TestForge SaaS backend.
Features
- Zero Configuration: Uses native
vscode.authentication. No API keys required. - Multi-File Context Engine: Automatically parses your
importstatements and secretly reads your local files so the AI understands your custom Type Interfaces, Classes, and architectures. - Real-Time Streaming: Bypasses the VS Code undo-buffer trap by rendering a split-screen Virtual Document and streaming the AI's response chunk-by-chunk in real-time.
- Customizable Safety Limits: Caps context extraction at 3,000 characters by default to save tokens, completely customizable in your VS Code Settings.
Installation
- Install the
.vsixfile or download from the Marketplace. - Open the Command Palette (
Ctrl+Shift+P). - Run
TestForge: Sign In (GitHub).
Usage
- Highlight any block of code in your editor.
- Open the Command Palette.
- Run
TestForge: Generate Unit Tests. - Watch the tests stream into a new window automatically!