Java Junit

Open-source Java projects categorized as Junit

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.

  • Project mention: Testcontainers | | 2024-02-27

    except the parent is wrong (at least the Java impl). see:

  • junit5

    ✅ The 5th major version of the programmer-friendly testing framework for Java and the JVM

  • Project mention: Refactoring Multi-Module Kotlin Project With Konsist | | 2023-09-04

    To make the above check work we need to wrap it in JUnit test:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Truth

    Fluent assertions for Java and Android

  • javaee7-samples

    Java EE 7 Samples

  • PIT

    State of the art mutation testing system for the JVM

  • junit-quickcheck

    Property-based testing, JUnit-style

  • S3Mock

    A simple mock implementation of the AWS S3 API startable as Docker image, TestContainer, JUnit 4 rule, JUnit Jupiter extension or TestNG listener

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • JQF

    JQF + Zest: Coverage-guided semantic fuzzing for Java.

  • Project mention: CS 6120: Advanced Compilers: The Self-Guided Online Course | | 2024-03-03

    We are working on projects related with cybersecurity and compilers. A reference we look at is [1] and [2]. I think we can publish the results in the coming months.



  • System Rules

    A collection of JUnit rules for testing code which uses java.lang.System.

  • jqwik

    Property-Based Testing on the JUnit Platform

  • Project mention: Jqwik – Property-Based Testing on the JUnit Platform | | 2024-02-08
  • quickperf

    QuickPerf is a testing library for Java to quickly evaluate and improve some performance-related properties

  • java-ddd-example

    ♨️ DDD in Java skeleton & examples. Course:

  • LogCaptor

    🎯 LogCaptor captures log entries for unit and integration testing purposes

  • Project mention: LogCaptor: Simplificando o Teste de Logs em APIs REST Java | | 2024-03-12
  • vscode-java-test

    Run and debug Java test cases in Visual Studio Code.

  • testing-spring-boot-applications-masterclass

    🍃 Build Better Spring Boot Applications: A Comprehensive Testing Course to Boost Your Confidence and Productivity.

  • junit-dataprovider

    A TestNG like dataprovider runner for JUnit with many additional features

  • video-recorder-java

    This library allows easily record video of your UI tests by just putting couple annotations.

  • wiremock-spring-boot

    WireMock Spring Boot drastically simplifies testing HTTP clients in Spring Boot & Junit 5 based integration tests.

  • Project mention: Usando Spring Boot RestClient | | 2024-01-30
  • Sniffy

    Sniffy - interactive profiler, testing and chaos engineering tool for Java

  • unlogged-sdk

    Unlogged SDK for recording code execution

  • Project mention: Show HN: Unlogged (YC S22) – open-source record and replay for Java | | 2023-10-30

    Hello HN! Parth, and Shardul here. We have been building for the last 21 months. We started as a time travel debugger and pivoted to record and replay with assertions, mocking, and code coverage. You can save the replays in the form of a JSON and commit them to your git.

    Both Parth and I come from an e-commerce/payments background where production bugs meant heavy financial losses. Big billion days/Black Friday sales meant months of code freezes with low productivity. Before committing the code, we wanted to replay production traffic and know the breaking changes right away, like in sub-second. Kind of like unit+integration tests on steroids.

    So, we built an SDK that adds probes to the code in compile time. The SDK logs code execution, in detail.


    We also built an IDE plugin that keeps monitoring code changes, hot reloads these changes, replays the relevant methods, and alerts on failing replays. It also lets developers call Java methods directly, mock downstream methods in run time, highlight code coverage in real-time, and show performance numbers for methods with inlay hints. (right above each method)


    We are excited to launch the first version of our product that replays with assertions + mocking + code coverage reports right inside the IDE.

    Link to our IntelliJ plugin:

    Record and Replay Demo:

    Define Assertions on Replay:

    Track Code Coverage:

    Generate JUnit Test Cases:

    Mocking when replaying:



    1. Create a production logger

  • Scott Test Reporter

    Never debug a test again: Detailed failure reports and hassle free assertions for Java tests - Power Asserts for Java

  • kid-bank

    Now known as Kid Money Manager. It's not a real bank, but keeps track of your kid's earnings, savings, and spending. Watch me Live Code its development on Twitch.

  • springbootmicroservicedailybuffer

    Spring Cloud Example (API Gateway, Zipkin, Redis, Authentication, Config Server, Docker, Kubernetes )

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Java Junit related posts

  • CS 6120: Advanced Compilers: The Self-Guided Online Course

    1 project | | 3 Mar 2024
  • Jqwik – Property-Based Testing on the JUnit Platform

    1 project | | 8 Feb 2024
  • Usando Spring Boot RestClient

    4 projects | | 30 Jan 2024
  • Show HN: Unlogged (YC S22) – open-source record and replay for Java

    2 projects | | 30 Oct 2023
  • - Simplifying Kubernetes Journey for newbie’s

    1 project | /r/kubernetes | 12 Jul 2023
  • I just implemented a method that checks if a binary tree is symmetric, and now I want to test it with Junit. Do I need to manually create a bunch of trees, or is there an easier way?

    1 project | /r/learnjava | 2 Mar 2023
  • CORs Configuration?

    1 project | /r/SpringBoot | 3 Feb 2023
  • A note from our sponsor - SaaSHub | 30 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →


What are some of the best open-source Junit projects in Java? This list will help you:

Project Stars
1 Testcontainers 7,816
2 junit5 6,193
3 Truth 2,702
4 javaee7-samples 2,506
5 PIT 1,642
6 junit-quickcheck 951
7 S3Mock 784
8 JQF 640
9 System Rules 543
10 jqwik 536
11 quickperf 454
12 java-ddd-example 404
13 LogCaptor 345
14 vscode-java-test 282
15 testing-spring-boot-applications-masterclass 274
16 junit-dataprovider 243
17 video-recorder-java 215
18 wiremock-spring-boot 202
19 Sniffy 157
20 unlogged-sdk 147
21 Scott Test Reporter 136
22 kid-bank 98
23 springbootmicroservicedailybuffer 57

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives