• Java 98.3%
  • Kotlin 1.5%
  • Groovy 0.2%
Find a file
renovate[bot] 3bf7fd4770
Update Gradle to v9.6.0 (main) (#5781)
* Update Gradle to v9.6.0
* Fix Gradle deprecations
* Opt-in to feature preview to prepare for Gradle 10

---------

Co-authored-by: Marc Philipp <mail@marcphilipp.de>
2026-06-20 16:20:52 +00:00
.github Update actions/checkout action to v7 (#5778) 2026-06-19 08:45:47 +00:00
.idea Use icon that works well on light and dark backgrounds 2025-11-08 13:18:34 +01:00
documentation Update Gradle to v9.6.0 (main) (#5781) 2026-06-20 16:20:52 +00:00
gradle Update Gradle to v9.6.0 (main) (#5781) 2026-06-20 16:20:52 +00:00
junit-bom Update Gradle to v9.6.0 (main) (#5781) 2026-06-20 16:20:52 +00:00
junit-jupiter Generate Javadoc for aggregator modules 2026-06-20 18:08:57 +02:00
junit-jupiter-api Update Gradle to v9.6.0 (main) (#5781) 2026-06-20 16:20:52 +00:00
junit-jupiter-engine Update error-prone monorepo to v2.50.0 (main) (#5758) 2026-06-10 17:27:28 +00:00
junit-jupiter-migrationsupport Update Gradle to v9.6.0 (main) (#5781) 2026-06-20 16:20:52 +00:00
junit-jupiter-params Update Gradle to v9.6.0 (main) (#5781) 2026-06-20 16:20:52 +00:00
junit-platform-commons Update Gradle to v9.6.0 (main) (#5781) 2026-06-20 16:20:52 +00:00
junit-platform-console Register console launchers CustomClassLoader as parallel capable (#5682) 2026-05-22 14:00:03 +02:00
junit-platform-console-standalone Update Gradle to v9.6.0 (main) (#5781) 2026-06-20 16:20:52 +00:00
junit-platform-engine Update error-prone monorepo to v2.50.0 (main) (#5758) 2026-06-10 17:27:28 +00:00
junit-platform-launcher Update Gradle to v9.6.0 (main) (#5781) 2026-06-20 16:20:52 +00:00
junit-platform-reporting Access TestPlan directly 2026-03-17 12:57:36 +01:00
junit-platform-suite Generate Javadoc for aggregator modules 2026-06-20 18:08:57 +02:00
junit-platform-suite-api Update copyright headers 2026-01-06 15:38:29 +01:00
junit-platform-suite-engine Use minimal summary listener for Suite Engine (#5711) 2026-06-08 12:37:19 +02:00
junit-platform-testkit Return an immutable set from AbstractTestDescriptor::getChildren (#5639) 2026-05-04 00:18:23 +02:00
junit-start Update copyright headers 2026-01-06 15:38:29 +01:00
junit-vintage-engine Update Gradle to v9.6.0 (main) (#5781) 2026-06-20 16:20:52 +00:00
jupiter-tests Store one partial backup for each SystemPropertiesExtension context (#5764) 2026-06-15 01:47:46 +02:00
platform-tests Update Gradle to v9.6.0 (main) (#5781) 2026-06-20 16:20:52 +00:00
platform-tooling-support-tests Update Gradle to v9.6.0 (main) (#5781) 2026-06-20 16:20:52 +00:00
.editorconfig Add trim_trailing_whitespace and insert_final_newline to .editorconfig 2025-06-05 17:20:48 +02:00
.gitattributes Set merge strategy to union for release note files (#2892) 2022-04-16 13:33:56 +02:00
.gitignore Revert "Move .tool-versions to root dir so Renovate finds it" 2025-12-13 10:50:44 +01:00
.jitpack.yml Use JDK 25 to run Gradle and build the project 2025-09-19 12:40:43 +02:00
build.gradle.kts Update Gradle to v9.6.0 (main) (#5781) 2026-06-20 16:20:52 +00:00
CONTRIBUTING.md Adopt naming conventions for constant fields (#5554) 2026-04-20 21:17:32 +02:00
gradle.properties Reset API baseline 2026-05-19 22:06:01 +02:00
gradlew Update Gradle to v9.5.0 (main) (#5642) 2026-04-28 16:46:20 +00:00
gradlew.bat Update Gradle to v9.5.0 (main) (#5642) 2026-04-28 16:46:20 +00:00
KEYS Document release signing keys 2019-09-28 21:47:40 +02:00
LICENSE.md Revert "Rename license file to the liking of OpenSSF Scorecard check" 2024-10-22 15:56:58 +02:00
NOTICE.md Replace univocity-parsers with FastCSV (#4606) 2025-06-23 12:11:55 +02:00
README.md Update sponsors 2026-06-17 14:19:37 +02:00
RELEASING.md Switch to nmcp Gradle plugin for publishing to Maven Central (#5648) 2026-05-01 07:35:57 +00:00
SECURITY.md Update security policy to reflect 6.1 release 2026-05-19 19:51:12 +00:00
settings.gradle.kts Update Gradle to v9.6.0 (main) (#5781) 2026-06-20 16:20:52 +00:00

JUnit

This repository is the home of JUnit Platform, Jupiter, and Vintage.

Sponsors

Support JUnit

Latest Releases

  • General Availability (GA): JUnit 6.1.0 (May 19, 2026)
  • Preview (Milestone/Release Candidate): N/A

Documentation

Contributing

Contributions to JUnit 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-related questions on StackOverflow or use the Q&A category on GitHub Discussions.

Continuous Integration Builds

CI Cross-Version

Official CI build server 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 clean jacocoRootReport. The results will be available in build/reports/jacoco/jacocoRootReport/html/index.html.

Develocity

Revved up by Develocity

JUnit utilizes Develocity for Build Scans, Build Cache, and Predictive Test Selection.

The latest Build Scans are available on ge.junit.org. Currently, only core team members can publish Build Scans 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 25 to build JUnit. Gradle toolchains are used to detect and potentially download additional JDKs for compilation and test execution.

All modules can be built and tested with the Gradle Wrapper using the following command:

./gradlew build

All modules can be installed in a local Maven repository for consumption in other local projects via the following command:

./gradlew publishToMavenLocal

Dependency Metadata

JUnit Jupiter version JUnit Vintage version JUnit Platform version

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