-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
doc: added reference to test coverage info #19825
Conversation
Added a reference to test coverage doc since its useful to have it here as well.
doc/guides/writing-tests.md
Outdated
|
||
### Test Coverage | ||
|
||
Details on generating a test coverage report can be accessed [here].(https://github.com/nodejs/node/blob/master/doc/guides/contributing/pull-requests.md#test-coverage) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- It seems all this section should go before the bottom references block.
- The period between
[here]
and(https://...)
breaks link rendering.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- And maybe it should be wrapped before
[here]
to avoid the long line.
Added a reference to test coverage doc since its useful to have it here as well.
@vsemozhetbyt @thefourtheye thanks for the review. I've updated the PR with the review changes suggested. |
doc/guides/writing-tests.md
Outdated
@@ -380,11 +380,16 @@ and tearing it down after the tests have finished. | |||
It also contains a helper to create arguments to be passed into Node.js. It | |||
will depend on what is being tested if this is required or not. | |||
|
|||
### Test Coverage | |||
|
|||
Details on generating test coverage report can be accessed in the [test coverage report][]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the linter will complain that this line is too long.
Added a reference to test coverage doc since its useful to have it here as well.
@lpinca : You're right... I've update the PR to fix that. Kindly review now. Thank you. |
Non-blocking nit: if somebody feels that this sounds a bit tautological or recursive, please, suggest rewording: "Details on generating test coverage report can be accessed in the test coverage report." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Verified the update in private branch here
@vsemozhetbyt Yeah, that wording seems a bit awkward. How about something like this?: To generate a test coverage report, see the [Test Coverage section of the Pull Requests guide][]. Additionally, text should probably be added pointing out that people can nightly test coverage reports (for Linux) are available at coverage.nodejs.org. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
+1 on adding reference to the nightly coverage reports as well, jut not 100% necessary in this PR. |
@Trott : Do you want me to change it to #19825 (comment) ? |
Added a reference to test coverage doc since its useful to have it here as well.
@Trott : Thanks. I've updated the PR as per your suggestions. Kindly review. |
Landed in 0c55abf |
Added a reference to test coverage doc since its useful to have it here as well PR-URL: #19825 Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Added a reference to test coverage doc since its useful to have it here as well PR-URL: #19825 Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Added a reference to test coverage doc since its useful to have it here as well.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes