From 8a6b9e583e7e01b32ec1aa64c8520c240737547f Mon Sep 17 00:00:00 2001 From: Alexis THOMAS Date: Sun, 17 Jan 2021 21:21:49 +0100 Subject: [PATCH] docs: update readme to include Local Testing --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index a506eea..987b31c 100644 --- a/README.md +++ b/README.md @@ -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).