GithubHelp home page GithubHelp logo

binarybirds / testify Goto Github PK

View Code? Open in Web Editor NEW
22.0 2.0 6.0 356 KB

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

License: MIT License

Swift 96.88% Makefile 0.63% Shell 2.49%
xcode xctest xctestcase xctest-linux json testing unit-testing swift-5 junit md

testify's Introduction

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.1.2"),

โš ๏ธ Don't forget to add "Testify" to your target as a dependency!

import Testify

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

testify's People

Contributors

gerp83 avatar micheltlutz avatar tib avatar wei18 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.