An introduction to UI Testing on iOS

I’ve always been a big fan of UI testing where appropriate, we can use it to automate the validation of visual components in our applications which allows us to reduce bugs, regressions and confusing behaviour within our applications — all helping us to save time from manually checking the behaviour and display of our view components. In this article we’re going to take a brief look at the XCTest framework which allows us to create a collection of tests for our iOS projects — this time around we’re going to focus on User Interface tests. At this point I’m going to presume that you…

Handling Android runtime permissions in UI tests

Several months ago I took a look at the new Android Permissions model where things were changing quite a lot with the introduction of Marshmallow. the implementation of this new model meant that we needed to ensure that: We checked if we had the permission we needed when it was required We requested the permission from the user when it deemed appropriate Correctly handled the request (empty states or data feedback) within the UI to represent the outcome of being granted or denied the required permission So now we’ve implemented all of the above, it looks and behaves as expected…