Skip to content
This repository has been archived by the owner on May 20, 2020. It is now read-only.

Flag: tests #140

Closed
steveklabnik opened this issue Aug 10, 2017 · 3 comments
Closed

Flag: tests #140

steveklabnik opened this issue Aug 10, 2017 · 3 comments

Comments

@steveklabnik
Copy link
Owner

This issue is part of #125

--test: run code examples as tests

Using this flag looks like this:

$ rustdoc src/lib.rs --test

This flag will run your code examples as tests. For more, see the chapter
on documentation tests
.

See also --test-args.


Should we keep this flag or not?

@steveklabnik
Copy link
Owner Author

Very important!

@killercup
Copy link

This is also used on markdown files in the wild

@euclio
Copy link
Contributor

euclio commented Oct 13, 2017

I started working on this, but it's blocked by rust-dev-tools/rls-analysis#99

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

No branches or pull requests

3 participants