Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Test doc tests in README using rust-skeptic #155

Open
Boscop opened this issue Feb 15, 2021 · 0 comments
Open

Test doc tests in README using rust-skeptic #155

Boscop opened this issue Feb 15, 2021 · 0 comments

Comments

@Boscop
Copy link
Member

Boscop commented Feb 15, 2021

https://github.com/budziq/rust-skeptic#getting-started

We could add a build.rs to test all Rust code blocks in README.md:

fn main() {
    skeptic::generate_doc_tests(&["README.md"]);
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants