Java test-automation

Open-source Java projects categorized as test-automation

Top 15 Java test-automation Projects

  • Mockito

    Most popular Mocking framework for unit tests written in Java

    Project mention: Wednesday Links - Edition 2023-01-18 | | 2023-01-18

    Mockito 5 Released (1 min)🎉

  • 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: Spring Cloud Gateway 4.0.0-RC2 native example with Testcontainers | | 2022-12-08

    This repository provides a BuildImageTest that uses the buildpack to create a native image. It then tests the native image, using Testcontainers and JUnit. Building the native image with AOT processing, as part of a test, takes minutes not seconds, and should not be part of normal "inner loop" development. So the BuildImageTest is in a separate sourceSet and can be executed independently. This is a very powerful pattern, that I'm just getting started with. I would love to hear your thoughts on this pattern or other alternatives to it.

  • Sonar

    Write Clean Java Code. Always.. Sonar helps you commit clean code every time. With over 600 unique rules to find Java bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • Karate

    Test Automation Made Simple

    Project mention: Lama2: Plain-Text Powered REST API Client for Teams | | 2023-01-01

    Congrats on the launch ! I'm the lead dev of [Karate]( and was wondering if you had come across it. I strongly agree that collaboration should be [via Git]( and the IDE and traditional solutions fall short. I hope Karate's syntax passes your "memory friendly" test :) We get regular feedback is that it is easy to read and even non-programmers can pick it up. One thing I feel we do really well is chaining of HTTP requests. And we have plugins for [IntelliJ]( and [VS Code](

    Maintaining a tool like this as open-source is hard, all the best !

  • REST Assured

    Java DSL for easy testing of REST services

    Project mention: How To Modify HTTP Request Headers In JAVA Using Selenium WebDriver? | | 2022-05-09

    The prerequisites to configure REST Assured with your project in any IDE (e.g., Eclipse) is fairly easy. After setting up Java, Eclipse, and TestNG, you would need to download the required REST Assured jar files.

  • spring-testing

    A Spring Boot application with lots of test examples

    Project mention: Any examples of a well designed Java web backend? | | 2022-11-19

    This is my filtered list of open-source projects that I use for learning:

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

    Project mention: Free no code automation tool like testproject or testim | | 2022-11-18

    You should check out Testsigma. They are open source.

  • DeepfakeHTTP

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

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • JGiven

    Behavior-Driven Development in plain Java

    Project mention: Is this asciidoc? | | 2022-02-18

    check out how JGiven is organizing their documentation you can clone their repo and do asciidoctor -o index.html index.adoc inside the docs/ directory

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

  • instancio

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

    Project mention: Instancio 2.2.0 released | | 2023-01-03

    I've been experimenting a little and will be adding support for method references in the next release. Here's issue link if you want to follow.

  • beanmother

    A library for setting up Java objects as test data.

  • selenium4poc

    Learn Web Automation testing using Selenium Webdriver 4.

    Project mention: Web Automation testing using Selenium Webdriver 4. | | 2022-07-30
  • 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

    Project mention: The best way to create browser instances using the Factory Pattern, Java, and Selenium WebDriver | | 2022-08-20

    The full BrowserDriver implementation can be found at

  • SaaSHub

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

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). The latest post mention was on 2023-01-18.

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 13,653
2 Testcontainers 6,761
3 Karate 6,714
4 REST Assured 6,212
5 spring-testing 852
6 testsigma 487
7 DeepfakeHTTP 450
8 JGiven 394
9 arquillian-core 340
10 instancio 263
11 beanmother 113
12 selenium4poc 92
13 pojo-tester 48
14 bdd-for-all 43
15 selenium-java-browser-factory 21
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives