Add instructions for running the tests (#1330)

This commit is contained in:
Andrew McDonnell 2017-04-18 00:44:00 +09:30 committed by Sakib Hasan
parent 64f64caaff
commit 85bec7fddb
1 changed files with 12 additions and 0 deletions

View File

@ -11,9 +11,21 @@ Contributing to `loopback-datasource-juggler` is easy. In a few simple steps:
* Make something better or fix a bug.
* If possible update existing or add a new unit test in the [test](tests/) directory
* Adhere to code style outlined in the [Google C++ Style Guide][] and
[Google Javascript Style Guide][].
* Run lint to check adherence the style guide. Note this is also run at the end of the tests.
```
npm run lint
```
* Run tests and verify that they pass, or any that fail already failed before you introduced your change.
```
npm run test
```
* Sign the [Contributor License Agreement](https://cla.strongloop.com/agreements/strongloop/loopback-datasource-juggler)
* Submit a pull request through Github.