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.1.2
Testify converts XCTest output into a proper structure (JSON, JUNIT, MD, GFM), or it'll miserably fail. 😉
⭐️ 19
🕓 1 week ago
macOS
.package(url: "https://github.com/BinaryBirds/Testify.git", from: "1.1.2")

Testify

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

Install command line utility

You can use the command line utility to convert test results into JSON, JUNIT, MD and GFM on the fly.

git clone https://github.com/BinaryBirds/Testify.git && cd Testify
make install
which testify

Usage

In your project folder run:

  • for JSON format: swift test | testify json
  • for JUNIT format: swift test | testify junit
  • for MD format: swift test | testify md
  • for GFM format: swift test | testify gfm

You can just use the Swift Package Manager as usual:

.package(url: "https://github.com/binarybirds/testify", from: "1.1.2"),

⚠️ Don't forget to add "Testify" to your target as a dependency!

import Testify

let suite = TestSuite.parse("test-output-string")

GitHub

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

Release Notes

Release 1.1.2
1 week ago

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