Network response stubbing library written in Swift.
Switch branches/tags
Nothing to show
Clone or download
sunshinejr Merge pull request #23 from Vkt0r/circleci-v2
Update the CircleCI config file to version 2.0
Latest commit 9c2a3e3 May 17, 2018

README.md

Harvey logo

CircleCI

Harvey is a SPM-first network response stubbing library written completely in Swift. Main goals:

  • Stubbing based on given request properties (url/method etc.)
  • Removing stubs
  • Compatible with SPM
  • Compatible with Carthage
  • Record/save/use recorded stubs
  • Moya plugin to easily handle Harvey
  • Compatibility with CocoaPods

You can check out more about the project direction in the vision document.

Development

Right now the development process is quite unfortunate due to the bug with Quick (see Quick#751 and SPM#1406):

  1. Install spm_utils
  2. Clone Harvey and enter Harvey's root directory.
  3. Run swift package generate-xcodeproj to generate a project.
  4. Run spm_utils quick to fix the bug with Quick.
  5. If you want to test Swift 4 version of Harvey, run spm_utils swift 4.

Now just enter the project and it should build. Otherwise please fill an issue.

Contributions

Contributions are welcome, but keep in mind that for now the main goal is a stable and working version, so development might progress fast.

This project is open source under the MIT license, which means you have full access to the source code and can modify it to fit your own needs.

This project also subscribes to the Moya Contributors Guidelines which TLDR: means we give out push access easily and often.

And also this project subscribes to the Contributor Code of Conduct, based on the Contributor Covenant version 1.4.0. The maintainers take the code of conduct seriously.

License

MIT.