AI Test Case Generator

Generate comprehensive test cases from requirements and screenshots using OpenAI's powerful AI models worldwide

Key Features

Upload requirements and screenshots to generate comprehensive test cases with AI

📄

Document Upload

Upload requirement documents in TXT, DOCX, or PDF format for AI analysis and test case generation.

📸

Screenshot Analysis

Upload UI screenshots for visual context using GPT-4o-mini vision model to generate relevant test cases.

🎯

Type Selection

Choose specific test case types: Functional, Security, Performance, API, UI/UX, and more.

📊

Batch Generation

Generate 5 comprehensive test cases per batch with option to continue generating more.

📋

Export & Traceability

Export test cases to CSV format and view requirement traceability matrix for complete coverage.

🐳

Easy Deployment

Fully containerized with Docker Compose for one-command deployment and setup.

Technology Stack

Built with modern technologies for reliable test case generation

🤖

OpenAI GPT-3.5-turbo

AI model for test generation

👁️

GPT-4o-mini Vision

Screenshot analysis

FastAPI

Backend API framework

⚛️

React.js

Frontend user interface

🐘

PostgreSQL

Database storage

🐳

Docker

Containerization

Quick Start

Get started with the AI Test Case Generator in minutes

Installation

# Clone the repository
git clone https://github.com/CODEWAVE-TECHNOLOGIES-SDN-BHD/ai-test-case-generator.git

# Navigate to the project directory
cd ai-test-case-generator

# Set your OpenAI API key
export OPENAI_API_KEY="your-openai-api-key"

Docker Deployment

# Start the application with Docker Compose
docker-compose up -d

# Access the application at http://localhost:3000
# Backend API available at http://localhost:8000

How to Use

1. Upload Requirements

# Upload your requirement documents
# Supported formats: TXT, DOCX, PDF
# Documents will be analyzed by AI

2. Add Screenshots (Optional)

# Upload UI screenshots (optional)
# Supported formats: PNG, JPG, JPEG
# Analyzed by GPT-4o-mini vision model

3. Select Test Types

# Select test case types:
# - Functional Testing
# - Security Testing
# - Performance Testing
# - API Testing
# - UI/UX Testing

4. Generate & Export

# Generate test cases in batches of 5
# Export to CSV format
# View requirement traceability matrix
# Continue generating more if needed