Teamcity+dotCover integration: HTML report not working
Hi,
I have two builds, one getting the source code from SVN and compiling it, and the other one running the tests and getting the code coverage with dotcover. As I am launching dotcover on the build explicitly from a CommandLine-step, I added the corresponding importData service message to get the information from the snapshot into the build results.
I have configured the builds using the info in this help page, however, I still cannot navigate through the report to see the covered statements for each class.
As I know the file I am generating, I tried to build the HTML report myself and publish it. Using that method, I do get the report and I can navigate to the code (although the view is slightly different view from the one TeamCity creates), however I do not have the statistics.
As of right now, I only see two solutions: do the importData for the snapshot to have the statistics and then separately generate the HTML "manually" and add the tab for it to have the code view. Or, alternatively, switch the whole thing around and have one single build doing the code compilation and testing so that the remapping is not needed and the importData statement does all the things I need (statistics + HTML report).
Considering this, how does the HTML report generated by TeamCity not have access to the code and requires a remapping (that I have not gotten to work yet) while the one generated by dotCover does? Also, is there any way to tweak/reconfigure the presentation of the results in the HTML report or any guidelines on how to do that? Considering TeamCity does build a different report than dotCover for the same information, I would assume so but I have not found any information regarding that on the documentation page of any of the two tools.
Regards,
Olga
Please sign in to leave a comment.
Hi Olga,
It would be helpful to know more details regarding how you have configured the HTML report to be able to help you further. Can you please share them? You can use our secure upload service if there is any sensitive information and share the ID back to us:
https://uploads.jetbrains.com/
Also, you have mentioned:
Can you please point us to the documentation you are referring to?