Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more! Learn more β
Top 23 Java Junit Projects
-
Testcontainers
Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
There are a handful of ways to start Testcontainers, including JUnit4 annotations, JUnit5 annotations, ApplicationContextInitializer, JDBC URL scheme, and manual container lifecycle control. Let's choose manual control for now as the least "magic" option:
-
InfluxDB
InfluxDB β Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
A while ago I learned about test driven development, this I implemented for the first time while working on an Android app at a past job, I was using JUnit. Doing this came up after we got an audit regarding implementation of best practices at work.
-
-
-
Project mention: Year After Switching from Java to Go: Our Experiences | news.ycombinator.com | 2025-02-18
I think most of the tools on the second line are not highly applicable to a Kubernetes operator, or otherwise would just use the "Cloud Native way of doing things".
Something like JRebel would generally be a big no-no for Kubernetes, where the container image of the operator is expected be immutable (at least in terms of the code running in there). It may or may not be okay for developing an operator, but that's certainly venturing into a bit of an unknown territory.
VM agents and JMX are usually replaced by explicitly adding Open Telemetry support and/or a Prometheus endpoint. It's certainly more boilerplate and manual work, but so many more things are explicit in Go, that's just something you've got to buy into. If you're using Rust or Typescript this could be a lot more automated but that's not the case for Go.
Advanced profiling is probably something you'd have to give up, but I doubt a Spring shop would be deeply into profiling. The low hanging fruit is to just throw away spring and get an immediate 200%-400% performance boost.
But the JVM is still a more mature platform. Throughput is better on the JVM than on Go and some things are very troublesome in Go (basically anything that requires code generation).
My personal "cool tool" that I can run on the JVM but doesn't have a mature equivalent in Go is PIT[1] for mutation testing. But not everybody will be using mutation testing, just like not everybody will be using JRebel or JMX. And it doesn't mean everybody should. If you're a Spring a shop the thing you'll be probably missing most in Go would be things like Dependency Injection, Java-like ORMs, reflection magic and Spring Configuration Server.
[1] https://github.com/hcoles/pitest
-
-
-
Sevalla
Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
-
-
There's more to Proptest that I wrote in this post (but not much more), please check the documentation. But I hope this practical introduction will help you get started with the library in your projects. Also, check out similar libraries for different languages like the mentioned Hypothesis for Python or jqwik for Java.
-
-
quickperf
QuickPerf is a testing library for Java to quickly evaluate and improve some performance-related properties
-
-
spring-boot-testing-strategies
Sample project demonstrating different Test Strategies that can be followed when using Spring Boot.
Project mention: Mastering Java Backend: 17 Essential Spring Boot Resources for Developers | dev.to | 2025-06-21 -
-
wiremock-spring-boot
WireMock Spring Boot drastically simplifies testing HTTP clients in Spring Boot & Junit 5 based integration tests.
WireMock Spring Boot (1 min)π https://github.com/wiremock/wiremock-spring-boot
-
testing-spring-boot-applications-masterclass
π Master Spring Boot Testing: From Uncertain Deployments to Production Confidence
-
-
-
-
video-recorder-java
This library allows easily record video of your UI tests by just putting couple annotations.
-
-
-
Scott Test Reporter
Never debug a test again: Detailed failure reports and hassle free assertions for Java tests - Power Asserts for Java (by dodie)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Java Junit discussion
Java Junit related posts
-
7 Tips on how I Leverage AI and Still Write My Own Code
-
Important Notes on JUnit 5.12.0+ in Gradle
-
Exploring JUnit: A Model of Community, Innovation, and Sustainable Funding
-
Wednesday Links - Edition 2024-10-16
-
CS 6120: Advanced Compilers: The Self-Guided Online Course
-
Jqwik β Property-Based Testing on the JUnit Platform
-
Usando Spring Boot RestClient
-
A note from our sponsor - Sevalla
sevalla.com | 2 Sep 2025
Index
What are some of the best open-source Junit projects in Java? This list will help you:
# | Project | Stars |
---|---|---|
1 | Testcontainers | 8,306 |
2 | junit-framework | 6,778 |
3 | Truth | 2,769 |
4 | javaee7-samples | 2,511 |
5 | PIT | 1,756 |
6 | instancio | 1,049 |
7 | junit-quickcheck | 969 |
8 | JQF | 708 |
9 | jqwik | 617 |
10 | System Rules | 550 |
11 | quickperf | 517 |
12 | java-ddd-example | 474 |
13 | spring-boot-testing-strategies | 429 |
14 | LogCaptor | 411 |
15 | wiremock-spring-boot | 342 |
16 | testing-spring-boot-applications-masterclass | 319 |
17 | vscode-java-test | 307 |
18 | junit-dataprovider | 247 |
19 | java-stacksrc | 245 |
20 | video-recorder-java | 221 |
21 | unlogged-sdk | 189 |
22 | Sniffy | 166 |
23 | Scott Test Reporter | 138 |