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

Learn how to optimize your mobile app deployment processes for iOS, Android, Flutter, ReactNative, and more

Bitrise & Community

Check out the latest from Bitrise and the community. Learn about the upcoming mobile events, employee spotlights, women in tech, and more

Mobile App Releases

Learn how to release faster, better apps on the App Store, Google Play Store, Huawei AppGallery, and other app stores

Mobile DevOps

Learn Mobile DevOps best practices such as DevOps for iOS, Android, and industry-specific DevOps tips for mobile engineers

Mobile Testing & Security

Learn how to optimize mobile testing and security — from automated security checks to robust mobile testing and more.

Product Updates

Check out the latest product updates from Bitrise — Build Insights updates, product news, and more.

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.