You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/references/schemas/config.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,8 @@ afterAll | string | Optional. Path(s) to test specifications to perform after th
22
22
afterAll | array of string | Optional. Path(s) to test specifications to perform after those specified by `input`. Useful for cleaning up testing environments. |
23
23
detectSteps | boolean | Optional. Whether or not to detect steps in input files based on defined markup. | `true`
24
24
logLevel | string | Optional. Amount of detail to output when performing an operation.<br/><br/>Accepted values: `silent`, `error`, `warning`, `info`, `debug` | `info`
25
-
runOn | array of object | Optional. Contexts to run the test in. Overrides contexts defined at the config and spec levels. |
26
-
fileTypes | array of string, object, object | Optional. Configuration for file types and their markup detection. |
25
+
runOn | array of object([context](/docs/references/schemas/context)) | Optional. Contexts to run the test in. Overrides contexts defined at the config and spec levels. |
26
+
fileTypes | array of one of: object([Predefined](/docs/references/schemas/Predefined)), object([Custom](/docs/references/schemas/Custom)), object([Executable](/docs/references/schemas/Executable)) | Optional. Configuration for file types and their markup detection. |
27
27
integrations | object | Optional. Options for connecting to external services. |
28
28
integrations.openApi | array of unknown | Optional. No description provided. |
29
29
telemetry | object | Optional. Options around sending telemetry for Doc Detective usage. | ``{"send":true}``
Copy file name to clipboardExpand all lines: docs/references/schemas/specification.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,9 +11,9 @@ specId | string | Optional. Unique identifier for the test specification. |
11
11
description | string | Optional. Description of the test specification. |
12
12
specPath | string | Optional. Path to the test specification. |
13
13
contentPath | string | Optional. Path to the content that the specification is associated with. |
14
-
runOn | array of object | Optional. Contexts to run the test in. Overrides contexts defined at the config and spec levels. |
14
+
runOn | array of object([context](/docs/references/schemas/context)) | Optional. Contexts to run the test in. Overrides contexts defined at the config and spec levels. |
15
15
openApi | array of unknown | Optional. No description provided. |
16
-
tests | array of object | Required. [Tests](test) to perform. |
16
+
tests | array of object([test](/docs/references/schemas/test)) | Required. [Tests](test) to perform. |
Copy file name to clipboardExpand all lines: docs/references/schemas/test.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ testId | string | Optional. Unique identifier for the test. |
15
15
description | string | Optional. Description of the test. |
16
16
contentPath | string | Optional. Path to the content that the test is associated with. |
17
17
detectSteps | boolean | Optional. Whether or not to detect steps in input files based on markup regex. | `true`
18
-
runOn | array of object | Optional. Contexts to run the test in. Overrides contexts defined at the config and spec levels. |
18
+
runOn | array of object([context](/docs/references/schemas/context)) | Optional. Contexts to run the test in. Overrides contexts defined at the config and spec levels. |
19
19
openApi | array of unknown | Optional. No description provided. |
20
20
before | string | Optional. Path to a test specification to perform before this test, while maintaining this test's context. Useful for setting up testing environments. Only the `steps` property is used from the first test in the setup spec. |
21
21
after | string | Optional. Path to a test specification to perform after this test, while maintaining this test's context. Useful for cleaning up testing environments. Only the `steps` property is used from the first test in the cleanup spec. |
0 commit comments