Inline statement definition
Statements to include tests and steps inside the content of the file, such as within Markdown.
Referenced In
Fields
| Field | Type | Description | Default |
|---|---|---|---|
| in | array 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. | — |
| testStart | one 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. | — |
| testEnd | one of: - string - array of string | Optional. Regular expressions that indicate that the current test is complete. | — |
| ignoreStart | one of: - string - array of string | Optional. Regular expressions that indicates that the following content should be ignored for testing purposes. | — |
| ignoreEnd | one of: - string - array of string | Optional. Regular expressions that indicate that the ignored section of content is complete. | — |
| step | one 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"}