# 依赖元数据

## JUnit Platform

* **Group ID**: `org.junit.platform`
* **Version**: `{{book.platformVersion}}`
* **Artifact IDs**:

| Artifact                            | 说明                                                                                                                                                                                                                                                     |
| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| junit-platform-commons              | <p>JUnit的内部公共库/工具。<br>这些工具预期仅用于在JUnit框架本身内部使用。<br><em>不支持任何外部使用</em>。使用它需要自己承担风险！</p>                                                                                                                                                                  |
| junit-platform-console              | <p>支持从控制台发现和执行JUnit Platform上的测试。<br>有关详情，请参阅<a href="/pages/-LHHxZQihICQLb14LaKy">控制台启动器</a></p>                                                                                                                                                      |
| `junit-platform-console-standalone` | <p>Maven Central中，在<br><a href="https://repo1.maven.org/maven2/org/junit/platform/junit-platform-console-standalone">junit-platform-console-standalone</a><br>目录下，提供了一个包含所有依赖的可执行JAR 。<br>有关详情，请参阅<a href="/pages/-LHHxZQihICQLb14LaKy">控制台启动器</a></p> |
| `junit-platform-engine`             | <p>用于test engine的公共API.<br>有关详细信息，请参阅<a href="/pages/-LHHxZR0r7NCKCGiIAbb#插入自己的测试引擎">插入自己的测试引擎</a>。</p>                                                                                                                                                |
| `junit-platform-gradle-plugin`      | 支持用[Gradle](/junit5/index/index-3/build.md#gradle)在JUnit Platform上发现和执行测试 。                                                                                                                                                                            |
| `junit-platform-launcher`           | <p>用于配置和启动test plan的公共API。<br> 通常被IDE和构建工具使用。<br>详情请参阅<a href="/pages/-LHHxZR0r7NCKCGiIAbb">JUnit Platform Launcher API</a>。</p>                                                                                                                       |
| `junit-platform-runner`             | <p>用于在JUnit 4环境中，在JUnit Platform上<br>执行test和test suite的运行程序。<br>有关详细信息，请参阅<a href="/pages/-LHHxZQjtwKXFCYbH6Lk">使用JUnit4运行JUnit平台</a>。</p>                                                                                                             |
| `junit-platform-suite-api`          | <p>在JUnit Platform上配置test suite的注解。 <br>由<a href="/pages/-LHHxZQjtwKXFCYbH6Lk">JUnitPlatform runner</a>转换器支持，<br>也可能由第三方 TestEngine实现。</p>                                                                                                             |
| `junit-platform-surefire-provider`  | <p>支持使用<a href="/pages/-LHHxZQhezCOy7fhPNxe#maven">Maven Surefire</a>在JUnit Platform上<br>发现和执行测试 。。</p>                                                                                                                                                |

## JUnit Jupiter

* **Group ID**: `org.junit.jupiter`
* **Version**: `{{book.jupiterVersion}}`
* **Artifact IDs**:

| Artifact ID                      | 说明                                                                                                                                                                                                                                                          |
| -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `junit-jupiter-api`              | JUnit Jupiter API，用来[编写测试](https://github.com/doczhcn/junit5/tree/dfdaeec4bbec44a13deafe218412ab241c6e8de6/guide/running-tests/README.md) 和[扩展](https://github.com/doczhcn/junit5/tree/dfdaeec4bbec44a13deafe218412ab241c6e8de6/guide/extensions/README.md) |
| `junit-jupiter-engine`           | JUnit Jupiter测试引擎实现，仅在运行时需要                                                                                                                                                                                                                                 |
| `junit-jupiter-params`           | 支持在JUnit Jupiter中[参数化测试](/junit5/index/index-2/parameterized-tests.md)                                                                                                                                                                                      |
| `junit-jupiter-migrationsupport` | <p>从JUnit4到JUnit Jupiter的迁移支持，<br>仅在运行选定的JUnit规则时需要</p>                                                                                                                                                                                                     |

## JUnit Vintage

* **Group ID**: `org.junit.vintage`
* **Version**: `{{book.vintageVersion}}`
* **Artifact IDs**:

| Artifact ID            | 说明                                                                                           |
| ---------------------- | -------------------------------------------------------------------------------------------- |
| `junit-vintage-engine` | <p>JUnit Vintage测试引擎实现，容许在新的JUnit Platform上<br>运行vintage JUnit测试，例如用JUnit3或者JUnit4风格写的测试</p> |

## 可选依赖

上面的所有构建，在他们发布的maven pom文件中，都有一个`可选`依赖，就是下面的@API Guardian JAR.

* *Group ID*: `org.apiguardian`
* *Artifact ID*: `apiguardian-api`
* *Version*: `{{book.apiguardianVersion}}`


---

# 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-1/dependency-metadata.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.
