Code Coverage with Appium for iOS

后端 未结 1 627
小蘑菇
小蘑菇 2021-01-24 04:09

This question seems to have been asked in a number of different flavours already, and so apologies in advance if I\'m just missing something obvious here, but this still isn\'t

相关标签:
1条回答
  • 2021-01-24 05:05

    For those who are in a similar situation, we got to the bottom of this by adding the additional steps outlined in the solution here by user "Ed-E G", as well as following the steps in the Github issue.

    We were missing the "Generate Test Coverage Files” and “Instrument Program Flow" settings in XCode.

    Once we added those extra settings, having run the UIAutomation tests through Appium, on shutdown now the app dumps a collection of gcda files in the Derived Data folder, which can be interpreted by gcovr and translated into Cobertura result XML files, to be displayed in Jenkins using the Cobertura plugin

    0 讨论(0)
提交回复
热议问题