Java unit-testing

Open-source Java projects categorized as unit-testing

Top 15 Java unit-testing Projects

  • robolectric

    Android Unit Testing Framework

  • Truth

    Fluent assertions for Java and Android

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • java-dns-cache-manipulator

    🌏 A tiny 0-dependency thread-safe Java™ lib for setting/viewing dns programmatically without touching host file, make unit/integration testing portable; and a tiny tool for setting/viewing dns of running JVM process.

  • instancio

    A library that creates fully populated objects for your unit tests.

  • Project mention: Any library you would like to recommend to others as it helps you a lot? For me, mapstruct is one of them. Hopefully I would hear some other nice libraries I never try. | /r/java | 2023-05-27

    Instancio for generating test data AssertJ Awaitility Quarkus FluentJdbc: a thin wrapper around jdbc, you can use it as an alternative for JPA and I use it in Quarkus

  • otj-pg-embedded

    Java embedded PostgreSQL component for testing

  • Project mention: Testcontainers | news.ycombinator.com | 2024-02-27

    Anyone have an opinion of embedded-postgres vs https://github.com/opentable/otj-pg-embedded (of which its a fork) for Clojure use?

  • System Rules

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

  • XMLUnit

    XMLUnit for Java 2.x

  • 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
  • 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.

  • Mediateka

    The app demonstrates principles of usecases with RxJava2 , Dagger2 , Room , MVP , Mockito and Clean Architecture in Android. 📚

  • java-tutorials

    📝 A repository containing different java tutorials

  • shared-preferences-mock

    Library for unit testing shared preferences classes on Android

  • Project mention: Evolution of unit tests in Android | dev.to | 2023-10-22

    Shared preferences mock

  • HttpClientMock

    Library for mocking Java 11 HttpClient.

  • Deep Dive

    Fluent assertions library for Java (by jdlib)

  • unit-testing-backward-compatibility-of-messages-example

    Unit testing backward compatibility of messages example

  • instancio-samples

    Instancio sample projects

  • 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 unit-testing related posts

Index

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

Project Stars
1 robolectric 5,792
2 Truth 2,693
3 java-dns-cache-manipulator 849
4 instancio 744
5 otj-pg-embedded 665
6 System Rules 543
7 XMLUnit 285
8 kid-bank 97
9 Mediateka 38
10 java-tutorials 32
11 shared-preferences-mock 31
12 HttpClientMock 19
13 Deep Dive 7
14 unit-testing-backward-compatibility-of-messages-example 2
15 instancio-samples 1

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com