Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Five Real Device Cloud Testing Services for iOS XCUITest

DZone's Guide to

Five Real Device Cloud Testing Services for iOS XCUITest

This list explores all the device cloud services which support XCUITest for iOS mobile app testing, like Sauce Labs and AWS.

· Mobile Zone ·
Free Resource

Apple launched the Xcode UI Testing solution in WWDC15, and since then it is becoming the first choice for iOS developers to write unit and UI tests using the same framework. Previously, frameworks like Appium and Calabash were used by QA engineers to automate iOS application testing. These frameworks allow us to write user interface tests using crazy languages like Java, Ruby, and many more which have nothing to do with iOS app development. Although, Appium and Calabash became popular in the QA world. It never got attention from any iOS developers, which created a huge technology gap between developers and testers. The XCUITests from Apple allow developers to write tests in the Swift or Objective-C, which helps to bridge the technology gap and create UI tests easier and faster than ever.

There are so many cloud testing services available to execute tests in the cloud machines for web applications, e.g. Sauce Labs, BrowserStack etc. Initially, very few services paid any attention to the XCUITests as lots of companies were still using tools like Appium and Calabash and they already supported these tools to run tests in the cloud. However, the iOS 10 release changed everything as Apple deprecated instrumentation technology on which tools like Appium and Calabash were based. This broke all the mobile test automation frameworks and we have to use Apple's new technology, which is XCUITest. Companies then started using XCUITest directly and it started gaining popularity. Cloud testing vendors also need to add support to stay competitive in the market. In this post, we will see options to run XCUITest on real devices in the cloud. Note that this post is not about the comparison of services in terms of speed, price, or usage.

1. Bitbar

Bitbar has a device cloud specifically designed for mobile test automation with devices in multiple data centers across Europe. Being a mobile-only testing service, Bitbar is one of the pioneers in supporting XCUITests in the cloud. They have long been writing about XCUITest and iOS automation on their official blog. They have integrations with mobile DevOps tools and remote debugging capability. You can try out Bitbar for free for a certain period. Bitbar has great clients, including Microsoft, Skype, EA, Asus, Paypal, T-Mobile, and many more.

2. AWS Device Farm

Amazon Web Services provides various software development services, including Device Farm for testing against real mobile devices in the AWS cloud. AWS Device Farm has great documentation on how to execute tests using various frameworks, including XCUITest. We can use this AWS service with our free tier account for trial. AWS Device Farm has been used by multiple clients, including Etsy.

3. Perfecto

Perfecto is another option for cloud-based continuous testing of mobile or web apps. Perfecto provides support to execute XCUITests in a real device cloud. They have great information about documentation, videos, and code samples on their various services, including the XCUITest service. You can read more about configuring XCUITests for the Perfecto cloud here. Perfecto has a wide variety of clients using their services. There is a list of more than 100 clients here.

4. BrowserStack

BrowserStack is another service which recently announced support for running XCUITests on their real device cloud. There is documentation on how to setup XCUITests on BrowserStack here. They also shared a code sample of configuring XCUITests with a sample iOS project here.

5. Sauce Labs

Sauce Labs is very active in the community of test automation and hosts multiple events and conferences. Sauce Labs's continuous testing cloud provides real devices to execute tests. Sauce Labs has recently announced support for XCUITests on their cloud. There will be documentation on XCUITest on the wiki soon. They have also organized a webinar on configuring XCUITest on their real device cloud. You can watch the full webinar online here.

Sauce Labs, being very popular in the community, has so many clients using their services.

Conclusion

As XCUITest is getting popular, many cloud testing services started supporting XCUITest on their real device cloud. It's a good opportunity for companies to make use of devices in the cloud. In later posts, I will compare each service individually and share my opinions about them.

Topics:
mobile ,xcuitest ,ios ,mobile testing

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}