Macros§
- declare_
feature - Declare a feature for the current test file.
Structs§
- DocEntry
- A flexible document entry that serializes as a flat JSON object.
- Feature
- Declare what a file’s scenarios are for, ahead of the examples.
- Glossary
Term - One entry in a feature’s glossary.
- Html
Options - Options for an embedded-HTML doc entry (
DocEntry::html). - RawAttachment
- RawCI
Info - RawError
- RawFeature
- What a file’s scenarios are for, declared with [
crate::feature]. - RawGlossary
Term - One entry in a feature’s glossary.
- RawRun
- RawStep
Event - RawTest
Case - StepDoc
- Inline documentation for a step. Chain after a step method:
story.given("text").with_docs(vec![StepDoc::note("a note")]). - Story
- A BDD story builder that captures steps and emits a
RawTestCaseon drop. - Story
Meta - Story
Step - Ticket
Constants§
- SCHEMA_
URL - Published raw-run schema, emitted as
$schemaso editors validate the output file as the adapter writes it.executable-stories doctoralso reports its presence.
Functions§
- write_
raw_ run_ to_ path - Write a
RawRunto disk as pretty-printed JSON, with the$schemapointer. - write_
results - Panics