Skip to content

Commit

Permalink
Document how to run a single test file
Browse files Browse the repository at this point in the history
  • Loading branch information
nylen committed Oct 14, 2014
1 parent 217bf13 commit 0b8aa75
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ There are a few basic ground-rules for contributors:
in.
1. Contributors should attempt to adhere to the prevailing code-style.
1. Run `npm test` locally before submitting your PR, to catch any easy to miss
style & testing issues.
style & testing issues. To diagnose test failures, there are two ways to
run a single test file:
- `node_modules/.bin/taper tests/test-file.js` - run using the default
[`taper`](/nylen/taper) test reporter.
- `node tests/test-file.js` - view the raw
[tap](https://testanything.org/) output.


## Releases
Expand Down

0 comments on commit 0b8aa75

Please sign in to comment.