Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Not possible to provide additional command line parameters for "Run Test" #1712

Open
Gamadril opened this issue Jan 15, 2021 · 0 comments
Open

Comments

@Gamadril
Copy link

When I start a test in VSCode with "Run Test" button above the test, the executed command cargo test -- --nocapture TEST_NAME fails because my Cargo.toml is not in the root folder, but in a subfolder.

root/
  ├── src/
  │   └── Cargo.toml
  ├── doc/
  ├── config/
  └── README

When I call cargo (command line or lldb launcher) I always provide the --manifest-path=src/Cargo.toml parameter. It should be possible to pass additional parameters for test execution as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant