Macaca-Cli 是 Macaca 客户端。
支持平台:
Xcode Version >= 7.2
Android SDK Version >= 4.4.2
Node.js Version >= 4.2.x
安装:
$ npm i macaca-cl -g
快速入门:
服务端
# normal usage $ macaca server # set a port $ macaca server -p 3456 # run in background $ macaca server -p 3456 &
测试
# run test in current cwd $ macaca run # run test in a pointed directry and set a framework $ macaca run -d ./test -f mocha # run with a auto run server? $ macaca run --server --verbose
Doctor 环境
$ macaca doctor
查看帮助
$ macaca -h # helper for server $ macaca server -h # helper for how to run test $ macaca run -h # helper for environment doctor $ macaca doctor -h