Crate subplot[][src]

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

resource

Resources for subplot.

Structs

Binding

A binding of a scenario step to its implementation.

Bindings

Set of all known bindings.

DataFile

A data file embedded in the document.

DataFiles

A collection of data files embedded in document.

Document

A parsed Subplot document.

DotMarkup

A code block with Dot markup.

MatchedScenario

A scenario that has all of its steps matched with steps using bindings.

MatchedStep

A matched binding and scenario step, with captured parts.

Metadata

Metadata of a document, as needed by Subplot.

PikchrMarkup

A code block with pikchr markup.

PlantumlMarkup

A code block with PlantUML markup.

Scenario

An acceptance test scenario.

ScenarioStep

A scenario step.

StepSnippet

The text of a part of a scenario step.

Style

Typesetting style configuration for documents.

TemplateSpec

A template specification.

Enums

PartialStep

Part of a scenario step, possibly captured by a pattern.

StepKind

The kind of scenario step we have: given, when, or then.

SubplotError

Define all the kinds of errors any part of this crate can return.

Traits

GraphMarkup

A code block with markup for a graph.

Functions

generate_test_program

Generate a test program from a document, using a template spec.

get_basedir_from

Get the base directory given the name of the markdown file.

parse_scenario_snippet

Parse a scenario snippet into logical lines.

template_spec

Return the requested template specification.

Type Definitions

Result

A result type for this crate.