Skip to content

thecb4/Pillow

Repository files navigation

Pillow

Pillow


Display Test Results in a lovely format

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Built With

Prerequisites

Swift 5.1

Installing

Package Manager

mint install thecb4/pillow

Using

using this is very straight forward

Pillow works after you've run your swift tests in parallel and generated a Results.xml file. Right now Pillow assumes it's in the Tests directory.

swift test --parallel --xunit-output Tests/Results.xml
pillow

And results look like

╒═══════════════════════════════╤════════════════════════════════════════════╤════════╕
│ Test Group                    │ Test                                       │ Status │
╞═══════════════════════════════╪════════════════════════════════════════════╪════════╡
│ PillowCLITests.CLITests       │ testCLIParse                               │ Passed │
├───────────────────────────────┼────────────────────────────────────────────┼────────┤
│ PillowKitTests.PillowKitTests │ testCodableTestCaseResultFailuresEncode    │ Passed │
├───────────────────────────────┼────────────────────────────────────────────┼────────┤
│ PillowKitTests.PillowKitTests │ testCodableTestCaseResultNoFailuresDecode  │ Passed │
├───────────────────────────────┼────────────────────────────────────────────┼────────┤
│ PillowKitTests.PillowKitTests │ testCodableTestCaseResultFailuresDecode    │ Passed │
├───────────────────────────────┼────────────────────────────────────────────┼────────┤
│ PillowKitTests.PillowKitTests │ testCodableTestCaseResultNoFailuresEncode  │ Passed │
├───────────────────────────────┼────────────────────────────────────────────┼────────┤
│ PillowKitTests.PillowKitTests │ testCodableTestSuiteResultNoFailuresDecode │ Passed │
├───────────────────────────────┼────────────────────────────────────────────┼────────┤
│ PillowKitTests.PillowKitTests │ testCodableTestResultsNoFailuresEncode     │ Passed │
├───────────────────────────────┼────────────────────────────────────────────┼────────┤
│ PillowKitTests.PillowKitTests │ testCodableTestResultsNoFailuresDecode     │ Passed │
├───────────────────────────────┼────────────────────────────────────────────┼────────┤
│ PillowTests.PillowTests       │ testNoArguments                            │ Passed │
╘═══════════════════════════════╧════════════════════════════════════════════╧════════╛

Break down into end to end tests

Tests for Pillow are broken between

  • PillowKit (package)
  • PillowCLI (command line argument parsing)
  • Pillow (command line output)
swift test --parallel --xunit-output Tests/Results.xml

Documentation

Documentation can be found here

Roadmap and Contributing

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Roadmap

Please read ROADMAP for an outline of how we would like to evolve the library.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for changes to us.

Changes

Please read CHANGELOG for details on changes to the library.

Authors

  • 'Cavelle Benjamin' - Initial work - thecb4

Acknowledgments

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages