Skip to content

microu2018/sample-nodejs

 
 

Repository files navigation

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)

About

Macaca test sample for Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.7%
  • HTML 3.3%