Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Getting Started

Prerequisites

  • Rust 1.85+ (Edition 2024)
  • cargo (included with Rust)
  • Optionally, cargo-nextest for enhanced test running

Installation

Install from crates.io:

cargo install cargo-ninety-nine

Or build from source:

git clone https://github.com/glottologist/ninety-nine.git
cd ninety-nine
cargo install --path .

Verify Installation

cargo ninety-nine --version

Initialize a Project

Navigate to your Rust project and create a configuration file:

cd /path/to/your/project
cargo ninety-nine init

This creates a .ninety-nine.toml file with sensible defaults. You can overwrite an existing config with:

cargo ninety-nine init --force

First Test Run

Run detection with default settings (10 iterations per test):

cargo ninety-nine test

Filter to specific tests using a name pattern:

cargo ninety-nine test "my_module::tests"

Use the filter DSL to target specific subsets:

cargo ninety-nine test "flaky & !quarantined"

Increase iterations for higher confidence:

cargo ninety-nine test -n 50 --confidence 0.99

Output Formats

Add --output json to any command for machine-readable output:

cargo ninety-nine status --output json
cargo ninety-nine history --output json