benvolio 0.1.0

Run doc tests for all files matching a glob patten.
Documentation

Benvolio

Run all the doc tests in files matching a specified glob pattern.

Heavily inspired by doc_comment.

#[macro_use]
extern crate benvolio;

doctest_glob!("doctests/*.md");

If you only want to run these tests when running doctests you should do something like the below.

#[macro_use]
extern crate benvolio;

#[cfg(doctest)]
mod doctests {
    doctest_glob!("doctests/*.md");
}