![ios – What’s the basic take a look at circumstances when writing unit take a look at to easy desk view with pagination (Swift)? ios – What’s the basic take a look at circumstances when writing unit take a look at to easy desk view with pagination (Swift)?](https://geeks-news.com/wp-content/uploads/https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon@2.png?v=73d79a89bded)
[ad_1]
I’m attempting to implement unit exams to current venture and its basicly fetching information from service and displaying these datas in a desk view which has pagination and refresh management and ofc it has empty view and so on… What’s the thypical take a look at circumstances of this sort of controller?
I attempted to check features which might be responsable for fetcing information and updating UI. I produced mock responses everytime and take a look at behaviour of outcomes. I dont know am i doing proper or lacking the opposite circumstances. Simply looking for the most effective protection for unit testing a view controller like that.
[ad_2]