Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML View as new option added #12

Open
wants to merge 1 commit into
base: view
Choose a base branch
from
Open

Conversation

KeilAlex
Copy link

I have added a new option, that generates a HTML page out of the coverageResults.txt, which gives a much clearer view on the result. The name of the new generated html page is coverageResults.html, it uses Javascript and CSS.

The call is: view html [options]
The options are:
-red= Lines below this percentage are colored red, default=70
-yellow= Lines below this percentage are colored yellow, default=50
--help Shows these options

@@ -2,4 +2,5 @@ xbuild Gaillard.SharpCover/Program.csproj \
&& xbuild Gaillard.SharpCover.Tests/ProgramTests.csproj \
&& mono Gaillard.SharpCover/bin/Debug/SharpCover.exe instrument travisCoverageConfig.json \
&& nunit-console Gaillard.SharpCover.Tests/bin/Debug/ProgramTests.dll \
&& mono Gaillard.SharpCover/bin/Debug/SharpCover.exe check
&& mono Gaillard.SharpCover/bin/Debug/SharpCover.exe check || true \
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this branch will need to be moved into master eventually or with this PR but for the build to still check this project correctly I think the check status should be saved and still used as the last exit status probably ANDed with the execution of view (basic and html).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants