scrut 0.4.3

A simple and powerful test framework for CLI applications
Documentation
/*
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

//! This module is concerned with parsing test files and extracting
//! [`crate::testcase::TestCase`]s from them. Part of the parsing is also the
//! rejection of invalid formatted test files.
//!
//! The [`parser::Parser`] trait provides the interface, that works on the
//! content files. Currently two implementations are supported:
//! - Markdown file syntax: [`markdown::MarkdownParser`]
//! - Cram file syntax: [`cram::CramParser`]

pub mod cram;
pub(super) mod line_parser;
pub mod markdown;
pub mod parser;