JSON ABI listTests
stopped reporting suites unless they're explicitly tagged with @Suite
#1099
Labels
bug
🪲 Something isn't working
Description
When using the JSON Xcode 16.0, the
listTests
request responded with entries for suites whether they had the@Suite
attribute or if they were just a regularstruct
that contained@Test
methods. For example, given this code:listTests
would return 4 JSON objects: 2 functions and 2 suites:In Xcode 16.3 and 16.4 (these are the ones I checked), structs that didn't have the
@Suite
attribute stopped being reported:If I run the tests (not shown here), I still get
testStarted
andtestEnded
events for the suites. It's only thelistTests
behavior that changed.Was this an intentional change or is this a bug?
Reproduction
build.sh
Tests.swift
Expected behavior
I would expect the Xcode 16.0 behavior, that suites are supported whether or not they're explicitly tagged with
@Suite
, since they still show up astestStarted
/testEnded
events.Environment
macOS 15.4.1
Tested with Xcode 16.0, 16.3, and 16.4 beta 1
Additional information
No response
The text was updated successfully, but these errors were encountered: