Native Runner

The native runner is an alternative to vanilla rust unit and integration tests. It creates a single binary for all of your tests which speeds up compile times, see this blog for more info.

Usage

The native runner has a few cli options, run with --help to see them all.

cargo run --example sweet --help

Options

  • [match] Space seperated path globs to run, ie my_test or /e2e/
  • -w, --watch Clears screen and does not return error, for use with cargo watch etc
  • -p, --parallel run tests in parallel
  • -s, --silent don't log results