aerospike / aerospike-client-rust

Rust client for the Aerospike database
https://www.aerospike.com/
Other
82 stars 28 forks source link

Replace skeptic with rustdoc --test #45

Closed jhecking closed 6 years ago

jhecking commented 6 years ago

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,

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).