Scan untested code, generate unit & E2E tests, visualize coverage gaps โ all powered by AI, all from the CLI.
npm install -g @magicpro97/testforge
click to copy
Everything you need for test coverage, powered by AI.
Detect untested files and extract function signatures across TypeScript, Python, Dart, Kotlin, Swift.
Generate unit tests with proper imports, edge cases, error handling โ powered by GPT-4o or Gemini.
Describe a user flow in plain English, get Playwright/Detox/Maestro test code.
Parse Istanbul/lcov reports and display coverage bars in terminal.
Prioritized recommendations on which tests to write first based on complexity and risk.
Auto-detects Jest, Vitest, pytest, Flutter test โ generates in the right framework.
Get started in seconds.
testforge scan ./src
Scan for untested code
testforge gen <file>
AI-generate unit tests for a file
testforge gen:e2e "user flow description"
Generate E2E test from natural language
testforge coverage .
Show coverage summary in terminal
testforge suggest ./src
AI-prioritized test recommendations
testforge config set openai.apiKey sk-...
Configure AI provider
10 CLI tools for full-cycle app development & deployment.