Implemented test automation

This commit is contained in:
David Harris 2017-02-25 01:52:30 -06:00
parent 02a3497a35
commit aa2edabe59

View file

@ -1,5 +1,15 @@
extern crate skeptic; extern crate skeptic;
use std::fs;
fn main() { fn main() {
skeptic::generate_doc_tests(&["README.md"]); let paths = fs::read_dir("./pages/").unwrap();
for path in paths {
let p = path.unwrap().path();
let s = p.to_str().unwrap();
if s.contains(".md") {
skeptic::generate_doc_tests(&[s])
}
}
} }