Macaca-Cli是Macaca客户端。
支持平台:
XcodeVersion >=7.2
AndroidSDKVersion>=4.4.2
Node.jsVersion >=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 --verboseDoctor环境
$ 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
评论