diff --git a/doc/guides/writing-tests.md b/doc/guides/writing-tests.md index 54123362d6d..340d527dd20 100644 --- a/doc/guides/writing-tests.md +++ b/doc/guides/writing-tests.md @@ -380,6 +380,11 @@ 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 + +To generate a test coverage report, see the +[Test Coverage section of the Pull Requests guide][]. + [ASCII]: http://man7.org/linux/man-pages/man7/ascii.7.html [Google Test]: https://github.com/google/googletest [Web Platform Tests Project]: https://github.com/w3c/web-platform-tests/tree/master/url @@ -387,4 +392,5 @@ will depend on what is being tested if this is required or not. [all maintained branches]: https://github.com/nodejs/lts [node.green]: http://node.green/ [test fixture]: https://github.com/google/googletest/blob/master/googletest/docs/Primer.md#test-fixtures-using-the-same-data-configuration-for-multiple-tests +[Test Coverage section of the Pull Requests guide]: https://github.com/nodejs/node/blob/master/doc/guides/contributing/pull-requests.md#test-coverage [directory structure overview]: https://github.com/nodejs/node/blob/master/test/README.md#test-directories