From 90965fbc848b3795105f80fc3f5fa70f4115fa45 Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Fri, 12 Sep 2025 08:44:44 -0700 Subject: [PATCH] chore: add `just test`, which runs `cargo nextest` (#3508) Since I can never seem to remember to add `--no-fail-fast` when running `cargo nextest run`, let's just create an alias for it. --- codex-rs/justfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/codex-rs/justfile b/codex-rs/justfile index e47ad1a2..850737ef 100644 --- a/codex-rs/justfile +++ b/codex-rs/justfile @@ -31,6 +31,13 @@ install: rustup show active-toolchain cargo fetch +# Run `cargo nextest` since it's faster than `cargo test`, though including +# --no-fail-fast is important to ensure all tests are run. +# +# Run `cargo install cargo-nextest` if you don't have it installed. +test: + cargo nextest run --no-fail-fast + # Run the MCP server mcp-server-run *args: cargo run -p codex-mcp-server -- "$@"