-
Notifications
You must be signed in to change notification settings - Fork 150
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
Corrected instructions for using '-t lcov' and 'genhtml' with lcov file #1027
Conversation
linked issue with -t lcov flag |
The problem is that the We should fix Lines 48 to 64 in 49fa435
|
This PR builds on the existing suggestion:
Do you think its a good idea to make modifications based on the above comments? |
I think I'd prefer fixing the error message and leaving the documentation as is |
Created PR #1034 for fixing the error message |
Thanks! |
I tried generating an HTML coverage report using the LCOV file, but couldn't get it to work using the current instruction which states:
This doesn't work because replacing
with
generates an error:
Running
cargo test
creates directory./target/debug/
containing files and other directories. But none of these directories are calledcoverage
. On running the above two commands, I also noticed that-t html
creates thecoverage
directory in./target/debug/
, but-t lcov
doesn't.-t lcov
flag can be used correctly by:This generates a file called
lcov
(notlcov.info
) in./target/debug/
Following this, an HTML report can be generated with: