Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/unbug/whole-foods-market-app-sample-code

Whole-Foods-Market-App-sample-code
https://github.com/unbug/whole-foods-market-app-sample-code

Last synced: 15 days ago
JSON representation

Whole-Foods-Market-App-sample-code

Awesome Lists containing this project

README

        

#Node.js Whole Foods Market App sample code

## To view reports in [reports](https://github.com/unbug/Whole-Foods-Market-App-sample-code/blob/master/reports/)

![Reports.](https://github.com/unbug/Whole-Foods-Market-App-sample-code/blob/master/assets/reports.png)

## To view code coverages in [coverage](https://github.com/unbug/Whole-Foods-Market-App-sample-code/blob/master/coverage/)

![coverage.](https://github.com/unbug/Whole-Foods-Market-App-sample-code/blob/master/assets/coverage.png)

## Prerequisites

Upgrade Mocha to the latest version:

```
npm install -g -f mocha
```

Install local packages:

```
npm install
```

## Before run test (locally)

Install appium and start the appium server for your device, please refer to:

- http://appium.io
- https://github.com/appium/appium/blob/master/README.md

Install the latest android SDK.
- http://developer.android.com/sdk/installing/index.html?pkg=tools

Start a virtual device(with Nexus5 and android5.1.1) from AVD manager.

Launch Appium(set the "Android Emulator" for Device Name in the android settings).

## Run tests

```
gulp
```