# Introduction

## 介绍

JUnit 5是JUnit的下一代。目标是为JVM上的开发人员端测试创建一个最新的基础。这包括专注于Java 8及更高版本，以及启用许多不同风格的测试。

JUnit 5团队于2017年9月10日发布了第一个\[GA版本 5.0.0]\[ga]。

这里是Junit5官方文档的中文翻译版，由[doczh.cn](http://doczh.cn/)组织翻译并更新维护。

文档内容发布于gitbook，请点击下面的链接阅读或者下载电子版本:

* 在线阅读
  * [国外服务器](https://doczhcn.gitbooks.io/junit5/)：gitbook提供的托管，服务器在国外，速度比较慢，偶尔被墙，HTTPS
  * 国内服务器：~~腾讯云加速，国内网速极快，非HTTPS~~ 即将推出
* [下载pdf格式](https://www.gitbook.com/download/pdf/book/doczhcn/junit5)
* [下载mobi格式](https://www.gitbook.com/download/mobi/book/doczhcn/junit5)
* [下载epub格式](https://www.gitbook.com/download/epub/book/doczhcn/junit5)

本文内容可以任意转载，但是需要注明来源并提供链接。

**请勿用于商业出版**。

## doczh.cn

doczh.cn是一个纯技术的，面向技术社区，非商业性质的组织，专注于IT产品的中文文档翻译。

<http://doczh.cn/>

如果对文档翻译工作感兴趣，欢迎加入，也欢迎为现有文档的改善提供帮助。


---

# 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/master.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.
