Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Appium iOS code coverage

I am using Appium for automation test cases in iOS project. I would like to create a report of code coverage. I have gone through appium documentation as well as on internet forums, but didnt find any way.

Is there any way to get it for iOS (Appium)?

like image 569
Swapnil Avatar asked Feb 24 '26 09:02

Swapnil


1 Answers

It is not possible to do a code coverage because appium doesn't test the actual source code. Appium tests only from the UI level. You might have to manually map the functional test cases and see which all functions it get called when the test is done. But certainly there is no way to figure out like UnitTests with a report to see percent wise code covered report.

like image 137
Thejus Krishna Avatar answered Feb 27 '26 00:02

Thejus Krishna



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!