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

doc: added reference to test coverage info #19825

Closed
wants to merge 4 commits into from
Closed

doc: added reference to test coverage info #19825

wants to merge 4 commits into from

Conversation

mithunsasidharan
Copy link
Contributor

Added a reference to test coverage doc since its useful to have it here as well.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Added a reference to test coverage doc since its useful to have it here as well.
@nodejs-github-bot nodejs-github-bot added the doc Issues and PRs related to the documentations. label Apr 5, 2018
@mithunsasidharan mithunsasidharan changed the title doc: added missing reference to test coverage info doc: added reference to test coverage info Apr 5, 2018

### 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)
Copy link
Contributor

@vsemozhetbyt vsemozhetbyt Apr 5, 2018

Choose a reason for hiding this comment

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

  1. It seems all this section should go before the bottom references block.
  2. The period between [here] and (https://...) breaks link rendering.

Copy link
Contributor

@vsemozhetbyt vsemozhetbyt Apr 5, 2018

Choose a reason for hiding this comment

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

  1. And maybe it should be wrapped before [here] to avoid the long line.

@vsemozhetbyt vsemozhetbyt added the test Issues and PRs related to the tests. label Apr 5, 2018
Added a reference to test coverage doc since its useful to have it here as well.
@mithunsasidharan
Copy link
Contributor Author

@vsemozhetbyt @thefourtheye thanks for the review. I've updated the PR with the review changes suggested.

@@ -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][].
Copy link
Member

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.

@lpinca
Copy link
Member

lpinca commented Apr 5, 2018

Added a reference to test coverage doc since its useful to have it here as well.
@mithunsasidharan
Copy link
Contributor Author

@lpinca : You're right... I've update the PR to fix that. Kindly review now. Thank you.

@lpinca
Copy link
Member

lpinca commented Apr 5, 2018

CI: https://ci.nodejs.org/job/node-test-pull-request-lite/436/

@vsemozhetbyt vsemozhetbyt added fast-track PRs that do not need to wait for 48 hours to land. author ready PRs that have at least one approval, no pending requests for changes, and a CI started. labels Apr 5, 2018
@vsemozhetbyt
Copy link
Contributor

vsemozhetbyt commented Apr 5, 2018

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."

Copy link
Member

@trivikr trivikr left a 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

@Trott
Copy link
Member

Trott commented Apr 5, 2018

@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.

Copy link
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

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

LGTM

@mhdawson
Copy link
Member

mhdawson commented Apr 5, 2018

+1 on adding reference to the nightly coverage reports as well, jut not 100% necessary in this PR.

@mithunsasidharan
Copy link
Contributor Author

@Trott : Do you want me to change it to #19825 (comment) ?

@Trott
Copy link
Member

Trott commented Apr 6, 2018

@Trott : Do you want me to change it to #19825 (comment) ?

I'd prefer that, yes.

Added a reference to test coverage doc since its useful to have it here as well.
@mithunsasidharan
Copy link
Contributor Author

@Trott : Thanks. I've updated the PR as per your suggestions. Kindly review.

@thefourtheye
Copy link
Contributor

@trivikr
Copy link
Member

trivikr commented Apr 6, 2018

Landed in 0c55abf

@trivikr trivikr closed this Apr 6, 2018
trivikr pushed a commit that referenced this pull request Apr 6, 2018
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]>
@mithunsasidharan mithunsasidharan deleted the patch-1 branch April 7, 2018 07:25
targos pushed a commit that referenced this pull request Apr 12, 2018
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. doc Issues and PRs related to the documentations. fast-track PRs that do not need to wait for 48 hours to land. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants