Java Testing

Open-source Java projects categorized as Testing

Top 23 Java Testing Projects

  • Selenium WebDriver

    A browser automation framework and ecosystem.

  • Project mention: JS Toolbox 2024: Bundlers and Test Frameworks | dev.to | 2024-03-03

    Selenium is an extensively used open-source automation framework for web applications. It allows for cross-browser testing by automating browser actions, making it a staple tool for end-to-end testing in diverse web development environments.

  • Mockito

    Most popular Mocking framework for unit tests written in Java

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

    InfluxDB logo
  • JUnit

    A programmer-oriented testing framework for Java.

  • Project mention: Adding testing for my java project | dev.to | 2023-11-09

    Because I only wanna use the cmd java test, so I chose Junit4 which supports Plain-old JAR. I did test according to the Getting started document. But when I ran the javac -cp .:junit-4.XX.jar:hamcrest-core-1.3.jar CalculatorTest.java I got the error message CalculatorTest.java:4: error: package main does not exits. I tried to reorganize the folder and set Path according to others' experience 1, 2, but it still did not work.

  • Apache JMeter

    Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services

  • Project mention: Ask HN: What are you using for load testing? | news.ycombinator.com | 2024-04-23

    Usually, I would let organic users be my load test. However, I am working on a project that has an anticipated load on a new-to-my-team stack, so I'm looking into ways to load test.

    I've seen tools like k6 (https://k6.io/), Artillery (https://www.artillery.io), and JMeter (https://jmeter.apache.org/).

    I've been using Artillery, but it's hard to visualize the results.

    What do you use?

  • Karate

    Test Automation Made Simple

  • 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

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

    WorkOS logo
  • WireMock

    A tool for mocking HTTP services

  • Project mention: Fastify Meets WireMock: External Service Mocking | dev.to | 2024-02-13

    This article reveals how to integrate WireMock into Fastify with ease, enabling developers to effortlessly generate mock responses for external services. Join us as we explore the straightforward process of seamlessly integrating and optimizing Fastify applications using WireMock for enhanced testing capabilities.

  • Java Faker

    Brings the popular ruby faker gem to Java

  • Project mention: Leveling up your custom fake data with Faker.js | dev.to | 2024-01-27

    Faker was originally written in Perl and is also available as a library for Ruby, Java, and Python.

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

  • Project mention: Please recommend a good API Mocking tool | /r/node | 2023-05-16

    The open-source examples are mockoon, mock-server.com, etc.

  • Moco

    Easy Setup Stub Server

  • PowerMock

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

  • Awaitility

    Awaitility is a small Java DSL for synchronizing asynchronous operations

  • Spock

    The Enterprise-ready testing and specification framework.

  • Project mention: Mastering Spring Cloud Gateway Testing: Predicates (part 1) | dev.to | 2024-04-23

    I love using the Spock framework for its simplicity, readability, and maintainability. That's why we use Spock to drive our integration tests.

  • ArchUnit

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

  • Project mention: How to create Unit tests for code design? | dev.to | 2024-04-15

    More examples you can find at official user guide https://www.archunit.org/userguide/html/000_Index.html or at github repository https://github.com/TNG/ArchUnit

  • Jailer

    Database Subsetting and Relational Data Browsing Tool.

  • Project mention: Show HN: Jailer is a unique open-source database client tool | news.ycombinator.com | 2024-03-14
  • Truth

    Fluent assertions for Java and Android

  • Cucumber

    Cucumber for the JVM

  • AssertJ

    AssertJ is a library providing easy to use rich typed assertions

  • Hamcrest

    Java (and original) version of Hamcrest

  • TestNG

    TestNG testing framework

  • Selenide

    Concise UI Tests with Java!

  • PIT

    State of the art mutation testing system for the JVM

  • 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 Testing related posts

Index

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

Project Stars
1 Selenium WebDriver 29,279
2 Mockito 14,568
3 JUnit 8,500
4 Apache JMeter 7,913
5 Karate 7,846
6 Testcontainers 7,739
7 REST Assured 6,713
8 WireMock 6,084
9 Java Faker 4,559
10 MockServer 4,457
11 Moco 4,314
12 PowerMock 4,125
13 Awaitility 3,693
14 Spock 3,484
15 ArchUnit 3,053
16 Jailer 2,705
17 Truth 2,693
18 Cucumber 2,674
19 AssertJ 2,537
20 Hamcrest 2,083
21 TestNG 1,932
22 Selenide 1,780
23 PIT 1,627

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com