mdbook/tests/testsuite/main.rs
Eric Huss a6a60eef31 Add read_to_string to the prelude
This adds the `read_to_string` test helper to the test prelude so that
it is easier to use.
2025-08-11 19:26:05 -07:00

29 lines
528 B
Rust

//! Main testsuite for exercising all functionality of mdBook.
//!
//! See README.md for documentation.
#![allow(unreachable_pub, reason = "not needed in an integration test crate")]
mod book_test;
mod build;
mod cli;
mod includes;
mod index;
mod init;
mod markdown;
mod playground;
mod preprocessor;
mod print;
mod redirects;
mod renderer;
mod rendering;
#[cfg(feature = "search")]
mod search;
mod test;
mod theme;
mod toc;
mod prelude {
pub use crate::book_test::{BookTest, read_to_string};
pub use snapbox::str;
}