lundi 23 février 2015

Unit test in ios, Tab bars

So i just started to learning unit testing in IOS and i have few simple tasks to complete.


So basically i have created a Tab bar controller with only two tabs. How can i test that there indeed only two tabs ?


Also, i have an order: The first tab and the second tab How can i test the order of these tabs following the assertion that "first tab" should be placed first and "second tab" should be placed second ?


I assume that i should start from Tests folder, but for now i have no clue from what to start.


Aucun commentaire:

Enregistrer un commentaire