Modules§
- config
- debug
- diff
- escaping
- executors
- This module is concerned with the execution of shell expressions from
crate::testcase::TestCases. The output of such executions are stored incrate::output::Outputstructures, that capture the STDOUT, STDERR and exit code. - expectation
- generators
- This module is concerned with generating Markdown or Cram syntax, that is used in creating or updating test files.
- newline
- This module provides convenient handlers for handling common newline relating operations, like assuring that strings do end (or do not end) in a newline. Also, since Scrut deals with raw byte output of scripts, that may not even be unicode, the whole shabang is implemented for byte arrays as well.
- outcome
- output
- parsers
- This module is concerned with parsing test files and extracting
crate::testcase::TestCases from them. Part of the parsing is also the rejection of invalid formatted test files. - renderers
- This module is concerned with rendering the
crate::outcome::Outcomeof test executions. - rules
- signal
- testcase
Macros§
- bformatln
- Like the
formatwith an added new line character and in raw bytes - blines
- debug_
bytewise - formatln
- Like the
formatwith an added new line character - lossy_
string - Convenience wrapper for
String::from_utf8_lossy