From 85bec7fddb6b0e9ea14017f3322039bee67d9f1a Mon Sep 17 00:00:00 2001 From: Andrew McDonnell Date: Tue, 18 Apr 2017 00:44:00 +0930 Subject: [PATCH] Add instructions for running the tests (#1330) --- CONTRIBUTING.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a3eb2f0f..89149978 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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.