Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP, DNM] Build out the JSON schema's input side. #556

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
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