Bitrise User Groups (or BUGs) are live meetups where Bitrise users and community members share knowledge, best practices, and ideas with each other. During the fourth installment of our BUG webinar series, our main focus was iOS and WWDC20. Let's take a look at what we discussed during the event.
XCUITest, TestRail, and Bitrise — Putting It All Together
As the first presenter, Moataz Nabil kicked off the event by talking about how his team uses Bitrise to connect XCUITest and TestRail to measure and evaluate the performance of their test automation. Tune in to his talk to learn what you need to do to set up the integration locally (2:05) and in Bitrise (15:32).
- Enable TestRail API (10:29): As the first step, you will need to enable and then generate an API key in TestRail.
- Integrate TestRail API Client using QuizTrain (11:14): QuizTrain is an open-source framework that will allow us to interact with TestRail’s API using Swift.
- Map the test cases' IDs (12:42): After integrating the API, you can start mapping out the TestRail test cases with test automation scripts.
- Run the tests locally (13:52): Before you can run the tests, you will need to set up four environment variables, then download and run the shell script to install a tool that will inject the variables into the Swift file. After all that’s done, you will be able to run the Xcode build.
- Putting all that together in Bitrise under a minute (15:32): You can set up those four steps in Bitrise by adding the Swift Environment Variable Injector Step to an iOS workflow, where you can set up the same environment variables you would use locally.
- See it in action — you can watch the demo from 16:38.
Privacy on iOS — What you should know and do!
Next up, StuffMC, aka Manuel Carrasco Molina talked about the ins-and-outs of data security and privacy on iOS, including the recent changes introduced on WWDC20. During his presentation, he talked about a wide range of topics such as photos & cameras, location, contacts, and a lot more.
- Import Photos (36:42): An overview of the settings and options you need to be aware of when your app needs to access the photo library on a user’s phone.
- Access Location (40:05): Helpful tips to help you protect user privacy, decrease your app’s power usage, and improve location accuracy.
- Import Contacts (49:59): Learn how to import contacts with your users in mind — good and bad practices of importing contacts in mobile development.
WWDC20 panel discussion
The last talk was a panel discussion about WWDC20 with Alexander Botkin, Khoa Pham, and Shams Ahmed, facilitated by Akos Hantos. They talked about the biggest surprises, best takeaways, and the most exciting new features announced on the event — tune in from 58:28 to listen to the full discussion.
If you have any questions for the presenters, we created a dedicated channel for the BUG on our community Slack. Join us there!
See you at our next BUG on 6 August — reserve your seat here.