> For the complete documentation index, see [llms.txt](https://docs.aqua-cloud.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aqua-cloud.io/documentation/de-documentation/aqua-intelligence/aqua-intelligence-testfalle-aus-anforderungen-oder-aus-dem-kontext-in-sekunden-erstellen/erstellen-von-testfallen-aus-einer-anforderung.md).

# Erstellen von Testfällen aus einer Anforderung

Navigieren Sie zu aqua und öffnen Sie eine vorhandene Anforderung oder erstellen Sie eine neue. Nachdem Sie diese bearbeitet haben, speichern Sie Ihr Element und klicken Sie auf die Schaltfläche „Test“ von aqua Intelligence.

<figure><img src="https://1531273042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG5QhcVbqFZtVzVvlkYfm%2Fuploads%2FLkcSZnmV1lzn65No0vUo%2Fimage%20(5).avif?alt=media&amp;token=0c2f2311-a83b-44de-a9a0-aa6a223c1cab" alt=""><figcaption></figcaption></figure>

Sobald das Modal erscheint, wird die Anforderung automatisch verknüpft.

<figure><img src="https://1531273042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG5QhcVbqFZtVzVvlkYfm%2Fuploads%2FHtISfmO1n9NUZbzud9Al%2Fimage%20(6).avif?alt=media&amp;token=3505c642-cb2b-461f-90d8-c5e7c8b5a8e1" alt=""><figcaption></figcaption></figure>

Sie können aqua Intelligence auch Kontext zur Verfügung stellen, damit die Anwendung Ihr Projekt oder die spezifischen Anforderungen besser versteht und Testfälle unter Berücksichtigung der hinzugefügten Informationen generiert. Dies umfasst beispielsweise ein Glossar von Wörtern, die einzigartig für Ihr Projekt sind, oder wichtige Informationen über das Produkt oder Gerät, das getestet wird.

<figure><img src="https://1531273042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG5QhcVbqFZtVzVvlkYfm%2Fuploads%2FTo6kg33Agb4wlTjJ2Zcw%2Fimage%20(7).avif?alt=media&amp;token=a0f96bc4-055b-4204-b768-c51aec60c096" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Wenn Sie einen Testfall für eine ausgewählte Anforderung allein anhand einer Beschreibung oder Datei erstellen möchten, können Sie dies einfach durch Auswahl der gewünschten Option tun.
{% endhint %}

Sie können auswählen, ob aqua Intelligence einen oder mehrere Testfälle generieren soll.

Für einen einzelnen Testfall können Sie Pfade definieren: *positiv* und *negativ*. Wenn Sie Mehrere auswählen, generiert die KI Ihre Testfälle mit positiven und negativen Pfaden.

Wenn Sie mehrere Testfälle erstellen, können Sie die erstellten Testfälle überprüfen und entscheiden, welche beibehalten und welche verworfen werden sollen.

<figure><img src="https://1531273042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG5QhcVbqFZtVzVvlkYfm%2Fuploads%2F1WENRgVyYPuoBZHZD0T8%2Fimage%20(8).avif?alt=media&amp;token=cadb0587-1ecd-423e-b826-9facb2791a28" alt=""><figcaption></figcaption></figure>

Um alle Testfälle zu sehen, verwenden Sie die Navigationspfeile

<figure><img src="https://1531273042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG5QhcVbqFZtVzVvlkYfm%2Fuploads%2FOtyMIKsCeeH0PzcuQE2W%2Fimage%20(9).avif?alt=media&amp;token=2098e5a1-6098-4110-a4b0-b7411bd9198e" alt=""><figcaption></figcaption></figure>

Hier ist ein weiterer raffinierter Trick. Sobald aqua Intelligence einen Test auf der Grundlage einer Anforderung generiert, wird dieser sofort als Abhängigkeit zur Anforderung hinzugefügt. Außerdem wird er als abgedeckt markiert.

<figure><img src="https://1531273042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG5QhcVbqFZtVzVvlkYfm%2Fuploads%2FFVAJSc7hzjAwAA08hP96%2Fimage.png?alt=media&amp;token=acb76c81-957a-45e4-af46-8ea45c1c8e84" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Wichtiger Hinweis:**\
Bitte beachten Sie, dass aqua Intelligence gelegentlich Fehler machen oder ungenaue Ergebnisse liefern kann. Wir empfehlen dringend, alle wichtigen Informationen auf ihre Richtigkeit zu überprüfen.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.aqua-cloud.io/documentation/de-documentation/aqua-intelligence/aqua-intelligence-testfalle-aus-anforderungen-oder-aus-dem-kontext-in-sekunden-erstellen/erstellen-von-testfallen-aus-einer-anforderung.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
