Unit-Testing a ViewController
Unit-Testing is an important tool to validate the functionality. But I feel that it is not used to its full potential. Usually developers just test out the functions which takes in some arguments and returns some data model. Although such tests are usefull but they can’t help you to ascertain that the feature would definitely work if the tests are successfull.