Automating Real iOS Devices with Appium
Working on tests for an iOS app? Lana Begunova put together a comprehensive, step-by-step guide to Appium.
Furthermore, Fahri Yeşil shows examples of MobSF: Simplifying Mobile App Security Testing.
Welcome to the 80th issue!
This week, I found two recently-published reports on the state of testing that I'd like to share with you:
Hope you'll enjoy the reads and learn something new, as I did.
Happy testing!
Performance Testing iOS apps with Appium and XCode Instruments
As Sandeep Dinesh proves, Appium is not only useful for functional testing, but also for performance testing of iOS mobile apps! Especially when combined with the XCode Instruments.
Note: If you can't access the full article, simply open it in a private tab.
If you mock, are you even testing?
How do you decide whether you should write unit, integration or end-to-end tests? Nicolas Carlo shares some great pieces of advice on how and when to implement each of them.
In a similar context, Jaswanth Manigundan wrote about his Recent Obsession with Hermetic Tests for mobile.
Simulating Slow Network Connection For Testing
Usually, you don't test slow network connections until your users tell you about bugs they found related to that. So why don't you check out Andreea Draniceanu's list of tools that you can use to test either web or mobile apps? I love the meme, by the way! 😂
Write Once, Test Everywhere — Simplified SDK Testing
Writing one test and running it across several apps is a dream of any tester who worked with identical products supported on many platforms. Biju Nair explains how they came up with the Platform Agnostic Automation Framework (PAAF) to efficiently test mobile and web SDKs at PayPal.
Emulators and Simulators vs. Real Devices For Automation
If you automate tests for mobile, the common question is whether you should run them on simulators or real devices. Rex Jones II makes a good point of why it's not about one or the other but about using both at different stages of the development lifecycle.
Hourglass into Pyramid: how you can improve the structure of your tests
Uladzislau Ramanenka describes an inspiring journey they've been through at Bumble — migrating from Test Hourglass to Test Pyramid on mobile apps by pushing automation to lower levels.
Similarly, Ori Bracha advises how to Go Ninja On The Test Automation Pyramid by using contract tests.
Launch Appium Automation Tests in Under 10 Minutes
If you're into low-code solutions for automating mobile tests in Appium, Andreea Draniceanu shows how to do it with the free TestProject recorder.
Also, they recently updated the platform to run tests on iOS simulators, as demonstrated by Dor Ben Zvi.
Charles Proxy is a very handy tool for listening to HTTP requests, for example for debugging API requests sent by mobile devices. Here's a great comprehensive guide to it by Nicola Lindgren. You can also read part 2 and part 3.