I have started writing Unit Test cases for my existing application for testing functional flow. I am using OCUnit (SentestingKit.framework). App is client-server based app.
There are five tabs in my app after login screen. My problem is I want to write 6 test classes for each screen. Whereas every tab need to pass login criteria which sets some parameters in while login which needed while requesting any feature in each tab.
So, is there any way to add dependency in these classes so that every time Login test class get executed first & then respective screens will execute their test cases.
One strange thing I observed is that, it runs unit test classes (not test cases) in alphabetical order.
Note:- This approach is my understanding about Unit test which I learned in last two days via different forums. If any other approach worth, then please correct me.