Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/surpher/pact-swift-examples

Example projects using PactSwift framework
https://github.com/surpher/pact-swift-examples

consumer-driven-contracts contract-testing hactoberfest pact-contracts pact-ios pact-macos pact-swift

Last synced: about 1 month ago
JSON representation

Example projects using PactSwift framework

Awesome Lists containing this project

README

        

# pact-swift-examples

[![PactSwift - Consumer](https://github.com/surpher/pact-swift-examples/actions/workflows/test_projects.yml/badge.svg)](https://github.com/surpher/pact-swift-examples/actions/workflows/test_projects.yml)
[![PactSwift Provider Verification](https://github.com/surpher/pact-swift-examples/actions/workflows/verify_provider.yml/badge.svg)](https://github.com/surpher/pact-swift-examples/actions/workflows/verify_provider.yml)

Example projects using [PactSwift][pactswift] framework.

Note that using Carthage may require you to use the [workaround script][carthage-script].

## What? How? Huh?

1. Clone this repo
2. `cd` into a project you're interested in
3. Fire up your Xcode 12+, 13+ or whatever your preference to develop in is
4. Wait for either SPM dependencies to resolve, or run `carthage update --use-xcframeworks` if the project is set up with a `Cartfile` (mind the issues with Silicon platform)
5. Check the `../.github/workflows/` for any pointers, ideas and caveats for building, setting things up, running... (especially if you're using this on Linux)
6. Run tests
7. Happy days! 🎉

## Disclaimer

The code in this repository does not represent good programming practices!

This repository is used solely to demonstrate the minimal effort required to set up and use [PactSwift][pactswift] framework.

## Licence

[MIT](LICENSE.md)

[pactswift]: https://github.com/surpher/pact-swift
[carthage-script]: carthage