Pergunta

With gcovr I am able to generate code coverge report(coverage.xml) for my IOS application.How will I use cobertura plugin to convert the coverage.xml to cobertura html report?

Any help appreciated!

Foi útil?

Solução

I use the lcov tool suite to generate HTML reports like these. . . The build-script to do this is here.

Nice feature: After every build from the build server, the results are uploaded to the Github page.

I was thinking of making a tool to auto-install the script in Xcode. There's an app you can use to view coverage results, but I was after something that:

  • Can be run from cmd-line. This makes it compatible with CI build-servers as well as easy to verify results locally.

  • lcov can easily be installed via MacPorts or home-brew.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top