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 | dev.to | 2023-01-18

    Mockito 5 Released (1 min)🎉 https://github.com/mockito/mockito/releases/tag/v5.0.0

  • 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 | dev.to | 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 | news.ycombinator.com | 2023-01-01

    Congrats on the launch ! I'm the lead dev of [Karate](https://github.com/karatelabs/karate) and was wondering if you had come across it. I strongly agree that collaboration should be [via Git](https://www.karatelabs.io/first-class-citizens) 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](https://plugins.jetbrains.com/plugin/19232-karate) and [VS Code](https://marketplace.visualstudio.com/items?itemName=karatela...).

    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? | dev.to | 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? | reddit.com/r/java | 2022-11-19

    This is my filtered list of open-source projects that I use for learning: https://github.com/codurance/academy-walking-skeleton/blob/main/simpleWebservice/src/main/java/com/kata/SimpleWebservice/UserRepository.java https://github.com/bwajtr/java-persistence-frameworks-comparison https://github.com/thombergs/code-examples/tree/master/spring-boot/spring-boot-testing https://github.com/codurance/all-aboard-backend https://github.com/codurance/gandalf https://github.com/codurance/hotel-kata-boot https://github.com/codurance/hotel-kata-monolith https://github.com/codurance/hotel-kata-raw https://github.com/codurance/mementor https://github.com/codurance/pouch https://github.com/codurance/Retropolis-BE https://github.com/codurance/SalarySlipKata https://github.com/codurance/sessionize https://github.com/codurance/task-list https://github.com/ddd-by-examples/factory https://github.com/doctore/Spring5Microservices https://github.com/eventuate-examples/eventuate-examples-java-customers-and-orders https://github.com/gitpushforcemain/nerdy-jokes-app https://github.com/gothinkster/spring-boot-realworld-example-app https://github.com/gtiwari333/spring-boot-web-application-sample https://github.com/hamvocke/spring-testing https://github.com/hmcts/spring-boot-template https://github.com/IBM/template-java-spring https://github.com/isd-soft https://github.com/jitterted/mobreg https://github.com/jref/covid-19-demo https://github.com/jref/vaccination-start https://github.com/lpalma/merlin https://github.com/mechero/full-reactive-stack https://github.com/mohamed-taman/Springy-Store-Microservices https://github.com/nelkinda https://github.com/OlgaMaciaszek/spring-cloud-netflix-demo https://github.com/pavelfomin/spring-boot-rest-example https://github.com/PravSonawane/fakes-over-mocks https://github.com/remal/java-tools https://github.com/remal/oss-template-java-gradle https://github.com/pavelfomin/resume/blob/master/resume.html.pdf https://github.com/richardjwild/how-to-java https://github.com/rieckpil/java-testing-ecosystem https://github.com/rieckpil/testing-spring-boot-applications-masterclass https://spring.io/guides https://www.javaguides.net/2022/03/spring-boot-unit-testing-service-layer.html?spref=tw https://github.com/spring-petclinic https://github.com/stratospheric-dev/stratospheric https://github.com/tericcabrel/spring-user-management https://github.com/thombergs/buckpal https://github.com/Throyer/springboot-api-rest-example https://github.com/TomSpencerLondon/Quiz https://github.com/vladmihalcea/high-performance-java-persistence https://github.com/Vukan-Markovic/Distributed-information-systems https://github.com/yacekmm/testingDemo https://github.com/kamaruzzaman https://github.com/evrentan?tab=repositories https://github.com/ConstantinKV/demo-sca-provider https://github.com/sqshq/piggymetrics https://github.com/ESchouten/CleanArchitecture https://github.com/CodelyTV/java-ddd-example https://github.com/lsoares/clean-architecture-sample https://github.com/mattia-battiston/clean-architecture-example https://github.com/techyourchance https://github.com/ttulka/ddd-example-ecommerce-microservices https://github.com/ttulka/ddd-example-ecommerce https://github.com/victorrentea/clean-architecture https://github.com/victorrentea/clean-code-java https://github.com/victorrentea/ddd https://github.com/victorrentea/integration-testing-spring

  • 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 | reddit.com/r/softwaretesting | 2022-11-18

    You should check out Testsigma. They are open source. https://testsigma.com/

  • 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? | reddit.com/r/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 | reddit.com/r/java | 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. | reddit.com/r/opensource | 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 | dev.to | 2022-08-20

    The full BrowserDriver implementation can be found at https://github.com/eliasnogueira/selenium-java-browser-factory/blob/master/src/main/java/com/eliasnogueira/driver/BrowserFactory.java

  • 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

Index

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
www.saashub.com