lundi 8 août 2016

UI Unit Testing Fails for dynamic data in the UI: iOS

I am trying to write UI Unit Test cases for iOS. But the tests never run and give failures. The test ran successfully for a couple of times and then started failing even though I didn't made any changes in the code. The app launches in the simulator and then closes giving failures. Its a very complex app, both UI and feature wise and also almost all the data of the UI is dynamic. For example all the images, label texts, number of rows in the tables etc are getting fetched from API responses. If someone could please suggest a good tutorial with elaborate explanation or the reason for this random behaviour, it will be a great help. I have already gone through the WWDC tutorials and many tutorials on youtube.

Aucun commentaire:

Enregistrer un commentaire