--test always shows no tests available #130
-
Try the following:
The default library template comes with a test called
shows "No tests available." Trying to specify the test:
doesn't work either, as it shows "no test target named |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
-
Ah, I see! I thought the |
Beta Was this translation helpful? Give feedback.
--test
incargo-show-asm
behaves the same way--test
works incargo build
- it builds integration test. To look at the assembly (llvm, mir, etc) of the test themselves you need to build a library with the test profile:cargo asm --profile test it_works 0
- this works for default library template for example.