home/roleplay/prompt-05-test-cases

Prompt 05 Test Cases

GPTClaudeGemini··1,047 copies·updated 2026-07-14
prompt-05-test-cases.prompt
# prompt-05 — Test Cases

| Attribute | Detail |
| :--- | :--- |
| **Location** | `08-genai-test-acceleration/03-design-prompts/prompt-05-test-cases.md` |
| **Project** | Tricentis Demo Web Shop |
| **Version** | 1.0 |
| **STLC Phase** | Test Design |
| **GenAI Technique** | Prompt chaining · Structured prompt · Meta-prompting · HITL |
| **Reference** | CT-GenAI GenAI-2.1.1 / GenAI-2.1.2 / GenAI-2.2.2 |

## Artifact Description

A **test case** is a set of preconditions, inputs, actions, expected results, and postconditions, developed to cover a specific test objective. According to ISTQB CTFL v4.0, it is a *test design work product* that answers "how to test?" a test condition.

**Function in the STLC:** Converts each **`TCND`** into executable steps with a binary expected result.

**Input sources:** Approved `test-conditions.md`, design techniques from the Test Plan (**`EP`**, **`BVA`**, **`State Transition`**, **`Error Guessing`**), preliminary test data.

---

## Prompt

> [!TIP]
> 🔗 **Requires:** `system-prompt.md` + active `context-rules.md`. Input: completed `prompt-04-test-conditions.md`.

### Instruction

Generate test cases in collaboration with the tester:

1. For each **`TCND`**, propose the respective **`TC`** including precondition, steps, and expected result.
2. Identify the applied test design technique (**`EP`** / **`BVA`** / **`State Transition`** / **`Error Guessing`**).
3. Present each proposal to the tester for validation of steps and expected result before continuing.
4. Maximum of 3 test cases per exchange.

One step = one action. Expected result = verifiable in a binary manner. No subjective terms.

### Input data

when to use it

Community prompt sourced from the open-source GitHub repo LuisAdonais/istqb-manual-qa-ecommerce (NOASSERTION). A "Prompt 05 Test Cases" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

roleplaycommunitygeneral

source

LuisAdonais/istqb-manual-qa-ecommerce · NOASSERTION