Expand description
Process Subplot input files.
Capture and communicate acceptance criteria for software and systems, and how they are verified, in a way that’s understood by all project stakeholders.
Modules§
- blockattr
- Attributes to a fenced code block.
- html
- A representation of HTML using Rust types.
- md
- A parsed Markdown document.
- mdparse
- Parse markdown into an HTML representation.
- resource
- Resources for subplot.
- toc
- Store information needed to build a table of contents for a document.
- typeset
- Typeset various data types into HTML.
Structs§
- Binding
- A binding of a scenario step to its implementation.
- Bindings
- Set of all known bindings.
- Document
- A parsed Subplot document.
- DotMarkup
- A code block with Dot markup.
- Embedded
File - A data file embedded in the document.
- Embedded
Files - A collection of data files embedded in document.
- Markup
Opts - Matched
Scenario - A scenario that has all of its steps matched with steps using bindings.
- Matched
Step - A matched binding and scenario step, with captured parts.
- Matched
Steps - A list of matched steps.
- Metadata
- Metadata of a document, as needed by Subplot.
- Pikchr
Markup - A code block with pikchr markup.
- Plantuml
Markup - A code block with PlantUML markup.
- Scenario
- An acceptance test scenario.
- Scenario
Step - A scenario step.
- Step
Snippet - The text of a part of a scenario step.
- Style
- Typesetting style configuration for documents.
- Svg
- An SVG image.
- Template
Spec - A template specification.
- Warnings
- A list of warnings.
- Yaml
Metadata - Document metadata.
Enums§
- Partial
Step - Part of a scenario step, possibly captured by a pattern.
- Step
Kind - The kind of scenario step we have: given, when, or then.
- Subplot
Error - Define all the kinds of errors any part of this crate can return.
- Warning
- A warning, or non-fatal error.
Traits§
- Diagram
Markup - A code block with markup for a diagram.
Functions§
- codegen
- Generate code for one document and write it to an output file
- codegen_
to_ memory - Generate code for one document.
- generate_
test_ program - Generate a test program from a document, using a template spec and write it to a file.
- get_
basedir_ from - Get the base directory given the name of the markdown file.
- load_
document - Load a
Document
from a file. - load_
document_ with_ pullmark - Load a
Document
from a file.