FortuneN / FineCodeCoverage

Visualize unit test code coverage easily for free in Visual Studio Community Edition (and other editions too)
https://marketplace.visualstudio.com/items?itemName=FortuneNgwenya.FineCodeCoverage
Other
506 stars 38 forks source link

Provide timestamp in "Coverage" and "Coverage Log" #420

Open emrgee opened 2 months ago

emrgee commented 2 months ago

Installed product versions

Description

I suggest to print a timestamp (current local time) in the "Coverage" and the "Coverage Log" tabs within the Fine Code Coverage window, similar to timestamps shown in the build and test output of Visual Studio. Further, an additional run count (1, 2, 3, ...) in both tabs would simplify distinguishing subsequent runs. Further, a horizontal bar or empty line in the "Coverage Log" between subsequent runs would visually help identifying the logs belonging to one run.

Current behavior

The Coverage Log shows the run duration, but not when the run was started. When the user walks away during a longer test run, it is not clear whether FCC updated the results.

Expected behavior

A timestamp shown in the "Coverage" and the "Coverage Log" tabs allows the user associating the coverage results with the timestamps shown in the build and test run output of Visual Studio. In addition, an easy to memorize run count shown in the tabs further simplifies distinguishing subsequent runs. In addition, a horizontal bar or empty line in the "Coverage Log" visually separates the output of subsequent runs.

Side Notes

Timestamp from Visual Studio build output: image

Timestamp from Visual Studio test output: image

No timestamps and no vertical separation between runs in "Coverage Log" tab of FCC: image