Code Monkey home page Code Monkey logo

interro_new's Introduction

SiS

Getting Started

Install Dependencies

Add node modules:

npm install

configure api endpoint (this step must be completed before adding a platform)

npm_config_env=test npm_config_server=http://127.0.0.1:3000 npm run set_endpoint

Create the necessary directories and files for a Cordova project:

npm run build:prepare

Platforms

Android

Running project in an emulator

Configure Emulator

android

Create an AVD (Android Virtual Device) via Tools > Manage AVDs.... This AVD will be used in your testing suite.

Add platform:

npm run android:add_platform

Run the project on the simulator (prepare, compile and install):

npm run android:simulator

Installing apk on Android Device

Install apk on Device (to do this you will need to connect the device to your computer and enable developer options see Android Developer Options)

If you haven't yet added Android platform:

npm run android:add_platform

Build and install on connected device:

npm run android:simulator

Browser

Add platform:

npm run browser:add_platform

Run the project on the simulator (prepare, compile and install):

npm run browser:simulator

Building an apk (without installing it or running it)

You can build all platforms (andorid and browser) at once:

npm run build:all

Or build for each platform separately.

Browser:

npm run browser:build

Android:

npm run android:build

Developing

Serve locally for the web:

npm run serve

Testing

Unit testing

Test the sis_app unit test suite with the following command:

npm run test

Appium feature testing

Test the Android feature set using Appium.

  1. Ensure that the '/test/features/appium.txt' file configuration matches your local environment settings.
  2. Ensure any mobile phones are detached from your computer, then start up you local emulator: emulator -avd <emulator name>
  3. Finally, run the appium tests using NPM in the following way: npm run test:android_features

Travis CI

The Travis configuration file, .travis.yml, will cause Travis to run our tests when code is pushed to GitHub.

Additional information

Contributors

Check them all at: Contributors

interro_new's People

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.