AI-Powered Comprehensive Testing for Every Programming Language
The Final Quality Gate in Your Software Development Lifecycle
TestFox is a comprehensive VS Code extension that automatically generates and executes tests across 20+ test categories for applications written in any programming language . It combines rule-based test generation with AI-powered intelligence to ensure your code is production-ready.
๐ Multi-Language Support : JavaScript, TypeScript, Python, Java, C, C++, Rust, Go, .NET, PHP, Ruby
๐ค AI-Powered : Use FREE or PAID AI models from 15+ providers
๐งช 20+ Test Categories : Smoke, Functional, Security, Performance, Accessibility, Backend, Payment, and more
๐ณ Payment Testing : Stripe, PayPal, Braintree integration tests
โ๏ธ Backend Testing : State Integrity, Concurrency, Reliability, Idempotency, Webhooks
๐ Interactive Reports : Beautiful web-based dashboard with real-time results
๐ Security Testing : OWASP Top 10 vulnerability detection
โฟ Accessibility : WCAG 2.1 compliance checking
โก Performance Optimized : Fast extension activation and instant UI loading
๐ Supported Languages & Frameworks
TestFox automatically detects your project type and generates appropriate tests:
Language
Frameworks
Build Tools
JavaScript/TypeScript
React, Vue, Angular, Next.js, Express, NestJS, Fastify, Svelte
npm, yarn, pnpm
Python
Django, Flask, FastAPI
pip, poetry
Java
Spring, Spring Boot
Maven, Gradle
C
Any
Make, CMake
C++
Any
Make, CMake, Meson
Rust
Actix, Rocket, Axum
Cargo
Go
Gin, Echo, Fiber
go mod
.NET
ASP.NET Core, Blazor
dotnet
PHP
Laravel, Symfony
Composer
Ruby
Rails, Sinatra
Bundler
Kotlin
Spring, Ktor
Gradle
AI Providers & Models - Comprehensive Support
TestFox integrates with 8 AI providers , giving you access to 300+ AI models from major providers. Choose FREE models or paid options based on your needs.
Free AI Models (No Credit Card Required!)
OpenRouter Models (239+ Available)
Model
Provider
Best For
Gemini 2.0 Flash
Google
Recommended - Fast & powerful
DeepSeek R1
DeepSeek
Advanced reasoning
Llama 3.3 70B
Meta
Large context, open source
Qwen 2.5 72B
Alibaba
Excellent for code
Gemma 2 9B
Google
Lightweight & efficient
Mistral 7B
Mistral AI
Fast responses
Phi-3 Mini
Microsoft
Compact but capable
Model
Provider
Best For
Gemini 2.0 Flash
Google
Recommended - Fast & powerful
Nova 2 Lite
Amazon
Fast and efficient from AWS
Local Models (Self-Hosted)
Model
Provider
Best For
Any Local Model
Ollama
Privacy & offline use
Any Local Model
LM Studio
Custom model hosting
Nvidia Models
Nvidia NIM
GPU-optimized inference
Model
Provider
Best For
GPT-4o
OpenAI
Best overall quality
Claude 3.5 Sonnet
Anthropic
Complex analysis
Grok Beta
xAI
Fast & versatile
Gemini Pro
Google
Production workloads
Command R+
Cohere
Enterprise features
DeepSeek Pro
DeepSeek
Advanced capabilities
Ollama : No authentication required (local)
LM Studio : No authentication required (local)
Environment Variable Support
Variable
Provider
Usage
NOVA_API_KEY
Amazon Nova
Automatically used if API key not configured
OPENAI_API_KEY
BYO API
For custom OpenAI-compatible endpoints
OLLAMA_HOST
Ollama
Custom Ollama server URL
Choose Your Provider : Select from 8 supported providers in TestFox settings
Free Models Available : OpenRouter, Google Gemini, DeepSeek offer free tiers
Local Options : Ollama, LM Studio for offline privacy
Enterprise Options : Amazon Nova, Nvidia NIM for corporate environments
Configure in TestFox : Click "AI Config" in Test Control Center
Select Model : Choose from 300+ available models
Start Generating : Begin AI-powered test creation immediately!
Use Case
Recommended Provider
Reason
Beginners
OpenRouter
239+ models, free tier available
Enterprise
Amazon Nova
AWS integration, compliance, reliability
Privacy-Focused
Ollama
Local processing, no data sharing
High Performance
Nvidia NIM
GPU optimization, speed
Custom Integration
BYO API
Bring your own endpoint
Google Users
Google Gemini
Native Google integration
Budget Conscious
DeepSeek
Excellent free tier, powerful models
Test Categories (20+ Types)
TestFox covers the complete testing spectrum aligned with ISTQB standards :
Category
Description
Status
Smoke Tests
Critical path verification
โ
Automated
Sanity Tests
Quick focused checks
โ
Automated
Regression Tests
Existing features still work
โ
Automated
โ๏ธ Functional Testing
Category
Description
Status
Functional Tests
Feature behavior validation
โ
Automated
API Tests
REST/GraphQL endpoints
โ
Automated
UI/E2E Tests
User interface journeys
โ
Automated
Integration Tests
Component interactions
โ
Automated
Database Tests
Data integrity & CRUD
โ
Automated
๐ก๏ธ Non-Functional Testing
Category
Description
Status
Security Tests
OWASP Top 10, XSS, SQLi
โ
Automated
Performance Tests
Response times, metrics
โ
Automated
Load Tests
Concurrent users
โ
Automated
Accessibility Tests
WCAG 2.1 compliance
โ
Automated
๐ง Backend Testing (10 Categories)
Category
Description
Status
Idempotency Tests
Duplicate request handling
โ
Automated
Webhook Tests
Async event ordering
โ
Automated
Concurrency Tests
Race condition detection
โ
Automated
State Integrity Tests
Data consistency validation
โ
Automated
Reliability Tests
Resilience & duplicate handling
โ
Automated
Failure Recovery Tests
Partial failure & self-healing
โ
Automated
API Contract Tests
Schema validation
โ
Automated
Stability Tests
Retry storm protection
โ
Automated
Compliance Tests
GDPR deletion propagation
โ
Automated
Observability Tests
PII leak detection
โ
Automated
๐ณ Payment Testing (4 Categories)
Category
Description
Status
Payment Flow Tests
Checkout & subscription flows
โ
Automated
Card Validation Tests
Luhn algorithm, expiry, CVC
โ
Automated
Security Tests
3D Secure, fraud detection
โ
Automated
Webhook Tests
Payment provider webhooks
โ
Automated
๐ฏ Edge Cases & Boundaries
Category
Description
Status
Negative Tests
Invalid inputs, errors
โ
Automated
Boundary Tests
Min/max values
โ
Automated
Edge Case Tests
Unusual scenarios
โ
Automated
๐ค User Account Testing
Category
Description
Status
Account Creation
Registration flows
โ
Automated
Account Security
Session management
โ
Automated
Account Lifecycle
Full CRUD operations
โ
Automated
๐ก๏ธ Security Testing (OWASP Top 10)
TestFox performs comprehensive security analysis:
โ
SQL Injection - Detects database vulnerabilities
โ
Cross-Site Scripting (XSS) - Input/output sanitization
โ
CSRF Protection - Token verification
โ
Authentication Bypass - Login security
โ
Security Headers - CSP, HSTS, X-Frame-Options
โ
Sensitive Data Exposure - API key leaks, passwords
โ
Session Management - Cookie security
โ
Broken Access Control - Authorization checks
๏ฟฝ Backend Testing Suite
Comprehensive backend validation for distributed systems and APIs:
Test Type
Description
Example
Idempotency
Duplicate request handling
Same payment processed only once
Webhook Ordering
Async event sequencing
Order: payment_intent.created โ payment_intent.succeeded
Concurrency
Race condition detection
Two users reserving last inventory item
State Integrity
Data consistency validation
Order cancellation releases stock
Reliability
Resilience testing
Duplicate webhook ignored with idempotency key
Failure Recovery
Partial failure handling
Retry with exponential backoff
API Contract
Schema validation
OpenAPI spec compliance
Stability
Retry storm protection
Circuit breaker pattern validation
Compliance
Regulatory requirements
GDPR deletion propagation
Observability
PII leak detection
No credit card numbers in logs
๐ณ Payment Testing Suite
Complete payment integration testing for e-commerce applications:
Stripe - 3D Secure, webhooks, idempotency
PayPal - Checkout, subscriptions, disputes
Braintree - Hosted fields, vault, fraud protection
Test Type
Description
Card Validation
Luhn algorithm, expiry dates, CVC verification
Fraud Detection
Velocity checks, AVS, geolocation
3D Secure
SCA compliance, challenge flows
Webhooks
Signature verification, event ordering
Idempotency
Duplicate prevention, key validation
Subscriptions
Trial periods, billing cycles, proration
Disputes
Chargeback handling, evidence submission
๏ฟฝ Interactive Reports Dashboard
Generate beautiful, interactive web reports with:
๐ Real-time Progress - Live test execution updates
๐ Category Breakdown - Pie charts and statistics
๐ด Security Findings - Severity levels and recommendations
โก Performance Metrics - Response times visualization
๐ค AI Insights - Intelligent recommendations
๐ Export Options - HTML, PDF-ready printing
Open VS Code
Go to Extensions (Ctrl+Shift+X)
Search for "TestFox"
Click Install
1. Click the ๐ฆ TestFox icon in the Activity Bar
2. Click "AI Config" to set up your API key (optional)
3. Click "Analyze Project" to detect your project
4. Click "Generate Tests" to create test cases
5. Click "Run Tests" to execute
6. Click "View Report" for results
Command
Description
TestFox: Analyze Project
Detect project type and structure
TestFox: Generate Tests
AI-powered test generation
TestFox: Generate Test Category
Generate specific category (Backend, Payment, etc.)
TestFox: Run All Tests
Execute all test categories
TestFox: Run Test Category
Run specific category
TestFox: Generate Web Report
Open interactive dashboard
TestFox: Configure AI
Set up AI provider and model
TestFox: MCP Control
Open MCP Server control panel
TestFox: Install Browsers
Install Playwright browsers
TestFox: Open Test Control Center
Open test execution dashboard
TestFox: Pause/Resume/Stop Tests
Test execution control
Configure TestFox in VS Code settings (Ctrl+,):
๐ค AI Provider Configuration
{
"testfox.ai.enabled" : true ,
"testfox.ai.provider" : " openrouter" ,
"testfox.ai.model" : " google/gemini-2.0-flash-exp:free" ,
"testfox.ai.apiKey" : " " ,
"testfox.ai.baseUrl" : " https://openrouter.ai/api/v1"
}
๐ Available AI Providers
๐ง Environment Variables
Variable
Provider
Description
NOVA_API_KEY
Amazon Nova
Auto-detects Amazon Nova API key
OPENAI_API_KEY
BYO API
For custom OpenAI-compatible endpoints
OLLAMA_HOST
Ollama
Custom Ollama server URL
๐ฏ Model Selection Examples
// OpenRouter (239+ models)
{
"testfox.ai.provider" : " openrouter" ,
"testfox.ai.model" : " google/gemini-2.0-flash-exp:free"
}
// Amazon Nova
{
"testfox.ai.provider" : " amazon-nova" ,
"testfox.ai.baseUrl" : " https://api.nova.amazon.com/v1" ,
"testfox.ai.model" : " nova-2-lite-v1"
}
// Local Ollama
{
"testfox.ai.provider" : " ollama" ,
"testfox.ai.baseUrl" : " http://localhost:11434" ,
"testfox.ai.model" : " llama3.1:8b"
}
๐ช Full Configuration Example
{
"testfox.ai.enabled" : true ,
"testfox.ai.provider" : " openrouter" ,
"testfox.ai.model" : " google/gemini-2.0-flash-exp:free" ,
"testfox.ai.apiKey" : " your-api-key-here" ,
"testfox.ai.baseUrl" : " https://openrouter.ai/api/v1" ,
"testfox.ai.fallbackModel" : " meta-llama/llama-3.1-8b-instruct:free" ,
"testfox.browserHeadless" : true ,
"testfox.defaultTimeout" : 30000 ,
"testfox.securityTestLevel" : " standard" ,
"testfox.performanceThreshold" : 3000 ,
"testfox.automation.enabled" : true ,
"testfox.automation.interval" : " 1h"
}
๐ ISTQB-Aligned Testing Techniques
TestFox implements industry-standard testing methodologies:
โ
Boundary Value Analysis (BVA)
โ
Equivalence Partitioning
โ
Decision Table Testing
โ
State Transition Testing
โ
Use Case Testing
โ
Error Guessing
โ
Exploratory Testing
TestFox serves as the final quality gate before release:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Software Development Lifecycle โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ ๐ Requirements โ ๐ป Development โ ๐งช Unit Tests โ ๐ Review โ
โ โ
โ โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โ โ
โ โ ๐ฆ TestFox Quality Gate โ โ
โ โ โ โ
โ โ โ Smoke โ Functional โ Security โ Performance โ UAT โ โ
โ โ โ Backend โ Payment โ AI-Powered Analysis โ โ
โ โ โ 20+ Test Categories โ Multi-Language Support โ โ
โ โ โ MCP Servers โ Interactive Reports โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โ
โ ๐ Release โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ MCP Servers (Model Context Protocol)
TestFox integrates with MCP Servers for AI-powered test automation:
Server
Capabilities
Command
Playwright MCP
Browser automation, E2E tests, visual testing
mcpPlaywright
Fetch MCP
API testing, HTTP requests
mcpFetch
Chrome DevTools MCP
Performance analysis, network monitoring
mcpChromeDevTools
QA Use MCP
Comprehensive QA automation
mcpQAUse
๐ค AI-Powered Test Generation - Generate tests using natural language
๐ญ Playwright Integration - Automated browser testing
๐ฎ API Testing - REST/GraphQL endpoint validation
๐ง DevTools Analysis - Performance and network insights
๐ One-Click Execution - Run all MCP tests from control panel
VS Code 1.85.0 or higher
Node.js 18+ (for test execution)
Internet (for AI features - optional)
Contributions are welcome! Please visit our GitHub repository.
GitHub : github.com/senthazalravi/TestFox
Developed with โค๏ธ in Stockholm, Sweden
โญ Star us on GitHub
๐ Write a review on the VS Code Marketplace
๐ฌ Share with your developer friends
๐ฐ Sponsor our LLM credits and infrastructure
MIT License - see LICENSE file for details.
TestFox ๐ฆ - The Final Quality Gate
Making software testing intelligent, comprehensive, and accessible to everyone.