SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Java test-automation Projects
-
Mocking static methods has been possible since Mockito 3.4.0. The procedure for mocking a static method is as follows:
-
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.
-
📌 GitHub Repo: https://github.com/karatelabs/karate
-
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.
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:
-
-
-
-
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.
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%.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
-
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.
-
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-25Arquillian
-
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
-
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.
-
-
Project mention: INGenious Playwright Studio – Test Automation for Everyone | news.ycombinator.com | 2024-09-09
-
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
-
junit5-before-after-all
Project that shows how to deal with general pre and postconditions using JUnit5
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.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Java test-automation discussion
Java test-automation related posts
-
End-to-End API Testing Guide and Best Practices
-
The Importance of Testing and the Impact of a Bug in Production
-
Top Resources to Learn Testcontainers
-
Level up your Karate Testing with Spring Boot DI
-
Arquillian 1.7 finally released!
-
Cucumber Maintainer out of Job and future of the project is uncertain
-
Interview
-
A note from our sponsor - SaaSHub
www.saashub.com | 23 May 2025
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 |