skeptic is a great idea but the implementation currently still suffers from a number of issues that are causing sporadic test failures on Travis, incl.
Running cargo clean before cargo test seems a possible work-around but is slowing down the test runs on Travis significantly.
A simpler alternative to using skeptic is to run rustdoc --test instead. One major difference between rustdoc --test and skeptic is that rustdoc --test assumes all code blocks embedded in the markdown to be Rust code by default, whereas skeptic only tests code blocks explicitly marked as Rust code (```rust).
skeptic
is a great idea but the implementation currently still suffers from a number of issues that are causing sporadic test failures on Travis, incl.Also,
build-dependency
might cause problems for other crates depending onaerospike
Running
cargo clean
beforecargo test
seems a possible work-around but is slowing down the test runs on Travis significantly.A simpler alternative to using
skeptic
is to runrustdoc --test
instead. One major difference betweenrustdoc --test
andskeptic
is thatrustdoc --test
assumes all code blocks embedded in the markdown to be Rust code by default, whereasskeptic
only tests code blocks explicitly marked as Rust code (```rust
).