Java Testing

Open-source Java projects categorized as Testing | Edit details

Top 23 Java Testing Projects

  • GitHub repo Selenium WebDriver

    A browser automation framework and ecosystem.

    Project mention: After Almost 3 Years Of Development, Selenium v4.0.0 Was Finally Released | news.ycombinator.com | 2021-10-13
  • GitHub repo Mockito

    Most popular Mocking framework for unit tests written in Java

    Project mention: JVM Testing Newsletter | June 2021 | dev.to | 2021-07-02

    Mockito 3.11.* releases

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo JUnit

    A programmer-oriented testing framework for Java.

    Project mention: Criando curso na EduTools | dev.to | 2021-10-07
  • GitHub repo Apache JMeter

    Apache JMeter

    Project mention: Jmeter throwing errors when I am trying to output graph | reddit.com/r/jmeter | 2021-06-18

    If you look at JMeter Source code you will see that this warning is being printed to log file when the results file doesn't contain any lines (is empty), most probably your fleet_date_ranges.csv is present but it doesn't contain any lines.

  • GitHub repo REST Assured

    Java DSL for easy testing of REST services

    Project mention: Contract-First Development Using RestAssured and OpenAPI | dev.to | 2021-04-09

    In this post, we will demonstrate how can OpenAPI be used in a RestAssured-based integration test to ensure that the API conforms to its specification.

  • GitHub repo 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: Testing integration of multiple images? | reddit.com/r/docker | 2021-09-19

    TestContainers looks Java specific... or are you talking about something else?

  • GitHub repo Karate

    Test Automation Made Simple

    Project mention: Testing your GraphQL API with Karate DSL | reddit.com/r/graphql | 2021-04-26

    Just posted this tutorial for unit testing a GraphQL API with Karate DSL (https://github.com/intuit/karate) - if you're interested in the code for the demo you can check that out here as well (https://github.com/martin-hasura/testing-hasura-api-karate).

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo WireMock

    A tool for mocking HTTP services

    Project mention: localstack - a fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline | reddit.com/r/programming | 2021-08-15

    I'm the one that introduced that functionality in https://github.com/tomakehurst/wiremock/pull/674. You're right that it can be PITA to maintain if you have tons of stub mappings. There's two things that I've found that help:

  • GitHub repo Moco

    Easy Setup Stub Server

  • GitHub repo PowerMock

    PowerMock is a Java framework that allows you to unit test code normally regarded as untestable.

  • GitHub repo MockServer

    MockServer enables easy mocking of any system you integrate with via HTTP or HTTPS with clients written in Java, JavaScript and Ruby. MockServer also includes a proxy that introspects all proxied traffic including encrypted SSL traffic and supports Port Forwarding, Web Proxying (i.e. HTTP proxy), HTTPS Tunneling Proxying (using HTTP CONNECT) and SOCKS Proxying (i.e. dynamic port forwarding).

  • GitHub repo Spock

    The Enterprise-ready testing and specification framework.

    Project mention: A linguagem de programação Groovy - Radar da itexto | dev.to | 2021-06-16
  • GitHub repo Java Faker

    Brings the popular ruby faker gem to Java

    Project mention: Reasons to avoid RandomStringUtils for test data generation | dev.to | 2021-10-15

    []JavaFaker](https://github.com/DiUS/java-faker) is an open-source library based on Faker to generate fake data.

  • GitHub repo Awaitility

    Awaitility is a small Java DSL for synchronizing asynchronous operations

    Project mention: AWS SQS with spring boot & Localstack with Junit Testing | dev.to | 2021-05-17

    awaitability: A tool to express expectations for asynchronous system in an easy and concise manner.

  • GitHub repo Truth

    Fluent assertions for Java and Android

    Project mention: Truthish: A Google Truth inspired library written for Kotlin MPP | reddit.com/r/Kotlin | 2021-05-14

    Hey all - I created a project for myself two years ago to experiment with MPP, based on Google Truth but rewritten in 100% Kotlin, which I called Truthish.

  • GitHub repo Cucumber

    Cucumber for the JVM

  • GitHub repo AssertJ

    AssertJ is a library providing easy to use rich typed assertions

    Project mention: How can I get rid of this warning? It's a warning for an "unchecked invocation". | reddit.com/r/learnjava | 2021-06-27

    At any rate it comes from a library called assertj.

  • GitHub repo ArchUnit

    A Java architecture test library, to specify and assert architecture rules in plain Java

    Project mention: Does anybody know any good materials for java defensive coding please?. | reddit.com/r/java | 2021-06-19
  • GitHub repo Hamcrest

    Java (and original) version of Hamcrest

  • GitHub repo TestNG

    TestNG testing framework

    Project mention: Reassessing TestNG vs. Junit | reddit.com/r/java | 2021-09-20

    Recently though we've run across a few issues with the asserts in TestNG. In 7.3.0, some changes broke assertSame/assertNotSame that also broke some of our tests. This was partially fixed in 7.4.0, but some overloads of assertEquals were still broken. This is fixed, but I don't think the fix has been delivered in a release yet. Further investigation revealed that at least one overload of assertNotEquals has been broken, apparently since 6.9.5 or even earlier.

  • GitHub repo Galen

    Layout and functional testing framework for websites

  • GitHub repo Selenide

    Concise UI Tests with Java!

    Project mention: This sounds like spam, but.... | reddit.com/r/softwaretesting | 2021-06-22

    Guys you should REALLY PAY ATTENTION to this. This is a free project. I've done TA and it works like magic. No more stale element exceptions and waiters and browser hussle.

  • GitHub repo PIT

    State of the art mutation testing system for the JVM

    Project mention: Fuzzing Java in OSS-Fuzz | news.ycombinator.com | 2021-03-10

    Another great tool is Pitest for mutation testing on the JVM (make coverage more meaningful) https://github.com/hcoles/pitest

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 2021-10-15.

Index

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

Project Stars
1 Selenium WebDriver 21,819
2 Mockito 12,278
3 JUnit 8,203
4 Apache JMeter 5,586
5 REST Assured 5,537
6 TestContainers 5,312
7 Karate 5,271
8 WireMock 4,662
9 Moco 3,801
10 PowerMock 3,645
11 MockServer 3,397
12 Spock 3,008
13 Java Faker 2,892
14 Awaitility 2,731
15 Truth 2,328
16 Cucumber 2,327
17 AssertJ 2,054
18 ArchUnit 1,932
19 Hamcrest 1,922
20 TestNG 1,671
21 Galen 1,407
22 Selenide 1,402
23 PIT 1,297
Find remote jobs at our new job board 99remotejobs.com. There are 34 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com