cctr-corpus 0.16.0

This is an internal component crate of cctr
Documentation

Corpus test file parser.

Parses .txt corpus test files into structured test cases using winnow.

File Format

===
test name
===
command to run
---
expected output

===
test with variables
===
some_command
---
Completed in {{ time: number }}s
---
where
* time > 0
* time < 60

Types can be specified inline in placeholders: {{ x }}, {{ x: number }}, {{ x:string }}, {{ x : json object }}. If no type is given, the type is inferred from the matched value using duck-typing.