Swiftpack.co - BinaryBirds/Testify as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by BinaryBirds.
BinaryBirds/Testify 1.0.0
Testify converts XCTest output into a proper structure (JSON), or it'll miserably fail. 😉
⭐️ 12
🕓 1 week ago
.package(url: "https://github.com/BinaryBirds/Testify.git", from: "1.0.0")

Testify (✅)

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

Usage

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")

GitHub

link
Stars: 12
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

Testify (✅) - 1.0.0
2 years ago

Testify converts XCTest output into a proper structure (JSON), or it'll miserably fail. 😉

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics