Testify converts XCTest output into a proper structure (JSON), or it'll miserably fail. 😉
Install Testify cli
You can use the cli to convert test results into JSON on the fly.
git clone https://github.com/BinaryBirds/Testify.git make install which testify swift test 2>&1 | testify
Just use the Swift Package Manager as usual:
.package(url: "https://github.com/binarybirds/testify", from: "1.0.0"),
⚠️ Don't forget to add "Testify" to your target as a dependency!
import Testify let suite = TestSuite.parse("test-output-string")
WTFPL - Do what the fuck you want to.