Top 23 Java Testing Projects
A browser automation framework and ecosystem.Project mention: How would I go about creating a web scraper that returns info from the browser's console? | reddit.com/r/rails | 2021-04-07
This should be doable with Selenium
Most popular Mocking framework for unit tests written in JavaProject mention: Can we please stop downvoting people who dislike Rust? | reddit.com/r/rust | 2021-04-08
A lot of that magic on the JVM (Mockito / Spring Boot) relies on proxy objects that intercept method calls, and operate on them in a non-typesafe manner (working on Object args, and returning Object). When you use them, it looks type-safe, but under the hood it's all dynamic. Here is an example in Mockito: https://github.com/mockito/mockito/blob/ea000f72444ed4c7e409441aedc3021951b89660/src/main/java/org/mockito/internal/creation/bytebuddy/MockMethodInterceptor.java#L59.
Scout APM - Leading-edge performance monitoring starting at $39/month. 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.
A programmer-oriented testing framework for Java.
Java DSL for easy testing of REST servicesProject 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.
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.
Test Automation Made SimpleProject mention: Best frameworks for end to end testing (Java)? | reddit.com/r/AskProgramming | 2021-03-17
I can offer this - I use Karate (https://github.com/intuit/karate) to perform tests against the REST API in an ordered way, if necessary, such that the running backend (usually in an EC2 instance) can receive those requests in such an order that I can test end-to-end a whole process. The issue may be DB cleanup later (you may want to configure a script to restore a backed up version)
A tool for mocking HTTP services
Easy Setup Stub Server
PowerMock is a Java framework that allows you to unit test code normally regarded as untestable.
Cucumber monorepo - building blocks for Cucumber in various languages
The Enterprise-ready testing and specification framework.Project mention: Gradle 7.0 Released | reddit.com/r/java | 2021-04-09
Awaitility is a small Java DSL for synchronizing asynchronous operationsProject mention: Managing Cluster Membership with Etcd | dev.to | 2021-03-31
Given our new functionality to update the membership list, we can create a new test case where two nodes join the cluster and expect that to be reflected in the local state of each node eventually. Thanks to the Awaitility DSL we can conveniently wait for the eventual update to happen.
Brings the popular ruby faker gem to JavaProject mention: Test Data Factory: Why and How to Use | dev.to | 2021-01-04
For that I will introduce you JavaFaker, a is a library that can generate fake random data every time it’s called. For example: if you generate a name all the names generated will be different.
A flexible and scalable container based Selenium Grid with video recording, live preview, basic auth & dashboard.
Cucumber for the JVM
Fluent assertions for Java and Android
AssertJ is a library providing easy to use rich typed assertionsProject mention: Are you seriously not using Java 15 yet? | dev.to | 2021-02-10
It is also reminiscent of a feature of the AssertJ testing library.
Java (and original) version of Hamcrest
A Java architecture test library, to specify and assert architecture rules in plain JavaProject mention: ArchUnit | dev.to | 2021-01-20
TestNG testing framework
Layout and functional testing framework for websites
What are some of the best open-source Testing projects in Java? This list will help you: