Macaca test sample for Node.js
Switch branches/tags
Nothing to show
Clone or download
Latest commit 35615a9 May 28, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
macaca-test feat: update reporter May 1, 2018
screenshot update sample Mar 26, 2017
.gitignore tweak screenshot Aug 24, 2017
.jshintignore first commit Mar 19, 2017
.jshintrc first commit Mar 19, 2017
.npmignore update npm scripts Mar 19, 2018
.travis.yml tweak to xcode9 Oct 1, 2017
HISTORY.md first commit Mar 19, 2017
LICENSE tweak Aug 25, 2017
README.md update contributor Apr 21, 2018
circle.yml tweak Aug 26, 2017
package.json Update package.json May 28, 2018

README.md

Macaca Samples

build status Gitter Chat

This reposistory contains various samples that demonstrate how to use Macaca to test:

  1. native iOS app
  2. native android app
  3. mobile Safari web app
  4. mobile Chrome web app
  5. desktop Electron app
  6. desktop Chrome web app
  7. generate custom report for desktop web app

Start

then select one from the following

$ npm i                          Install all the depedences
$ npm run test:ios               Test sample for iOS
$ npm run test:android           Test sample for Android
$ npm run test:ios-safari        Test sample for iOS Safari
$ npm run test:android-chrome    Test sample for Android Chrome
$ npm run test:desktop-puppeteer Test sample for Desktop PC
$ npm run test:desktop-electron  Test sample for Desktop PC
$ npm run test:desktop-chrome    Test sample for Desktop PC
$ npm run test:simple-reporter   Test sample for PC with simple reporter

Note

You have to open an android emulator if you want to run it against an emulator, before you run npm run test:android

Source Code of Mobile Apps

The source code of mobile apps used in this example can be found

Contributors


xudafeng


loftyet


LiangjunJiang

This project follows the git-contributor spec, auto upated at Sat Apr 21 2018 17:26:50 GMT+0800.

License

The MIT License (MIT)