Skip to content
Testify converts XCTest output into a proper structure (JSON), or it'll miserably fail. πŸ˜‰
Swift Makefile
Branch: master
Clone or download

Latest commit

Latest commit d746a02 Feb 3, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Sources testify cli Feb 3, 2020
Tests
.gitignore
LICENSE
Package.swift
README.md
makefile

README.md

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

License

WTFPL - Do what the fuck you want to.

You can’t perform that action at this time.