FLAGSHIP CASE STUDY

AI Test Case Generator

From requirements to reviewable test cases — PDF · Word · TXT · image · video in; structured AI generation; Test / Developer / Product Manager human review; Excel · Markdown · XMind out. Install via Docker, npm, OpenClaw, or local source.

AI Test Case Generator
  • PDF
  • Word
  • TXT
  • Image
  • Video
  1. Multimodal parse
  2. AI case generation
  3. Three-persona review loop
  4. Excel / Markdown / XMind export

01. Project Overview

This is the flagship Installable Quality Engineering product on this site: turn real requirement artifacts into reviewable QA deliverables. Generation always runs a human review loop with Test Manager · Developer Manager · Product Manager roles, scoring coverage / logic / executability / clarity / security (100 points; default threshold 90; max 5 rounds). Official docs: https://innonestx.github.io/testcase-generator/

02. Problem

Why build this?

Real requirements arrive as PDFs, Word specs, screenshots, and short videos. Hand-building scenarios and boundary cases is slow; raw LLM dumps lack coverage, executability, and security perspective — so QA teams cannot adopt them as-is.

03. Solution

How was it solved?

I built an installable multimodal generator: parse PDF / Word / TXT / image / video → AI-generate structured cases → run a structured human review loop (Test / Developer / Product Manager; multi-model config) → iterate with the scoring algorithm until threshold or max rounds → export Excel / Markdown / XMind. The same product supports four run modes: Docker, local source, npm global install, and OpenClaw plugin.

04. Architecture

System architecture

Product pipeline

  1. Multimodal inputs (PDF · Word · TXT · Image · Video)
  2. AI generation (configurable generator / reviewer / both)
  3. Structured scenarios and cases
  4. Human review: Test · Developer · Product Manager
  5. Scoring loop (threshold 90 · max 5 rounds) → export

Supported run modes

  1. Docker / Docker Compose (port 3456 web UI)
  2. Local source run (npm run build && npm run start)
  3. npm global install (testcase-generator --standalone)
  4. OpenClaw plugin (/testgen and generate_test_cases tool)

05. Key Features

Core capabilities

  • Multimodal intake: PDF, Word, TXT, images, and video (optional ffmpeg for frames)
  • Human review loop: Test Manager (coverage/executability) · Developer Manager (feasibility/security) · Product Manager (business/journey)
  • Scoring dimensions: Coverage 30 · Logic 20 · Executability 20 · Clarity 15 · Security 15
  • Multi-vendor model slots: Anthropic, OpenAI, DeepSeek, Qwen, Gemini, or custom OpenAI-compatible endpoints
  • Export to Excel, Markdown, and XMind; English and Chinese generation
  • Four install surfaces: Docker, local source, npm, OpenClaw plugin

06. My Role

What did I specifically do?

  • Owned product direction: installable quality tool, not a one-off demo notebook.
  • Designed the multimodal parse → AI generation → scored human review → export pipeline.
  • Shipped four run paths: Docker, local source, npm global, and OpenClaw plugin.
  • Wired review thresholds, max rounds, and QA-native export formats into the default runnable config.

07. Tech Stack

What technologies power it?

  • TypeScript
  • Express (Standalone Web)
  • Anthropic / OpenAI-compatible LLMs
  • Docker
  • npm
  • OpenClaw Plugin
  • Excel / Markdown / XMind export

09. Deployment

How do you run it?

Distribution centers on Docker, npm, and OpenClaw (local source is also supported). Docker pulls are collected live via the Docker Hub API Gateway.

  1. Docker: docker pull xuxuclassmate/testcase-generator:latest, set AI_PROVIDER + API key, map 3456, open http://localhost:3456.
  2. npm: npm install -g @classmatexuxu/testcase-generator, then testcase-generator --standalone.
  3. OpenClaw: openclaw plugins install -l /path/to/testcase-generator, configure models[] in config.yaml, use /testgen.
  4. Local source (no download counter): clone → npm install → configure .env → npm run build && npm run start.

12. Tradeoffs

  • Chose a scored human review loop (Test / Developer / Product Manager) over raw LLM dumps — coverage, executability, and security are first-class defaults.
  • Shipped Docker + source + npm + OpenClaw together so humans and agents share one product (Installable > Demoable).
  • Accepted multi-round review latency in exchange for Excel / Markdown / XMind artifacts QA teams already use.

13. What shipped

  • Flagship installable AI testing product on this portfolio
  • Four official run modes: Docker · source · npm · OpenClaw
  • Human review + score threshold baked into the default runnable config
  • Live proof via Docker pulls, npm downloads, and ClawHub installs

14. Inspectable proof

Interactive demo

Browser walkthrough of sample PRD → cases → human review — no live LLM required.

Open demo

Official docs

Model config, human review loop, scoring algorithm, and four install modes.

Open docs

Docker image

Local web UI for uploading PDF / Word / image / video and generating cases.

Docker Hub

Engineering note

How I built multimodal AI test case generation as an installable product.

Read note

Try it now

Explore → Try → Verify: start with the interactive demo (sample PRD → structured cases → human review), then install for real multimodal uploads.

The browser demo uses curated sample output — no live LLM. For PDF / Word / image / video upload on your machine, use Docker, npm, or local source per the official docs.

docker pull xuxuclassmate/testcase-generator:latest
# configure .env (AI_PROVIDER + API key), then:
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 \
  xuxuclassmate/testcase-generator:latest
# open http://localhost:3456

# or npm:
# npm install -g @classmatexuxu/testcase-generator
# testcase-generator --standalone

Contact:

Open for collaboration, consulting, and engineering opportunities.

  • AI Testing tools / ClawHub skill customization
  • QA / SDET consulting and team advisory
  • Test infrastructure / Docker environment enablement
  • Open-source collaboration with InnoNestX