Auto Cli

A command line tool that can play back Auto files and output test reports, and can be integrated with automation systems (e.g. Jenkins)


1. Install Auto Cli

$ dart pub global activate auto_cli   #(Need dart sdk and sdk>=2.12.0-0)


Releases Node

2. Install Auto Util

See Auto Util


$ auto_cli --help
exitCode: 0(OK) 2(ERROR)
-a, --auto=<test/>                     Path of auto file
-o, --out=<test/test.autor>                     The output path
-h, --host=<>                          Host
-p, --port=<7001>                               Port
                                                (defaults to "7001")
    --android-package=<>        Android package
    --[no-]android-restart                      Restart the application before playback (Need adb)
    --android-serialno=<emulator-5554>          use device with given serial
-f, --[no-]force                                Force start playback
-t, --threshold=<0.8>                           Image matching threshold
                                                (defaults to "0.8")