> For the complete documentation index, see [llms.txt](https://docs.labrador-kennel.io/async-unit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.labrador-kennel.io/async-unit/tutorials.md).

# Tutorials

- [Getting Started](https://docs.labrador-kennel.io/async-unit/tutorials/getting-started.md): TestCases are the fundamental building block in AsyncUnit. Write tests and use hooks to setup and tear down necessary state.
- [TestCase Hooks](https://docs.labrador-kennel.io/async-unit/tutorials/testcase-hooks.md): Hooks provide robust functionality to perform operations around each test. Provides equivalent of PHPUnit's setUp and tearDown methods... with full asynchronous support.
- [Test Suites](https://docs.labrador-kennel.io/async-unit/tutorials/test-suites.md): Organize TestCases and expose functionality for all of the associated TestCases in one place. A fundamental concept for integration testing capabilities provided by AsyncUnit!
- [Disabling Tests](https://docs.labrador-kennel.io/async-unit/tutorials/disabling-tests.md): Sometimes you might need to disable a test for a variety of reasons. With AsyncUnit you can disable your tests, TestCases, and TestSuites with the Disabled Attribute!
- [Data Providers](https://docs.labrador-kennel.io/async-unit/tutorials/data-providers.md): Sometimes tests need to make the same assertions over many different types of data. Using #\[DataProvider] can help reduce the amount of test duplication when you encounter this scenario.
- [Making Expectations](https://docs.labrador-kennel.io/async-unit/tutorials/making-expectations.md): Complex test suites need to make expectations about how a test might run that can't be accomplished with the assertion API. Learn how to use expectations as another form of validating tests.
- [Test Timeout](https://docs.labrador-kennel.io/async-unit/tutorials/test-timeout.md): Control runaway async code by ensuring that tests complete within a giving time period using the #\[Timeout] Attribute!


---

# 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.labrador-kennel.io/async-unit/tutorials.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.
