Top Java Testing Libraries 2025

GitHub Libraries Java Testing Libraries

seleniumhq/selenium 31K +93

Added by sizovs added 2 weeks ago

A browser automation framework and ecosystem.

testcontainers/testcontainers-java 8K +8

Added by sizovs added 1 month ago

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.

rest-assured/rest-assured 6K +5

Added by sizovs added 1 month ago

Java DSL for easy testing of REST services.

wiremock/wiremock 6K +12

Added by sizovs added 1 month ago

A tool for mocking HTTP services.

allure-framework/allure2 4K +35

Added by sizovs added 2 weeks ago

Allure Report is a flexible, lightweight multi-language test reporting tool.

awaitility/awaitility 3K

Added by sizovs added 1 month ago

Awaitility is a DSL that allows you to express expectations of an asynchronous system in a concise and easy-to-read manner.

spockframework/spock 3K -1

Added by sizovs added 1 month ago

The Enterprise-ready testing and specification framework.

assertj/assertj 2K

Added by sizovs added 1 month ago

A library providing easy to use rich typed assertions.

google/jimfs 2K +9

Added by sizovs added 1 month ago

Jimfs is an in-memory file system for Java 8 and above, implementing the java.nio.file abstract file system APIs.

selenide/selenide 1K

Added by sizovs added 2 weeks ago

Concise UI Tests with Java!

j-easy/easy-random 1K +1

Added by sizovs added 2 weeks ago

The simple, stupid random Java beans/records generator

datafaker-net/datafaker 1K +11

Added by sizovs added 1 month ago

Generating fake data for the JVM (Java, Kotlin, Groovy) has never been easier!

apache/groovy-geb 1K +1

Added by sizovs added 2 weeks ago

Geb is a browser automation solution. It brings together the power of WebDriver, the elegance of jQuery content selection, the robustness of Page Object modelling and the expressiveness of the Groovy.

pact-foundation/pact-jvm 1K

Added by sizovs added 1 day ago

JVM version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.

instancio/instancio 984 +5

Added by sizovs added 2 weeks ago

A library that creates fully populated objects for your unit tests.

Join libs.tech

...and unlock some superpowers

GitHub

We won't share your data with anyone else.