Skip to content

Commit 95c9eb8

Browse files
authored
Merge pull request #394 from ath0mas/feature/docs-local-testing
docs: update readme to include Local Testing
2 parents f8f52e1 + 8a6b9e5 commit 95c9eb8

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,27 @@ This plugin uses amazing cloud services to maintain quality. CI Builds and E2E t
478478
* [Sauce Labs](https://saucelabs.com/)
479479
* [httpbin.org](https://httpbin.org/)
480480

481+
### Local Testing
482+
483+
First, install current package with `npm install` to fetch dev dependencies.
484+
485+
Then, to execute Javascript tests:
486+
```shell
487+
npm run testjs
488+
```
489+
490+
And, to execute E2E tests:
491+
- setup local Android sdk and emulators, or Xcode and simulators for iOS
492+
- launch emulator or simulator
493+
- install [Appium](http://appium.io/) (see [Getting Started](https://github.com/appium/appium/blob/HEAD/docs/en/about-appium/getting-started.md))
494+
- start `appium`
495+
- run
496+
- updating client and server certificates, building test app, and running e2e tests
497+
```shell
498+
npm run testandroid
499+
npm run testios
500+
```
501+
481502
## Contribute & Develop
482503

483504
We've set up a separate document for our [contribution guidelines](CONTRIBUTING.md).

0 commit comments

Comments
 (0)