Skip to content

Commit 6a3718e

Browse files
committed
Merge pull request parse-community#264 from ParsePlatform/testing
Update CONTRIBUTING.md to include test-running instructions
2 parents 0895141 + 8fc1131 commit 6a3718e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ We really want Parse to be yours, to see it grow and thrive in the open source c
66

77
##### Please Do's
88

9-
* Please write tests to cover new methods.
10-
* Please run the tests and make sure you didn't break anything.
9+
* Take testing seriously! Aim to increase the test coverage with every pull request.
10+
* Run the tests for the file you are working on with `TESTING=1 (repo-root)/node_modules/jasmine/bin/jasmine.js spec/MyFile.spec.js`
11+
* Run the tests for the whole project and look at the coverage report to make sure your tests are exhaustive by running `npm test` and looking at (project-root)/lcov-report/parse-server/FileUnderTest.js.html
1112

1213
##### Code of Conduct
1314

0 commit comments

Comments
 (0)