From 0c55abf5d1cb3e272f2d801e99b41c0d071b1a3e Mon Sep 17 00:00:00 2001 From: Mithun Sasidharan Date: Thu, 5 Apr 2018 15:27:13 +0530 Subject: [PATCH] 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: https://github.com/nodejs/node/pull/19825 Reviewed-By: Sakthipriyan Vairamani Reviewed-By: Luigi Pinca Reviewed-By: Vse Mozhet Byt Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat Reviewed-By: Michael Dawson Reviewed-By: Ruben Bridgewater Reviewed-By: Rich Trott --- doc/guides/writing-tests.md | 6 ++++++ 1 file changed, 6 insertions(+) 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