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

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

  • 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 | news.ycombinator.com | 2024-02-27

    except the parent is wrong (at least the Java impl). see:

    https://github.com/testcontainers/testcontainers-java/blob/m...

    https://github.com/testcontainers/testcontainers-java/blob/m...

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

    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

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

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

    Project mention: Arquillian 1.7 finally released! | /r/java | 2023-05-04
  • 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 | news.ycombinator.com | 2023-10-30

    Hello HN! Parth, and Shardul here. We have been building unlogged.io 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.

    Git: https://github.com/unloggedio/unlogged-sdk

    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)

    Git: https://github.com/unloggedio/intellij-java-plugin

    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: https://plugins.jetbrains.com/plugin/18529-unlogged/

    Record and Replay Demo: https://www.youtube.com/watch?v=muCyE-doEB0

    Define Assertions on Replay: https://www.youtube.com/watch?v=YKsi1p634-M

    Track Code Coverage: https://www.youtube.com/watch?v=NMmp954kfaU

    Generate JUnit Test Cases: https://www.youtube.com/watch?v=rTUmg5b1Z_Q

    Mocking when replaying: https://www.youtube.com/watch?v=O_aqU1u-Kmw

    Documentation: http://read.unlogged.io/

    Roadmap:

    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

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 2024-02-27.

Java test-automation related posts

Index

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

Project Stars
1 Mockito 14,515
2 Karate 7,807
3 Testcontainers 7,704
4 REST Assured 6,685
5 spring-testing 981
6 testsigma 817
7 instancio 733
8 DeepfakeHTTP 502
9 JGiven 424
10 arquillian-core 363
11 selenium-java-test-automation-architecture 180
12 authentication-microservice-with-domain-driven-design 164
13 selenium4poc 153
14 unlogged-sdk 128
15 beanmother 113
16 playwright-java-test-automation-architecture 60
17 pojo-tester 52
18 bdd-for-all 50
19 selenium-java-browser-factory 25
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com