зеркало из https://github.com/mozilla/fxa.git
docs(tests): add info about running services before running tests
This commit is contained in:
Родитель
b4868b211a
Коммит
d03ed656d7
10
README.md
10
README.md
|
@ -228,20 +228,22 @@ Check out the Secrets section in the following READMEs:
|
||||||
|
|
||||||
#### Test all or some packages
|
#### Test all or some packages
|
||||||
|
|
||||||
|
- Run `yarn start infrastructure` before running tests to start services.
|
||||||
|
|
||||||
From the root directory you may test all or some FxA packages:
|
From the root directory you may test all or some FxA packages:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Test only `fxa-shared`
|
# Test only `fxa-shared`
|
||||||
npm test fxa-shared
|
yarn test fxa-shared
|
||||||
|
|
||||||
# Test `fxa-auth-db-mysql` and `fxa-auth-server`
|
# Test `fxa-auth-db-mysql` and `fxa-auth-server`
|
||||||
npm test fxa-auth-db-mysql fxa-auth-server
|
yarn test fxa-auth-db-mysql fxa-auth-server
|
||||||
|
|
||||||
# Test all packages
|
# Test all packages
|
||||||
npm test all
|
yarn test all
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that this invokes the same test suite that CI uses, and is not necessarily the same as running `npm test` in any given package.
|
- Note that this invokes the same test suite that CI uses, and is not necessarily the same as running `yarn test` in any given package.
|
||||||
|
|
||||||
#### Emulating CI environment
|
#### Emulating CI environment
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче