testify

1.2.0

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

What's New

1.2.0

2024-11-05T18:26:39Z

What's Changed

  • Swift 6 update
  • remove force unwraps
  • fix out-of-memory issues
  • update unit tests
  • format files, add GH action
  • add ignore files
  • remove some force try

New Contributors

Full Changelog: 1.1.2...1.2.0

Testify

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

Installation

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

Mint

To install BinaryBirds/Testify via Mint, simply use:

$ mint run BinaryBirds/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.2.0"),

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

import Testify

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

Description

  • Swift Tools 6.0.0
View More Packages from this Author

Dependencies

  • None
Last updated: Mon May 12 2025 03:48:24 GMT-0900 (Hawaii-Aleutian Daylight Time)