Java test-automation

Open-source Java projects categorized as test-automation

Top 19 Java test-automation Projects

  • Mockito

    Most popular Mocking framework for unit tests written in Java

  • Karate

    Test Automation Made Simple

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

  • REST Assured

    Java DSL for easy testing of REST services

  • spring-testing

    A Spring Boot application with lots of test examples

  • testsigma

    A powerful open source test automation platform for Web Apps, Mobile Apps, and APIs. Build stable and reliable end-to-end tests @ DevOps speed.

  • instancio

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

  • SaaSHub

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

    SaaSHub logo
  • DeepfakeHTTP

    DeepfakeHTTP is a web server that uses HTTP dumps as a source for responses.

  • JGiven

    Behavior-Driven Development in plain Java

  • arquillian-core

    Arquillian provides a component model for integration tests, which includes dependency injection and container life cycle management. Instead of managing a runtime in your test, Arquillian brings your test to the runtime.

  • selenium-java-test-automation-architecture

    Ready-to-use UI Test Automation Architecture using Java and Selenium WebDriver.

  • authentication-microservice-with-domain-driven-design

    Microservice for authentication with Domain Driven Design and CQRS

  • selenium4poc

    Learn Web Automation testing using Selenium Webdriver 4.

  • 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

  • beanmother

    A library for setting up Java objects as test data.

  • playwright-java-test-automation-architecture

    Ready-to-use UI Test Automation Architecture using Java and Playwright.

  • pojo-tester

    Java testing framework for testing pojo methods. It tests equals, hashCode, toString, getters, setters, constructors and whatever you report in issues ;)

  • bdd-for-all

    Flexible and easy to use library to enable your behavorial driven development (BDD) teams to easily collaborate while promoting automation, transparency and reporting.

  • selenium-java-browser-factory

    Example of the Factory design pattern implementation to create browser instances using Selenium WebDriver

  • 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 test-automation related posts


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

Project Stars
1 Mockito 14,631
2 Karate 7,911
3 Testcontainers 7,816
4 REST Assured 6,736
5 spring-testing 1,053
6 testsigma 839
7 instancio 769
8 DeepfakeHTTP 503
9 JGiven 431
10 arquillian-core 365
11 selenium-java-test-automation-architecture 183
12 authentication-microservice-with-domain-driven-design 169
13 selenium4poc 166
14 unlogged-sdk 147
15 beanmother 113
16 playwright-java-test-automation-architecture 67
17 pojo-tester 52
18 bdd-for-all 49
19 selenium-java-browser-factory 25

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