-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
**Run** should run doctests #4317
Comments
Hmm seems not so easy, in fact regarding these issues on cargo rust-lang/cargo#6424 and rust-lang/cargo#6669 the Then a proposal should be to add a new command suggest to just launch doc test with |
I think the linked cargo issues are irrelevant here? We should just generate |
Maybe I didn't understood the issue but your linked source code seems to be linked to |
One of the disadvantages to using
Maybe we could use |
I think doc tests outside of the |
|
According to that same page doc tests are only tested for lib targets, which is not true. This is probably outdated documentation.
|
Hm, but doc tests just don't work in |
I assumed they work. |
Signed-off-by: Benjamin Coenen <[email protected]>
Signed-off-by: Benjamin Coenen <[email protected]>
Signed-off-by: Benjamin Coenen <[email protected]>
Relevant code:
The text was updated successfully, but these errors were encountered: