LukeMathWalker / LukeMathWalker/bunyan
Tests rely on deprecated `assert_cmd::cargo_bin` which will break on future Cargo versions
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 114
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
cargo_bin relies on implementation details of cargo that will soon break (rust-lang/cargo#16147, rust-lang/cargo#15010).
You can test this by running:
CARGO_BUILD_BUILD_DIR="{cargo-cache-home}/build/{workspace-path-hash}" cargo test
The replacement is assert_cmd::cargo_bin!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in tests/all/helpers.rs at the linked line and review how the deprecated assert_cmd::cargo_bin usage is called. Run cargo test with the CARGO_BUILD_BUILD_DIR setting from the issue, replace the usage with assert_cmd::cargo_bin!, and confirm the tests pass under that configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100