Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Testing Guide

Pre-requisites

Ensure you have the following installed:

Make sure you have the same mdbook version installed as the one used in the project.

You can find the version in the Cargo.toml file under the [dependencies] section.

Test Suite Overview

mdbook-embedify covering these critical modules:

ModuleCoverage
Book TestingReal book building and validation
Parser TestingPlaceholder & embed syntax parsing
Language DetectionFile extension to language mapping

Quick Commands

# Run complete test suite
cargo test

# Run specific test suites
cargo test --test book
cargo test --test parser
cargo test --test detect_lang

# Run tests quietly
cargo test -- --quiet

# Run with detailed output
cargo test -- --nocapture

# Run tests with timing information
cargo test -- --show-output

Copyright © 2025 • Created with ❤️ by MR-Addict