Generate tests for your functions with one click! Supports multiple languages and test frameworks.
Features
🧪 One-click test generation - Click the button above any function to generate a test
🐍 Python support - pytest and unittest templates
🎨 Customizable templates - Configure your own test templates
📁 Smart file structure - Automatically creates test files in tests/ folder
🔧 Multiple frameworks - Support for different testing frameworks
Quick Start
Install the extension
Open a Python file with functions:
def calculate_sum(a, b):
return a + b
Click the "🧪 Generate Test" button above the function
Test file is created in tests/ folder
import pytest
def test_calculate_sum():
"""Test for calculate_sum function"""
# TODO: Add test implementation
# result = calculate_sum(a, b)
# assert result == expected_value
pass