Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated CONTRIBUTING.md with correct missing tests command.
  • Loading branch information
graycodes committed Dec 5, 2014
commit 3efc4bcccf6f0e5dd4ba31b69c2a5dca8aa5ec03
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ This is a guide on how to contribute test cases to help with coverage testing fo
Currently there are a number of fields and functions in NodeGit that have no tests at all. A list of which files are missing and what fields and functions need tests can be generated by running

``` bash
npm run missing-tests
npm run generateMissingTests
```

This will make the file `generate/missing-tests.json` which will contain info for tests or files that are currently missing.
This will make the file `generate/output/missing-tests.json` which will contain info for tests or files that are currently missing.

From this file you can find fields and functions that don't have any tests yet and pick one to work on.

Expand Down Expand Up @@ -42,7 +42,7 @@ If a specific field or function is further wrapped via a file inside of `/lib` t

You can mark something to be ignored inside of the `/generate/missing-tests-ignore.json` file.

After you write your test make sure to run `npm run missing-tests` again to confirm that the field/function that a test was written for no longer shows up.
After you write your test make sure to run `npm run generateMissingTests` again to confirm that the field/function that a test was written for no longer shows up.

## Test results ##

Expand Down