Expand description
Core primitives and data types for BDD-like test definition and execution.
The data model is inspired by Gherkin.
Structs§
- Background
- A
Backgroundspec section. - Example
- An
Examplespec section. - Raw
Enums§
- Error
- Errors that might be returned by a
processcall. - Section
- A spec section extracted from a parsed input.
Traits§
- Async
Handler - An
asyncversion ofHandler. - Handler
- A trait to be implemented by spec handlers.
Functions§
- async_
process - An
asyncversion ofprocess. - async_
rewrite - An
asyncversion ofrewrite. - async_
run - An
asyncversion ofrun. - process
- Process spec-style
Sectionsextracted from a Markdown document at the givenpathusing a user-definedHandler. - rewrite
- Rewrite spec-style
Sectionsextracted from a Markdown document at the givenpathusing a user-definedHandler. - run
- Either
processorrewritethe spec-styleSectionsextracted from a Markdown document at the givenpathusing a user-definedHandlerdepending on the value of theREWRITE_SPECSenvironment variable.