Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

NonDex

github.com

  • Free plan
  • macOS
  • Linux
6.9 Club score Visit github.com

What NonDex is

NonDex is open-source software for Java projects that finds tests relying on one behavior when an API specification permits several. It explores those permitted behaviors to expose implementation-dependent assumptions, helping identify flaky tests that could create portability problems between Java runtime environments. The project supports JUnit and TestNG, with Maven and Gradle plugins plus command-line instructions. When a test passes without shuffling but fails during shuffled runs, NonDex reports it and logs results in a `.nondex` directory. Debug tasks provide reproduction arguments and diagnostic output, including a stack trace for an invocation point when one can be identified. Covered API areas include collections, reflection, file listing, and locale- or time-related methods. The listed requirements are Java 8–21, Maven 3.6+ with Surefire, or Gradle 5.0+. An automatic Gradle setup script is documented for Linux and macOS. NonDex is free at no cost under an MIT license, which provides the software without warranty.

Who it suits

It suits Java developers and build teams investigating flaky tests caused by under-determined API behavior. It is intended for Linux or macOS environments using Maven or Gradle.

Good to know, and what to watch

  • Explores permitted API behaviors
  • Maven and Gradle plugins
  • JUnit and TestNG support
  • Reproduction details for flaky tests
  • MIT-licensed open-source software
  • Requires Java 8–21 and build-tool versions
  • Java 9+ command-line setup needs module options
  • Software is provided without warranty

NonDex

Free

Open source

The verdict

NonDex targets a specific source of Java test flakiness: assumptions about APIs with multiple allowed behaviors. Its plugins, shuffled runs and debugging output make it useful for teams checking portability across runtimes.

What the maker publishes

API coverage
The supported API list includes collection and reflection APIs, file listing methods, and locale or time-related methods. source
Debugging
Its debug tasks report reproduction arguments and debug output for flaky tests, including a stack trace for an invocation point when one can be identified. source
Installation
The README shows plugin versions 2.2.1 for Maven and Gradle setup. source
Java compatibility note
The README says Java 9 and later require replacing the Java 8 boot class path option with module exports and patch-module options for the command-line setup. source
License
The repository includes an MIT license granting permission to use, copy, modify, distribute, sublicense, and sell the software, subject to its conditions. source
License warranty
The MIT license provides the software as-is without warranty. source
Output
NonDex reports tests that pass without shuffling but fail in shuffled runs and logs them in a .nondex directory. source
Platform setup
The README describes an automatic Gradle setup script for Linux or macOS. source
Purpose
NonDex detects and helps debug incorrect assumptions about under-determined Java APIs by exploring behaviors allowed by their specifications. source
Requirements
The README lists Java 8–21 (Oracle JDK or OpenJDK), Maven 3.6+ and Surefire for the Maven plugin, and Gradle 5.0+ for the Gradle plugin. source
Test runners
The project provides Maven and Gradle plugins, plus command-line usage instructions. source
Use case
It can expose implementation-dependent flaky tests before assumptions cause portability bugs across Java runtime environments. source

Checked against the maker's pages on 5 Oct 2026.