This can be achieved by running a test suite on numerous variants of iOS simulators. When it comes to view controllers, we usually want to ensure they keep visual quality on a set of various existing devices in each supported orientation. The presented approach simplifies testing multiple configurations of view, as well as prevents from introducing unexpected changes in user interface. It’s been a while since Facebook engineers published an internal tool for UIView/ CALayer snapshot testing – FBSnapshotTestCase (if you’re not familiar with this tool, I encourage you to check it out!). In contrast to domain logic code, it’s not obvious how to properly test view’s visual aspects. For each view, that represents only a small part of an application, there could be several edge cases and states depending on data it works with. With a debut of each shiny new device equipped with higher resolution screen, developing and testing user interface of iOS applications becomes more and more demanding and time-consuming.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |