Hoverfly + Bitrise iOS UI testing (video tutorial)

Guest video tutorial by Daniel Creagh, iOS Developer at Resilient plc, on iOS UI testing (using Hoverfly and Bitrise).

Guest video tutorial by Daniel Creagh, iOS Developer at Resilient plc.

Daniel Creagh, a young loner on a crusade to champion the cause of the innocent, the helpless, the powerless, in a world of criminals who operate above the law. He also writes iOS apps for Resilient and lives in London.

Summary

In his tutorial video Daniel Creagh shows how to get automated UI tests for an iOS project using xCode running on Bitrise. He uses the same project (along with Hoverfly) with Bitrise in order to fully automate UI testing that was created in the previous part of the series. (There you can learn how to set up Hoverfly to behave as a mock back end and how to use Xcode Test to create automated UI tests.)

In this tutorial see how

- the project is uploaded to a remote git repository (Bitbucket)
- setup a new workflow to use Hoverfly for iOS UI testing

On Bitrise follow the steps of creating a first green build:

1. Create a new workflow to use only  Xcode Test step.

2. Add a Script step and install Hoverfly to import the .json with your test cases.


brew install SpectoLabs/tap/hoverfly
hoverctl start webserver
hoverctl import recording.json
Copy code

3. Modify trigger map to trigger the new testing workflow for pushes.

We hope you'll find this useful. 🙂

Happy building! 🚀

No items found.
The Mobile DevOps Newsletter

Explore more topics

App development

Best practices from engineers on how to use Bitrise to build better apps, faster.

Community

Meet other Bitrise engineers, technology experts, power users, partners and join our BUGs.

Company

All the updates about Bitrise events, sponsorships, employees, and more.

Insights

Mobile development, latest tech, industry insights, and interviews with experts.

Mobile DevOps

Learn why mobile development is unique and requires a set of unique practices.

Releases

Stay tuned for the last updates, new features, and product improvements.

The Mobile DevOps Newsletter

Join 1000s of your peers. Sign up to receive Mobile DevOps tips, news, and best practice guides once every two weeks.