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
inarray of one of: string, object(Statement container)Optional. Nodes to read as statements. Each node’s text must start with test, test start, test end, test ignore start, test ignore end, or step. "comment" reads every comment.—
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

{
"in": [],
"testStart": "example",
"testEnd": "example",
"ignoreStart": "example",
"ignoreEnd": "example",
"step": "example"
}