Sign inSign up

xuxuclassmate/testcase-generator

By xuxuclassmate

•Updated 6 months ago

AI-powered test case generation for PRDs, specs, and multimodal QA inputs

Image
0

1.7K

xuxuclassmate/testcase-generator repository overview

⁠testcase-generator

AI-powered test case generation for PRDs, specifications, and multimodal QA inputs

Version Docker Pulls

GitHub⁠ • Docker Hub⁠ • Releases⁠


⁠What It Does

Testcase Generator turns requirement documents and multimodal inputs into structured QA deliverables.

  • Accepts PDF, Word, TXT, images, and video
  • Runs a three-persona review loop: Test Manager Dev Manager Product Manager
  • Exports Excel, Markdown, and XMind
  • Supports English and Chinese output
  • Ships as a ready-to-run Docker image for standalone web usage

⁠Docker Quick Start

⁠1. Pull the image
docker pull xuxuclassmate/testcase-generator:latest
⁠2. Prepare your environment file
curl -O https://raw.githubusercontent.com/XuXuClassMate/testcase-generator/main/.env.example
cp .env.example .env

Edit .env and fill at least one API key:

AI_PROVIDER=anthropic
ANTHROPIC_API_KEY=sk-ant-...
LANGUAGE=en
ENABLE_REVIEW=true
REVIEW_THRESHOLD=90
MAX_REVIEW_ROUNDS=5
PORT=3456
OUTPUT_DIR=./testcase-output
⁠3. Run the container
docker run -d \
  --name testcase-generator \
  -p 3456:3456 \
  -e AI_PROVIDER=anthropic \
  -e ANTHROPIC_API_KEY=sk-ant-... \
  -e LANGUAGE=en \
  -e ENABLE_REVIEW=true \
  -e REVIEW_THRESHOLD=90 \
  -e MAX_REVIEW_ROUNDS=5 \
  -e OUTPUT_DIR=/data/testcase-output \
  -v testcase-generator-output:/data/testcase-output \
  xuxuclassmate/testcase-generator:latest

Open http://localhost:3456⁠.

⁠Docker Compose

If you prefer docker compose, use:

curl -O https://raw.githubusercontent.com/XuXuClassMate/testcase-generator/main/.env.example
cp .env.example .env
docker compose up -d

Stop the service with:

docker compose down

⁠Environment Variables

VariableDefaultDescription
AI_PROVIDERanthropicPrimary provider for env-based standalone startup
ANTHROPIC_API_KEYemptyAnthropic API key
OPENAI_API_KEYemptyOpenAI API key
DEEPSEEK_API_KEYemptyDeepSeek API key
LANGUAGEenUI, generation, and export language (en or zh)
ENABLE_REVIEWtrueEnable reviewer loop
REVIEW_THRESHOLD90Minimum review score before stopping
MAX_REVIEW_ROUNDS5Maximum review iterations
PORT3456Standalone web server port
OUTPUT_DIR./testcase-outputOutput directory for generated files

⁠Outputs

Generated sessions can export:

  • Excel
  • Markdown
  • XMind

The page language controls both the generated content language and the exported file language in standalone mode.

⁠Image Tags

  • xuxuclassmate/testcase-generator:latest
  • xuxuclassmate/testcase-generator:1.0.0

Tag summary

Content type

Image

Digest

sha256:09ee0dabc…

Size

132.5 MB

Last updated

6 months ago

docker pull xuxuclassmate/testcase-generator