Skip to content

performance.md's benchmark command 'cargo test benches:: --nocapture' doesn't match the registered test target #1395

Description

@Haroldwonder

docs/performance.md ends with: "Benchmark code: benches/performance.rs. Run cargo test benches:: --nocapture." Cargo.toml registers this file as [[test]] name = "performance" path = "benches/performance.rs", and the file itself contains no mod benches — its own final println! (line 270) tells the user to run cargo test --test performance -- --nocapture. The command documented in performance.md filters on a benches:: prefix that doesn't exist in the test binary and would silently match zero tests.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programdocumentationImprovements or additions to documentation

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions