Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path to test completion #10841

Closed
volucris1 opened this issue Jul 10, 2022 · 3 comments
Closed

Path to test completion #10841

volucris1 opened this issue Jul 10, 2022 · 3 comments
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`

Comments

@volucris1
Copy link

Problem

If i wanna test something special like: "a::b::c::test::test_group::test_name" cargo won't complete this path. Of course i can just type "test_name" but it still without completion. Is it be possible?

Proposed Solution

No response

Notes

No response

@volucris1 volucris1 added the C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` label Jul 10, 2022
@weihanglo
Copy link
Member

I guess you were talking about editor/IDE experience. And that might be sort of resposibliity of rust-analyzer

Could you elaborate more on what your scenario is and where you want cargo to complete stuff?

@volucris1
Copy link
Author

volucris1 commented Jul 10, 2022

I'm talking about completion in command line (bash/zsh/fish). But you right, it sounds more like thing for editor

@weihanglo
Copy link
Member

Thank you for the reply!

I am afraid it is not possible at this moment. Completing a module path or an item requires sort of parsing the info from test harness. #7864 are tracking a more stable programmatic way to list all the tests. Close in favour of that. Thanks!

@weihanglo weihanglo closed this as not planned Won't fix, can't repro, duplicate, stale Jul 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Projects
None yet
Development

No branches or pull requests

2 participants