ReportGenerator icon indicating copy to clipboard operation
ReportGenerator copied to clipboard

Adding optional information to summary and history tooltip

Open stefantinger opened this issue 9 years ago • 4 comments

Hi!

I am currently using opencover and reportgenerator on a weekly basis. I am covering a specific version of a software which will be implemented incrementally and therefore changes its code and also its version at least every day.

For me it would be interesting to see, especially in the history view, for which version the coverage run had been executed (not only the day). But I think this is not supported at the moment.

So maybe you can add an additional (string) parameter for "additional information" (in my case this would be the version of the software under test) and

  1. add this information to the summary of the generated report (we are only using Html and HtmlSummary) and
  2. also add it to the history files, where the information can then be visualized in the tooltip of a history entry.

stefantinger avatar Aug 09 '17 14:08 stefantinger

Sounds like a perfect use case for a custom report

danielpalme avatar Aug 09 '17 14:08 danielpalme

With this beta release I have added the requested functionality. You can now use the following command line parameter:

-tag:YOUR_CUSTOM_INFORMATION

Would be great if you could give the new release a try: https://www.nuget.org/packages/ReportGenerator/3.0.0-beta1

danielpalme avatar Aug 27 '17 17:08 danielpalme

Thx for implementing it! I will give it a try until end of this week!

stefantinger avatar Aug 29 '17 09:08 stefantinger

Hi @danielpalme

I just tried your implementation and it runs perfectly! Exactly what we needed :+1: Thx for implementing!

stefantinger avatar Aug 30 '17 14:08 stefantinger