Skip to content

json: field added#84

Open
jakobjung10 wants to merge 1 commit into
probe-rs:masterfrom
jakobjung10:json
Open

json: field added#84
jakobjung10 wants to merge 1 commit into
probe-rs:masterfrom
jakobjung10:json

Conversation

@jakobjung10
Copy link
Copy Markdown

  • added field for full test name (current name field only exposes flat names)

+ added field for full test name (current name field only exposes flat names)
@jakobjung10
Copy link
Copy Markdown
Author

@t-moe, this feature should be added IMO.
rust-analyzer emits the following command for a single test

cargo.EXE test --package embedded-test-example-for-stm32f767 --test example_test -- unit_tests::takes_state --exact --nocapture --include-ignored

Note the scoped test name "unit_tests::takes_state" and the argument "--exact".
As embedded-test only provides the flat name "takes_state", the test name cannot not match exactly, right?

For running all tests in a module using rust-analyzer, the following command is emitted:

cargo.EXE test --package embedded-test-example-for-stm32f767 --test example_test -- unit_tests --nocapture

However, the tests in the module cannot match when the module name is not part of the test names, right?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant