> ## Documentation Index
> Fetch the complete documentation index at: https://docs.noqa.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Test Cases

> Use natural language in instructions for the AI agent.

## Where to create

Go to Dashboard → Test Cases → "Add test case".

## Structure

A test case has a title, one or more flows, and optional tags.

**Flows**

* **Instructions** — natural language description of what the agent should do.
* **Expected result** — what the agent should verify after completing the instructions. If not set, the agent only checks that the flow completed without errors.
* **Reusable flows** — instead of writing instructions from scratch, you can reference a reusable flow. Reusable flows are managed in Dashboard → Reusable Flows. When a reusable flow is updated, all test cases that reference it are updated automatically.

## Configuration

Open the **Configuration** tab of a test case for advanced options.

* **Appium Capabilities** — pass custom Appium capabilities to control how the app starts for this case, such as installing the app without launching it. See [Appium Capabilities](/guide/best-practices-appium-capabilities) for when and how to use them.

<Tip>For tips on writing effective test cases, see [Writing Good Test Cases](/guide/writing-test-cases).</Tip>
