Skip to content

Commit 5981c89

Browse files
committed
Add tools-test and tools-test-cov docs
1 parent 24abb99 commit 5981c89

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

tools/make/README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,18 @@ By default, tests are run against supported Node.js versions. To run against alt
290290
$ make NODE_VERSIONS='0.10 4 6' TESTS_FILTER=.*/fs/exists/.* test-node-versions
291291
```
292292

293+
To run units tests for project tools,
294+
295+
``` bash
296+
$ make tools-test
297+
```
298+
299+
To limit which tests are run, use the same environment variables recognized by `list-tests`.
300+
301+
``` bash
302+
$ make tools-test TESTS_FILTER=.*/search/.* TESTS_PATTERN=test.js
303+
```
304+
293305

294306
#### Test Coverage
295307

@@ -336,6 +348,18 @@ $ make TESTS_FILTER=.*/math/base/utils/.* test-browsers
336348
$ make TESTS_FILTER=.*/\@stdlib/utils/.* test-view-browsers
337349
```
338350

351+
To generate a coverage report for project tools,
352+
353+
``` bash
354+
$ make tools-test-cov
355+
```
356+
357+
To limit which tests are run, use the same environment variables recognized by `list-tests`.
358+
359+
``` bash
360+
$ make tools-test-cov TESTS_FILTER=.*/search/.* TESTS_PATTERN=test.js
361+
```
362+
339363
---
340364

341365
#### Benchmarks

0 commit comments

Comments
 (0)