From d27ce0f38fde0cfef5eb5144545d4b422de1c3aa Mon Sep 17 00:00:00 2001 From: Jonathan Grynspan Date: Fri, 19 Jul 2024 08:32:56 -0400 Subject: [PATCH] [WIP] Build out the JSON schema's input side. --- Documentation/ABI/JSON.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Documentation/ABI/JSON.md b/Documentation/ABI/JSON.md index 23dd5b1dc..5bd0dd6c8 100644 --- a/Documentation/ABI/JSON.md +++ b/Documentation/ABI/JSON.md @@ -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. ``` + ::= | + ::= { , "kind": "configuration", @@ -92,6 +96,11 @@ encoded as a single [JSON Lines](https://jsonlines.org) value. "action": , "id": ; the ID of the test to filter in/out } + + ::= { + , + "kind": "list", +} ``` -->