Skip to content
New issue

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

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

Already on GitHub? # to your account

Add a flag to cargo test to compile & run only doctests #1864

Closed
tomaka opened this issue Aug 1, 2015 · 1 comment
Closed

Add a flag to cargo test to compile & run only doctests #1864

tomaka opened this issue Aug 1, 2015 · 1 comment

Comments

@tomaka
Copy link
Contributor

tomaka commented Aug 1, 2015

When modifying the documentation of a library, it can be useful to run only the doctests.

There's already --test, --lib and --bin, but nothing to run only the doctests (and --lib doesn't run doctests).

@alexcrichton
Copy link
Member

Duplicate of #1789, but I definitely like the idea!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants