-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-testS-blocked-externalStatus: ❌ blocked on something out of the direct control of the Cargo project, e.g., upstream fixStatus: ❌ blocked on something out of the direct control of the Cargo project, e.g., upstream fix
Description
Problem
When trying to run a specific test with a command like:
cargo test tests::test_lib
If you make a mistake in the path to the test it won't display any warning, it will just not run any tests:
As you can see in the screenshot if you make a typo in the path it will still look like it passed even though the test doesn't exist:
Proposed Solution
In my opinion, we should add a warning when the path leads to a nonexistent test e.g.:
WARNING: The test doesn't exist
Notes
No response
smoelius, Kuly14, edmorley, yipu3 and liljamo
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-testS-blocked-externalStatus: ❌ blocked on something out of the direct control of the Cargo project, e.g., upstream fixStatus: ❌ blocked on something out of the direct control of the Cargo project, e.g., upstream fix
Type
Projects
Status
No status