
1/15/2019
What this post added
This post details Shopify's comprehensive testing strategies for iOS applications within a monorepo architecture. It categorizes tests by component hierarchy (Models, Views, ViewModels, ViewControllers, Flows) and explains the purpose and implementation of each. Techniques discussed include unit testing for models, snapshot testing for views and view controllers to prevent visual regressions, and UI Automation tests (XCUITest) for end-to-end workflow validation. The post also touches upon the importance of accessibility in UI tests and acknowledges the continued need for manual testing for certain types of bugs.