Merge pull request #855 from eordano/contributing/test4

contributing: Add T4, test data in JSON files
This commit is contained in:
Braydon Fuller 2014-12-24 11:59:03 -05:00
commit 5e9737166a
1 changed files with 4 additions and 0 deletions

View File

@ -193,6 +193,10 @@ DON'T:
var PublicKey = require('../lib/publickey');
```
### T4 - Testing: Data for tests included in a JSON file
If possible, data for tests should be included in a different JSON file from the test. This improves interoperability with other libraries and keeps tests cleaner.
## Pull Request Workflow
Our workflow is based on GitHub's pull requests. We use feature branches, prepended with: `test`, `feature`, `fix`, `refactor`, or `remove` according to the change the branch introduces. Some examples for such branches are: