> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/powershell-universal/de/automatisierung/tests.md).

# Tests

{% hint style="info" %}
Diese Funktion erfordert eine [Lizenz](/powershell-universal/de/licensing.md).
{% endhint %}

PowerShell Universal ist mit dem Test-Framework [Pester ](https://pester.dev/)integriert, sodass Sie Testsuiten ausführen und Ergebnisse anzeigen können. Die Ergebnisse werden in der PowerShell Universal-Datenbank gespeichert, damit Sie historische Ergebnisse anzeigen können.

Sie können mit Tests arbeiten, indem Sie Automatisierung \ Tests aufrufen.

## Testerkennung

Testdateien werden anhand des Dateinamens ermittelt. Alle im Repository gefundenen Dateien, die auf `.Tests.ps1` enden, werden auf der Registerkarte Testdateien aufgelistet. Sie können neue Testdateien auf der Seite Automatisierung \ Skripte erstellen.

<figure><img src="/files/FuiAJtn1VZaB8ZehreEE" alt=""><figcaption><p>Testdateien</p></figcaption></figure>

## Testausführung

{% hint style="info" %}
Pester v5 oder höher muss installiert sein, um Tests auszuführen.
{% endhint %}

Tests können durch Klicken auf die Schaltflächen Test ausführen oder Alle Tests ausführen gestartet werden. Test ausführen führt die einzelnen Testdateien aus und Alle Tests ausführen führt alle Testdateien aus.

Sie haben die Möglichkeit, die Umgebung, die Anmeldeinformationen und den Computer für die Ausführung der Tests auszuwählen.

<figure><img src="/files/9PgkdwUkTeFgjp0PM0D8" alt=""><figcaption><p>Tests ausführen</p></figcaption></figure>

## Testergebnisse

Testergebnisse werden erzeugt, nachdem der Testlauf abgeschlossen ist. Sie können den Gesamtstatus des Testlaufs sowie das Ergebnis einzelner Testsuiten und Testfälle sehen.

<figure><img src="/files/e0DdazWbXDB3gpLZSI8C" alt=""><figcaption><p>Testergebnisse</p></figcaption></figure>


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.devolutions.net/powershell-universal/de/automatisierung/tests.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
