Bump Gradle Enterprise plugins
1 file changed
tree: 3a3512a1c344a97b72dbe79bfe4f1f17dc3e1671
  1. .github/
  2. .idea/
  3. buildSrc/
  4. documentation/
  5. gradle/
  6. junit-bom/
  7. junit-jupiter/
  8. junit-jupiter-api/
  9. junit-jupiter-engine/
  10. junit-jupiter-migrationsupport/
  11. junit-jupiter-params/
  12. junit-platform-commons/
  13. junit-platform-console/
  14. junit-platform-console-standalone/
  15. junit-platform-engine/
  16. junit-platform-jfr/
  17. junit-platform-launcher/
  18. junit-platform-reporting/
  19. junit-platform-runner/
  20. junit-platform-suite/
  21. junit-platform-suite-api/
  22. junit-platform-suite-commons/
  23. junit-platform-suite-engine/
  24. junit-platform-testkit/
  25. junit-vintage-engine/
  26. platform-tests/
  27. platform-tooling-support-tests/
  28. src/
  29. .codecov.yml
  30. .gitattributes
  31. .gitignore
  32. build.gradle.kts
  35. gradle.properties
  36. gradlew
  37. gradlew.bat
  38. KEYS
  39. LICENSE-notice.md
  40. LICENSE.md
  41. README.md
  42. SECURITY.md
  43. settings.gradle.kts

JUnit 5

This repository is the home of the next generation of JUnit, JUnit 5.

Support JUnit

Latest Releases

  • General Availability (GA): JUnit 5.8.2 (November 28, 2021)
  • Preview (Milestone/Release Candidate): n/a



Contributions to JUnit 5 are both welcomed and appreciated. For specific guidelines regarding contributions, please see CONTRIBUTING.md in the root directory of the project. Those willing to use milestone or SNAPSHOT releases are encouraged to file feature requests and bug reports using the project's issue tracker. Issues marked with an up-for-grabs label are specifically targeted for community contributions.

Getting Help

Ask JUnit 5 related questions on StackOverflow or chat with the community on Gitter.

Continuous Integration Builds

CI Status Cross-Version Status

Official CI build server for JUnit 5. Used to perform quick checks on submitted pull requests and for build matrices including the latest released OpenJDK and early access builds of the next OpenJDK.

Code Coverage

Code coverage using JaCoCo for the latest build is available on Codecov.

A code coverage report can also be generated locally via the Gradle Wrapper by executing gradlew -PenableJaCoCo clean jacocoRootReport. The results will be available in build/reports/jacoco/jacocoRootReport/html/index.html.

Gradle Enterprise

Revved up by Gradle Enterprise

JUnit 5 utilizes Gradle Enterprise for Build Scans, Build Cache, and Test Distribution.

The latest Build Scans are available on ge.junit.org. Currently, only core team members can publish Build Scans and use Test Distribution on that server. You can, however, publish a Build Scan to scans.gradle.com by using the --scan parameter explicitly.

The remote Build Cache is enabled by default for everyone so that local builds can reuse task outputs from previous CI builds.

Building from Source

You need JDK 17 to build JUnit 5. Gradle toolchains are used to detect and potentially download additional JDKs for compilation and test execution.

All modules can be built with the Gradle Wrapper using the following command.

gradlew clean assemble

All modules can be tested with the Gradle Wrapper using the following command.

gradlew clean test

Since Gradle has excellent incremental build support, you can usually omit executing the clean task.

Installing in Local Maven Repository

All modules can be installed with the Gradle Wrapper in a local Maven repository for consumption in other projects via the following command.

gradlew clean publishToMavenLocal

Dependency Metadata

Consult the Dependency Metadata section of the User Guide for a list of all artifacts of the JUnit Platform, JUnit Jupiter, and JUnit Vintage.

See also https://repo1.maven.org/maven2/org/junit/ for releases and https://oss.sonatype.org/content/repositories/snapshots/org/junit/ for snapshots.