Java Test

Open-source Java projects categorized as Test Edit details

Top 19 Java Test Projects

  • Bazel

    a fast, scalable, multi-language and extensible build system

    Project mention: Incremental Builds for Haskell with Bazel | | 2022-06-23

    I migrated a mid-size polyglot project from Makefiles to Bazel and C++ was a large component of the project.

    Some obstacles:

    1. Building with QT5 MOC & UI files. There is a great library[0] for it but it has hardcoded paths to the QT binaries and header files assuming a system-wide installation. I had to patch the rule to point to our QT location. Then it worked fine.

    2. There is no rule to build a fully static library[1]. Since we were shipping a static library in our Makefile system, that was somewhat annoying.

    3. We were using system links like `$PROJECT_ROOT/links/GCC/vX.Y.Z/ -> /opt/gcc/...` to point to all the build tools, but these didn't work in Bazel I think because it required absolute paths for any binaries it calls. We ended up putting them in a .bazelrc but we would need a different one for Windows and Linux.

    4. Not good integration with IDEs

    Ultimately we did not keep using Bazel because we were building Python binaries and py_binary was too slow on Windows. And we didn't have enough time to write a PyInstaller rule.



  • REST Assured

    Java DSL for easy testing of REST services

    Project mention: How To Modify HTTP Request Headers In JAVA Using Selenium WebDriver? | | 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.

  • JetBrains

    Developer Ecosystem Survey 2022. Take part in the Developer Ecosystem Survey 2022 by JetBrains and get a chance to win a Macbook, a Nvidia graphics card, or other prizes. We’ll create an infographic full of stats, and you’ll get personalized results so you can compare yourself with other developers.

  • robolectric

    Android Unit Testing Framework

    Project mention: What should the View layer be responsible for in Android? | | 2022-04-22

    Do you use Robolectric to test string resolving?

  • robotium

    Android UI Testing

  • assertj-android

    A set of AssertJ helpers geared toward testing Android.

  • selendroid

    "Selenium for Android" (Test automate native or hybrid Android apps and the mobile web with Selendroid.) Join us on IRC #selendroid on freenode. Also confirm you have signed the CLA when making a Pull Request.

  • LiveData Testing

    TestObserver to easily test LiveData and make assertions on them.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • Cafe

    A powerful test framework for Android

  • opentest

    Open source test automation tool for web applications, mobile apps and APIs

    Project mention: Constructing Custom Locators in OpenTest | | 2021-10-23

    On a previous project, I got to use a nifty tool called OpenTest to orchestrate test automation on an Android app. It's not a widely popular framework yet, but I hope it grows because it solves one particular problem quite well. OpenTest enables a QA team to write tests once that can run across multiple environments and platforms. It's a solid tool if you're looking to do something like automate an iOS and Android app that have identical UIs, or just want a shared language for your web and mobile app testing frameworks. OpenTest is also written in YAML, so it's approachable for even quite junior SDET teams.

  • 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: 4 Most Common Myths Around Test Automation | | 2022-04-19

    . If you are new to no-code tools, you can check out Testsigma which is a popular open-source no-code tool Testsigma. Here is the link to the open-source version of Testsigma: testsigmahq/testsigma: Build stable and reliable end-to-end tests @ DevOps speed. (

  • junit-dataprovider

    A TestNG like dataprovider runner for JUnit with many additional features

  • vscode-java-test

    Run and debug Java test cases in Visual Studio Code.

    Project mention: Any way to show and run Kotlin Tests from a test explorer? | | 2021-08-09

    Detailed reply please view GitHub issue: Junit Kotlin Support.

  • Green Coffee

    Android library that allows you to run your acceptance tests written in Gherkin in your Android instrumentation tests.

  • android-junit-report

    A custom instrumentation test runner for Android that generates XML reports for integration with other tools.

  • tfb-video

    Generator of test video files for testing your media playback devices and calibrate TV sets

  • scalatest-junit-runner

    JUnit 5 runner for Scalatest

  • HttpClientMock

    Library for mocking Java 11 HttpClient.

    Project mention: Http client based on JDK 11+ HttpClient - avaje-http-client | | 2021-07-08
  • Simple-Random-Stock

    Randomly select a stock from your favorite U.S index and have them saved in your history for future uses. Enjoy! For more info, check the README.MD

    Project mention: ⟳ 6 apps added, 34 updated at | | 2022-03-22

    Simple Random Stock: Randomly select a stock from one of the three US indexes

  • instancio-samples

    Instancio sample projects

    Project mention: Data Generator For Unit Tests | | 2022-06-15

    You can find the book-mapper-sample project at

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 2022-06-23.

Java Test related posts


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

Project Stars
1 Bazel 18,863
2 REST Assured 5,910
3 robolectric 5,479
4 robotium 2,777
5 assertj-android 1,587
6 selendroid 853
7 LiveData Testing 390
8 Cafe 371
9 opentest 302
10 testsigma 299
11 junit-dataprovider 234
12 vscode-java-test 228
13 Green Coffee 224
14 android-junit-report 147
15 tfb-video 90
16 scalatest-junit-runner 28
17 HttpClientMock 12
18 Simple-Random-Stock 4
19 instancio-samples 0
Find remote jobs at our new job board There are 4 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.