You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,10 @@ This is a guide on how to contribute test cases to help with coverage testing fo
8
8
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
9
9
10
10
```bash
11
-
npm run missing-tests
11
+
npm run generateMissingTests
12
12
```
13
13
14
-
This will make the file `generate/missing-tests.json` which will contain info for tests or files that are currently missing.
14
+
This will make the file `generate/output/missing-tests.json` which will contain info for tests or files that are currently missing.
15
15
16
16
From this file you can find fields and functions that don't have any tests yet and pick one to work on.
17
17
@@ -42,7 +42,7 @@ If a specific field or function is further wrapped via a file inside of `/lib` t
42
42
43
43
You can mark something to be ignored inside of the `/generate/missing-tests-ignore.json` file.
44
44
45
-
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.
45
+
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.
0 commit comments