Open benaryorg opened 9 years ago
This will require more work as inline tests are not supported for binary projects.
That's right,
cargo test
tests embedded documentation too. However,cargo test
will not test binary crates, only library ones. This is due to the wayrustdoc
works: it links against the library to be tested, but with a binary, there’s nothing to link to. Rust Documentation (11-06-2015)
There are a lot of tests to be included to check if it is actually working.