# 扩展模型

- [概述](https://doczhcn.gitbook.io/junit5/index/index-4/overview.md)
- [注册扩展](https://doczhcn.gitbook.io/junit5/index/index-4/registration.md)
- [有条件的测试执行](https://doczhcn.gitbook.io/junit5/index/index-4/conditions.md)
- [测试实例后处理](https://doczhcn.gitbook.io/junit5/index/index-4/test-instance-post-processing.md)
- [测试生命周期回调](https://doczhcn.gitbook.io/junit5/index/index-4/lifecycle-callbacks.md)
- [异常处理](https://doczhcn.gitbook.io/junit5/index/index-4/exception-handling.md)
- [为测试模板提供调用上下文](https://doczhcn.gitbook.io/junit5/index/index-4/test-templates.md)
- [在扩展中维持状态](https://doczhcn.gitbook.io/junit5/index/index-4/keeping-state.md)
- [在扩展中支持的实用程序](https://doczhcn.gitbook.io/junit5/index/index-4/supported-utilities.md)
- [用户代码和扩展的相对执行顺序](https://doczhcn.gitbook.io/junit5/index/index-4/execution-order.md)


---

# Agent Instructions: 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:

```
GET https://doczhcn.gitbook.io/junit5/index/index-4.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
