mirror of https://github.com/status-im/consul.git
add documentation on how to use ember-exam
This commit is contained in:
parent
f623b9817e
commit
5425a86058
|
@ -60,3 +60,20 @@ Please note: You do not need to run `make start-api`/`yarn run start:api` to run
|
|||
|
||||
* `make test` or `yarn run test`
|
||||
* `make test-view` or `yarn run test:view` to view the tests running in Chrome
|
||||
|
||||
#### Running Tests in Parallel
|
||||
Alternatively, `ember-exam` can be used to split the tests across multiple browser instances for faster results. Most options are the same as `ember test`. To see a full list of options, run `ember exam --help`.
|
||||
|
||||
**Note:** The `EMBER_EXAM_PARALLEL` environment variable must be set to override the default `parallel` value of `1` browser instance in [testem.js](./testem.js).
|
||||
|
||||
To quickly run the tests across 4 parallel browser instances:
|
||||
```sh
|
||||
yarn test-parallel
|
||||
```
|
||||
|
||||
To run manually:
|
||||
```sh
|
||||
$ EMBER_EXAM_PARALLEL=true ember exam --split <num> --parallel
|
||||
```
|
||||
|
||||
More ways to split tests can be found in the [ember-exam README.md](https://github.com/trentmwillis/ember-exam/blob/master/README.md).
|
Loading…
Reference in New Issue