From 46c32f125a4aa1ff3b86df4aff568125501aa786 Mon Sep 17 00:00:00 2001 From: Bassam Khouri Date: Wed, 26 Nov 2025 15:45:19 -0500 Subject: [PATCH] Augment JSON ABI Add tags, bug and timeLimit traits to the test ABI JSON data. --- Documentation/ABI/JSON.md | 15 ++++++++++- .../Testing/ABI/Encoded/ABI.EncodedTest.swift | 27 +++++++++++++++---- Tests/TestingTests/SwiftPMTests.swift | 26 +++++++++++++++--- 3 files changed, 59 insertions(+), 9 deletions(-) diff --git a/Documentation/ABI/JSON.md b/Documentation/ABI/JSON.md index e4ff24a4b..d2885470a 100644 --- a/Documentation/ABI/JSON.md +++ b/Documentation/ABI/JSON.md @@ -157,10 +157,23 @@ additional `"testCases"` field describing the individual test cases. ["displayName": ,] ; the user-supplied custom display name "sourceLocation": , ; where the test is defined "id": , - "isParameterized": ; is this a parameterized test function or not? + "isParameterized": , ; is this a parameterized test function or not? + ["tags": ,] ; the tags associated with this test function + ["bugs": ,] ; the bugs associated with this test function + ["timeLimit": ] ; the time limit associated with this test function + } ::= ; an opaque string representing the test case + + ::= ; a string representation of a tag + + ::= { + ["url": ,] ; the bug url + ["id": ,] ; the bug id + "title": ; the human readable bug title +} ; + ```