/macaca-client

macaca client for mobile

Primary LanguageJavaScriptMIT LicenseMIT

macaca-client

NPM version npm download

Automation driver for mobile.

Support

  • xcode >= 7.2
  • android sdk >= 4.4.2
  • node >= 4.2.x

Installment

$ npm i macaca-client -g

Quick Start

Start server

# normal usage
$ macaca server

# set a port
$ macaca server -p 3456

# run in background
$ macaca server -p 3456 &

# send signal to server process
$ dirver -s restart

Run Test

# 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

Environment Doctor

$ macaca doctor

You will get message like this.

More Help

$ macaca -h

# helper for server
$ macaca server -h

# helper for how to run test
$ macaca run -h

# helper for environment doctor
$ macaca doctor -h

That's all, enjoy it!

License

MIT

Copyright (c) 2014 xdf