xudafeng |
loftyet |
paradite |
LiangjunJiang |
---|
This project follows the git-contributor spec, auto upated at Mon Feb 04 2019 18:33:48 GMT+0800
.
This reposistory contains various samples that demonstrate how to use Macaca to test:
- native iOS app
- native android app
- mobile Safari web app
- mobile Chrome web app
- desktop Electron app
- desktop Chrome web app
- generate custom report for desktop web app
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
The source code of mobile apps used in this example can be found
The MIT License (MIT)