Skip to main content

extract_test_cases

Function extract_test_cases 

Source
pub fn extract_test_cases(program: &Program<'_>, source: &str) -> Vec<TestCase>
Expand description

Extract test_* variable definitions from the AST. Scans source text for // => expected trailing comments.