Skip to content

docs: correct workspace test-enumeration command in CLAUDE.md - #60

Open
cargo-affected-bot wants to merge 1 commit into
mainfrom
docs/claude-md-nextest-list-workspace
Open

docs: correct workspace test-enumeration command in CLAUDE.md#60
cargo-affected-bot wants to merge 1 commit into
mainfrom
docs/claude-md-nextest-list-workspace

Conversation

@cargo-affected-bot

Copy link
Copy Markdown
Collaborator

Found during the nightly rolling survey of CLAUDE.md.

The "Workspace support" section claimed binaries are enumerated via cargo test --no-run --message-format=json, but the collect pipeline doesn't use cargo test at all — it uses cargo nextest list --message-format json (see src/collect.rs:25 and src/collect.rs:906). cargo test --no-run appears nowhere in src/. The architecture section already describes the pipeline as cargo nextest list → instrumented nextest run, so this line was the lone stale reference to the old mechanism.

This corrects the command and the noun ("tests", since nextest list enumerates testcases rather than just binaries).

No test accompanies this change — it's a documentation-only fix to CLAUDE.md.

The Workspace support section referenced `cargo test --no-run
--message-format=json`, but the collect pipeline enumerates tests via
`cargo nextest list --message-format json` (src/collect.rs). `cargo
test --no-run` is used nowhere in src/.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant