Java test-automation

Open-source Java projects categorized as test-automation

Top 23 Java test-automation Projects

test-automation
  1. Mockito

    Most popular Mocking framework for unit tests written in Java

    Project mention: How to Mock Static Methods With Mockito | dev.to | 2025-05-14

    Mocking static methods has been possible since Mockito 3.4.0. The procedure for mocking a static method is as follows:

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

    InfluxDB logo
  3. Karate

    Test Automation Made Simple

    Project mention: 🚀 10 Best Free API Testing Tools You Should Use in 2025 | dev.to | 2025-03-18

    📌 GitHub Repo: https://github.com/karatelabs/karate

  4. 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: One Container to Rule Them All - Until It Doesn’t | dev.to | 2025-03-11

    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:

  5. REST Assured

    Java DSL for easy testing of REST services

  6. spring-testing

    A Spring Boot application with lots of test examples

  7. instancio

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

  8. 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: End-to-End API Testing Guide and Best Practices | dev.to | 2025-02-18

    Getting the setup right is crucial for making E2E tests reflect actual use cases and catch critical issues effectively. In fact, a study by Testsigma found that organizations that carefully define test scenarios beforehand can reduce testing time by up to 60%.

  9. SaaSHub

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

    SaaSHub logo
  10. DeepfakeHTTP

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

  11. AREX Test

    Lightweight Java agent for traffic capture and replay, enhancing testing and debugging.

  12. JGiven

    Behavior-Driven Development in plain Java

    Project mention: Strategies to simplify your BDD step definitions | dev.to | 2024-11-08

    Although this approach doesn’t get rid of step definition methods, it simplifies tests from a different, sort of the opposite, perspective of what I introduced in the previous section. Instead of implementing your tests in Gherkin or similar files, and having to bother with step definition implementations, you implement tests as actual code in a Gherkin-like DSL (Domain Specific Language). This way you don’t have to touch any actual Gherkin file. That is what the JGiven framework aims to achieve, or at least how it fits into the topic of this article.

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

    Project mention: The streaming bridges — A Kafka, RabbitMQ, MQTT and CoAP example | dev.to | 2024-12-25

    Arquillian

  14. selenium-java-test-automation-architecture

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

  15. selenium4poc

    Learn Web Automation testing using Selenium Webdriver 4.

  16. unlogged-sdk

    Unlogged SDK for recording JAVA code execution

  17. authentication-microservice-with-domain-driven-design

    Microservice for authentication with Domain Driven Design and CQRS

  18. boyka-framework

    🎉 Ultimate test automation framework for automating any application on any platform

    Project mention: Restful-Ecommerce - A simple demo node E-Commerce application for practising API Testing | dev.to | 2024-09-11

    Learn API Test Automation using tools and frameworks like SuperTest, Rest-Assured, Playwright, Cypress, Boyka-Framework, etc.

  19. beanmother

    A library for setting up Java objects as test data.

  20. INGenious

    INGenious Playwright Studio

    Project mention: INGenious Playwright Studio – Test Automation for Everyone | news.ycombinator.com | 2024-09-09
  21. playwright-java-test-automation-architecture

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

  22. pojo-tester

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

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

  24. selenium-java-browser-factory

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

  25. junit5-before-after-all

    Project that shows how to deal with general pre and postconditions using JUnit5

    Project mention: How to simulate real BeforeAll and AfterAll in JUnit 5 | dev.to | 2024-07-05

    The https://github.com/eliasnogueira/junit5-before-after-all project shows the implementation based on this article’s explanation matching the diagram in “The example” section.

  26. 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 discussion

Log in or Post with

Java test-automation related posts

  • End-to-End API Testing Guide and Best Practices

    4 projects | dev.to | 18 Feb 2025
  • The Importance of Testing and the Impact of a Bug in Production

    5 projects | dev.to | 11 Nov 2024
  • Top Resources to Learn Testcontainers

    18 projects | dev.to | 15 Oct 2024
  • Level up your Karate Testing with Spring Boot DI

    2 projects | dev.to | 21 Jul 2024
  • Arquillian 1.7 finally released!

    1 project | /r/java | 4 May 2023
  • Cucumber Maintainer out of Job and future of the project is uncertain

    3 projects | news.ycombinator.com | 3 Mar 2023
  • Interview

    1 project | /r/ProgrammerHumor | 27 Nov 2022
  • A note from our sponsor - SaaSHub
    www.saashub.com | 23 May 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 Mockito 15,150
2 Karate 8,547
3 Testcontainers 8,223
4 REST Assured 6,967
5 spring-testing 1,151
6 instancio 1,020
7 testsigma 979
8 DeepfakeHTTP 513
9 AREX Test 494
10 JGiven 446
11 arquillian-core 383
12 selenium-java-test-automation-architecture 205
13 selenium4poc 195
14 unlogged-sdk 183
15 authentication-microservice-with-domain-driven-design 182
16 boyka-framework 131
17 beanmother 118
18 INGenious 96
19 playwright-java-test-automation-architecture 91
20 pojo-tester 53
21 bdd-for-all 51
22 selenium-java-browser-factory 26
23 junit5-before-after-all 1

Sponsored
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.
www.influxdata.com

Did you know that Java is
the 8th most popular programming language
based on number of references?