Skip to main content

run_test_file

Function run_test_file 

Source
pub fn run_test_file(
    path: &Path,
    filter: Option<&str>,
    lib: &str,
    lint_spec: Option<&str>,
    opts: &RunOptions,
) -> Result<FileReport>
Expand description

Run one test file in a fresh state. lib is the assertion library module to consult for run(filter) after the file executed (default: htl.test).