pub fn parse_testcase_from_netdoc<T: NetdocParseableFields>(
input_doc: &str,
) -> TAvailable on crate features
testing only.Expand description
Parse a test case from a netdoc-style test case string
T must be NetdocParseableFields.
(a surrounding document type with an intro item will be used internally.)
The input string is preprocessed:
#-comments are stripped- each line is trimmed (so the input can be inden ted)
- blank lines are removed