# JUnit

> The programmer-friendly testing framework for Java and the JVM

Source: https://talira.ai/catalog/junit-5m3wz291
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Framework, Library
- Categories: [developer tools / testing / frameworks](https://talira.ai/categories/developer-tools/testing/frameworks), [languages / java](https://talira.ai/categories/languages/java)
- Licence: EPL-2.0[^2]
- Pricing: Free and open source[^1]
- Pricing notes: Free under the Eclipse Public License 2.0, funded by sponsors. Commercial support from core team members is sold through OpenElements.
- Free tier: yes[^1]
- Self-hostable: yes[^3]
- Backed by: [JUnit Team](https://talira.ai/orgs/junit-team.md)

JUnit is the standard testing framework for [Java](https://talira.ai/catalog/java-4ptdc599.md) and the JVM. JUnit 6, the current generation, requires Java 17 (and Kotlin 2.1 for Kotlin tests) and is built on the JUnit Platform, which launches tests from IDEs and build tools such as Maven and Gradle, and runs several test engines side by side. Its Jupiter engine provides annotations such as @Test, @BeforeEach and @Nested, assertions and assumptions, parameterized and dynamic tests, tags and filtering, parallel execution, timeouts and an extension model, with a guide for migrating from JUnit 4. Artifacts are on Maven Central. Core team members offer commercial support through OpenElements.

## Links

- Website: https://junit.org/
- GitHub: https://github.com/junit-team/junit-framework
- Docs: https://docs.junit.org/current/user-guide/

## Problems it solves

- write unit tests for my Java code
- run the same test with many different inputs in Java
- run my JVM tests from Maven, Gradle and the IDE the same way
- migrate our old JUnit 4 tests to a modern Java test framework

## Features

- JUnit Platform for launching tests from IDEs and build tools
- Jupiter programming model with @Test, @Nested and lifecycle annotations
- assertions and assumptions
- parameterized and dynamic tests
- tags and test filtering
- parallel test execution
- extension model
- Kotlin support

## Trust

Overall: 0.70 out of 1.
Signals: maintenance 1.00, adoption 0.77, momentum 0.51, community 0.99, backing 0.30, extensibility 0.00.

- last commit yesterday
- 240 commits in the last 90 days
- latest release r6.1.3 3 months ago
- 7.1k GitHub stars
- 301 contributors
- accepts sponsorship (Github, Custom)
- backed by JUnit Team

## Related

- Works with [Java](https://talira.ai/catalog/java-4ptdc599.md)

## Sources

[^1]: https://junit.org/ (checked 24 Nov 2026)
[^2]: https://github.com/junit-team/junit-framework/blob/main/LICENSE.md (checked 24 Nov 2026)
[^3]: https://github.com/junit-team/junit-framework (checked 24 Nov 2026)
