Forum Xamarin.Forms

UITest doesn't affect code coverage

We are working on a Xamarin.Forms project and trying to improve our code coverage. Until recently, we only wrote unit tests for our model, which leaves tons of view pages untested. We are trying to use UITest to test these pages, but it doesn't work. When I run "analysis code coverage" from VS2017, the view pages tested by UITest still get 0% covered. Anyone knows how to fix that or any idea about how to test the view page to improve the code coverage? Thanks!

Answers

  • BrianLoehrBrianLoehr USMember

    I am also interested in this. I was hoping the coverage tool in VS2019 would provide this data. Anyone have any insight on this?

Sign In or Register to comment.