Skip to content
/ Testify Public
forked from BinaryBirds/Testify

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

License

Notifications You must be signed in to change notification settings

wei18/Testify

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

15 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 96.9%
  • Shell 2.5%
  • Makefile 0.6%