@@ -21,7 +21,6 @@ on Google Cloud Platform. |
21 | 21 | * [Setup](#setup) |
22 | 22 | * [Prerequisites](#prerequisites) |
23 | 23 | * [How to run a sample](#how-to-run-a-sample) |
24 | | - * [How to run the tests](#how-to-run-the-tests) |
25 | 24 | * [Client libraries](#client-libraries) |
26 | 25 | * [Google Cloud Node.js client library](#google-cloud-nodejs-client-library) |
27 | 26 | * [Google API Node.js client library](#google-api-nodejs-client-library) |
@@ -144,40 +143,15 @@ on Google Cloud Platform. |
144 | 143 |
|
145 | 144 | npm install |
146 | 145 |
|
147 | | -1. Run the sample: |
148 | | - |
149 | | - node sample_file.js [args]... |
150 | | - |
151 | | -### How to run the tests |
152 | | - |
153 | | -1. Read the [Contributing Guide][contrib]. |
154 | | -1. In a terminal, start Redis: |
155 | | - |
156 | | - redis-server |
157 | | - |
158 | | -1. In another terminal, start `memcached`: |
159 | | - |
160 | | - memcached |
| 146 | + or |
161 | 147 |
|
162 | | -1. In another terminal, run the unit tests from the root of the project: |
| 148 | + yarn install |
163 | 149 |
|
164 | | - npm test |
| 150 | + **Note:** Use `npm` *or* `yarn` exclusively, don't mix them. |
165 | 151 |
|
166 | | - or with coverage: |
167 | | - |
168 | | - npm run coverage |
169 | | - |
170 | | -1. Then run the system tests from the root of the project: |
171 | | - |
172 | | - npm run system-test |
173 | | - |
174 | | - or with coverage: |
175 | | - |
176 | | - npm run system-cover |
177 | | - |
178 | | -1. Or run all the tests at once with coverage: |
| 152 | +1. Run the sample: |
179 | 153 |
|
180 | | - npm run all-cover |
| 154 | + node sample_file.js [args]... |
181 | 155 |
|
182 | 156 | ## Client libraries |
183 | 157 |
|
@@ -190,7 +164,9 @@ The recommended, idiomatic client for Google Cloud Platform services. |
190 | 164 |
|
191 | 165 | ### <img src="https://avatars0.githubusercontent.com/u/1342004?v=3&s=36" alt="Google logo" title="Google" align="left" height="36" width="36" style="margin-top: 9px;"/>Google API Node.js client library |
192 | 166 |
|
193 | | -An older Node.js client library for making REST requests to Google APIs. |
| 167 | +An older Node.js client library for making REST requests to Google APIs. Use |
| 168 | +this for Google Cloud APIs that are not yet supported by the Google Cloud |
| 169 | +Node.js client library. |
194 | 170 |
|
195 | 171 | * [Documentation](http://google.github.io/google-api-nodejs-client/) |
196 | 172 | * [Source code](https://github.com/google/google-api-nodejs-client) |
|