1 unstable release
0.1.0 | Feb 16, 2021 |
---|
#6 in #doctest
4KB
57 lines
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");
}
Dependencies
~1.5MB
~36K SLoC