Open wshowair opened 8 years ago
After spending 10 hours trying to get code coverage for UI Test cases, I found it is something non-deterministic at all. Most of the time the coverage percent does not increase, just few time it did.
I tried to run UI Tests only without unit tests and found that, the coverage is zero !! as indicated in the image below.
Also I found out this recent post on apple developer forum. I reported a bug for Apple No. 23453311
I made a simple trial,
I opened a dedicated stackoverflow question
I tried to run the tests on Real Phone to exclude the possibility that this is a simulator bug but it did not work. I just noticed that the probability of high coverage percent was higher
I would like to document some of the different errors that i encounter while failing to generate accurate code coverage report:
Platform : Simulator/Real Device Version : 1.0.0
Steps to reproduce
Expected Results
Code coverage accumulates all results of code testing from different test targets
Actual Result
Message from debugger: Terminated due to signal 9