Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion Documentation/ABI/JSON.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,13 @@ TODO: implement input/configuration

A single configuration is passed into the testing library prior to running any
tests and, as the name suggests, configures the test run. The configuration is
encoded as a single [JSON Lines](https://jsonlines.org) value.
encoded as a single [JSON Lines](https://jsonlines.org) value. Alternatively,
a single `"list"` request may be passed in, which will result in the testing
library listing all available tests as output.

```
<input-record> ::= <configuration-record> | <list-record>

<configuration-record> ::= {
<version>,
"kind": "configuration",
Expand Down Expand Up @@ -92,6 +96,11 @@ encoded as a single [JSON Lines](https://jsonlines.org) value.
"action": <test-filter-action>,
"id": <test-id> ; the ID of the test to filter in/out
}

<list-record> ::= {
<version>,
"kind": "list",
}
```
-->

Expand Down