Skip to content

YAML Test Codegen #10

@KodrAus

Description

@KodrAus

From #1 Some notes on the YAML format.

For do steps, if a body is supplied, expect it as JSON.

struct Do<'a> {
    name: &'a str,
    params: Vec<&'a str>
}

For match, is_false and is_true steps, parse to assert_eq, assuming there aren't any complex matches to deal with.

Use the free string on line 2 as either a comment on each test, or append to the test name.

There will need to be a coded response type, which should live in the types crate.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions