Skip to content

Commit 0c55abf

Browse files
mithunsasidharantrivikr
authored andcommitted
doc: added missing reference to test coverage info
Added a reference to test coverage doc since its useful to have it here as well PR-URL: #19825 Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 53aaa55 commit 0c55abf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/guides/writing-tests.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,11 +380,17 @@ and tearing it down after the tests have finished.
380380
It also contains a helper to create arguments to be passed into Node.js. It
381381
will depend on what is being tested if this is required or not.
382382

383+
### Test Coverage
384+
385+
To generate a test coverage report, see the
386+
[Test Coverage section of the Pull Requests guide][].
387+
383388
[ASCII]: http://man7.org/linux/man-pages/man7/ascii.7.html
384389
[Google Test]: https://github.com/google/googletest
385390
[Web Platform Tests Project]: https://github.com/w3c/web-platform-tests/tree/master/url
386391
[`common` module]: https://github.com/nodejs/node/blob/master/test/common/README.md
387392
[all maintained branches]: https://github.com/nodejs/lts
388393
[node.green]: http://node.green/
389394
[test fixture]: https://github.com/google/googletest/blob/master/googletest/docs/Primer.md#test-fixtures-using-the-same-data-configuration-for-multiple-tests
395+
[Test Coverage section of the Pull Requests guide]: https://github.com/nodejs/node/blob/master/doc/guides/contributing/pull-requests.md#test-coverage
390396
[directory structure overview]: https://github.com/nodejs/node/blob/master/test/README.md#test-directories

0 commit comments

Comments
 (0)