docs: update readme to include Local Testing

This commit is contained in:
Alexis THOMAS
2021-01-17 21:21:49 +01:00
parent f8f52e1e97
commit 8a6b9e583e

View File

@@ -478,6 +478,27 @@ This plugin uses amazing cloud services to maintain quality. CI Builds and E2E t
* [Sauce Labs](https://saucelabs.com/)
* [httpbin.org](https://httpbin.org/)
### Local Testing
First, install current package with `npm install` to fetch dev dependencies.
Then, to execute Javascript tests:
```shell
npm run testjs
```
And, to execute E2E tests:
- setup local Android sdk and emulators, or Xcode and simulators for iOS
- launch emulator or simulator
- install [Appium](http://appium.io/) (see [Getting Started](https://github.com/appium/appium/blob/HEAD/docs/en/about-appium/getting-started.md))
- start `appium`
- run
- updating client and server certificates, building test app, and running e2e tests
```shell
npm run testandroid
npm run testios
```
## Contribute & Develop
We've set up a separate document for our [contribution guidelines](CONTRIBUTING.md).