The 5th major version of the programmer-friendly testing framework for Java and the JVM. JUnit 5 is the next generation of JUnit. The goal is to create an up-to-date foundation for developer-side testing on the JVM. This includes focusing on Java 8 and above, as well as enabling many different styles of testing. 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. The JUnit Platform serves as a foundation for launching testing frameworks on the JVM. It also defines the TestEngine API for developing a testing framework that runs on the platform. Furthermore, the platform provides a Console Launcher to launch the platform from the command line and the JUnit Platform Suite Engine for running a custom test suite using one or more test engines on the platform. First-class support for the JUnit Platform also exists in popular IDEs.

Features

  • JUnit Jupiter is the combination of the new programming model and extension model for writing tests and extensions in JUnit 5
  • The Jupiter sub-project provides a TestEngine for running Jupiter based tests on the platform
  • JUnit Vintage provides a TestEngine for running JUnit 3 and JUnit 4 based tests on the platform
  • Requires JUnit 4.12 or later to be present on the class path or module path
  • JUnit 5 requires Java 8 (or higher) at runtime
  • Test classes, test methods, and lifecycle methods are not required to be public, but they must not be private

Project Samples

Project Activity

See All Activity >

License

Eclipse Public License

Follow JUnit 5

JUnit 5 Web Site

Other Useful Business Software
Next-Gen Encryption for Post-Quantum Security | CLEAR by Quantum Knight Icon
Next-Gen Encryption for Post-Quantum Security | CLEAR by Quantum Knight

Lock Down Any Resource, Anywhere, Anytime

CLEAR by Quantum Knight is a FIPS-140-3 validated encryption SDK engineered for enterprises requiring top-tier security. Offering robust post-quantum cryptography, CLEAR secures files, streaming media, databases, and networks with ease across over 30 modern platforms. Its compact design, smaller than a single smartphone image, ensures maximum efficiency and low energy consumption.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of JUnit 5!

Additional Project Details

Programming Language

Java

Related Categories

Java Software Testing Tool, Java Frameworks, Java CI CD

Registered

2021-12-06