Documentation ¶
Overview ¶
Package scenarigo provides end-to-end scenario testing framework for APIs. It loads YAML files as scenarios and executes them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithOptionsFromEnv ¶ added in v0.3.0
WithOptionsFromEnv returns a option which sets flag whether accepts configuration from ENV. Currently Available ENV variables are the following. - SCENARIGO_COLOR=(1|true|TRUE)
func WithPluginDir ¶
WithPluginDir returns a option which sets plugin root directory.
func WithScenarios ¶
WithScenarios returns a option which finds and sets test scenario files.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package assert provides value assertions.
|
Package assert provides value assertions. |
cmd
|
|
Package context provides the test context of scenarigo.
|
Package context provides the test context of scenarigo. |
examples
|
|
secrets/plugin/src
Module
|
|
internal
|
|
Package protocol provides defines APIs of protocol.
|
Package protocol provides defines APIs of protocol. |
query
|
|
Package reporter provides test result reporters.
|
Package reporter provides test result reporters. |
Package schema provides the test scenario data schema for scenarigo.
|
Package schema provides the test scenario data schema for scenarigo. |
scripts
|
|
cross-build
Module
|
|
Package template implements data-driven templates for generating a value.
|
Package template implements data-driven templates for generating a value. |
ast
Package ast declares the types used to represent syntax trees.
|
Package ast declares the types used to represent syntax trees. |
parser
Package parser implements a parser for a template string.
|
Package parser implements a parser for a template string. |
token
Package token defines constants representing the lexical tokens.
|
Package token defines constants representing the lexical tokens. |
Click to show internal directories.
Click to hide internal directories.