> For the complete documentation index, see [llms.txt](https://docs.understand.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.understand.tech/documentation/english-version/apps/tcg-test-case-generator.md).

# TCG (Test Case Generator)

## What is TCG?

The **Test Case Generator (TCG)** is an AI-powered platform that automatically generates structured test cases from technical specifications. Upload a PDF or Word document describing your product requirements, and the platform extracts requirements, reasons over them, and produces a ready-to-use test suite including automation scripts.

***

## Who is this for?

| Role                | What you do                                                                                    |
| ------------------- | ---------------------------------------------------------------------------------------------- |
| **Admin Portal**    | Create and configure portals, manage access, set feature toggles, monitor analytics            |
| **End User Portal** | Upload specifications, generate test cases, edit and export results, create automation scripts |

***

## Core Capabilities

* **Standard Generation** - Full end-to-end extraction of requirements and test cases from a specification document
* **Delta Generation** - Generate only the test cases affected by changes between two document versions
* **Section Generation** - Generate test cases from a single section or pasted text
* **AI Quality Analysis** - Automatically detect duplicates, contradictions, and coverage gaps
* **Script Generation** - Produce executable automation scripts (pytest, Playwright, JUnit, etc.)
* **GitHub Integration** - Push generated scripts directly to a GitHub repository

***

## Platform Architecture

TCG uses a **multi-portal model**:

* Each **portal** is an isolated workspace with its own URL, branding, authentication, and feature configuration.
* **Admins** manage portals via `/admin`.
* **Users** access their portal via `/user/<portal-slug>`.

***

## Navigation

Use the sidebar to navigate to:

* **Admin Portal** - Everything an admin needs to set up and manage portals
* **End User Portal** - Everything a user needs to generate, review, and export test cases
