Skip to navigation

Inline statement definition

Statements to include tests and steps inside the content of the file, such as within Markdown.

Referenced In

Fields

FieldTypeDescriptionDefault
testStartone of:
- string
- array of string
Optional. Regular expressions that indicate the start of a test. If capture groups are used, the first capture group is used for the statement. If no capture groups are used, the entire match is used for the statement.—
testEndone of:
- string
- array of string
Optional. Regular expressions that indicate that the current test is complete.—
ignoreStartone of:
- string
- array of string
Optional. Regular expressions that indicates that the following content should be ignored for testing purposes.—
ignoreEndone of:
- string
- array of string
Optional. Regular expressions that indicate that the ignored section of content is complete.—
stepone of:
- string
- array of string
Optional. Regular expressions that indicate a step in a test.—

Examples

{
"testStart": "example",
"testEnd": "example",
"ignoreStart": "example",
"ignoreEnd": "example",
"step": "example"
}