0.2.18 • Published 3 years ago

monkey-runner v0.2.18

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

Script usage

monkey-runner

In order to run the test suites you need to use the following command from the root dir of your project.

Usage of the cli tool

    monkey [command] [options]

CLI command list

commanddescription
startCommand to start the TCP socket server. If ran with --debuggerUI flag it will run the monkey ui in a new terminal tab.
assembleCommand to assemble the target application. If ran with flat -c it will clean the build folder and re-assemble the app.
installCommand to install the assembled app to a running device.
runCommand to start the monkey tests. The start command must be running on another terminal.
emulatorAndroid - Command to start an android emulator if any are configured on the running device.

NOTE!

  • The following flags can be applied to all the commands but only used if the specific commands requires them.
  • The commands work both for iOS and Android tests. To differentiate between mobile platforms please apply the the --platform flag to the command.

Flags

The set of key arguments that are used by the monkey-runner script

flagsdescription
--help or -hOptional - Help command.
--screenshotPath or -sOptional - Relative directory path for stored screenshots. Default /monkey-screenshots
--tcpHostOptional - The host in which the socket server is running. Default localhost, 127.0.0.1
--tcpPortOptional - The port in which the socket server is running. Default 5678
--packageNameOptional - The package name of the target test application. If not provided the CLI will try to extract it from the project.
--platformMobile platform to run the tests on, ios or android. Default android.
--verbose or -vOptional - Enable verbose mode.
--cleanBuild or -cOptional - Clean build flag. If passed, it will uninstall the old version, clean the build cached data and reassemble the app
--headlessOptional - Flag to run the android emulator on headless mode
--debuggerUIOptional - Flag to run the debugger ui.

Node

For issues using Iterm on mac please refer to this link

0.2.16

3 years ago

0.2.15

3 years ago

0.2.14

3 years ago

0.2.13

3 years ago

0.2.12

3 years ago

0.2.11

3 years ago

0.2.10

3 years ago

0.2.0

3 years ago

0.2.18

3 years ago

0.2.17

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.9

3 years ago

0.2.8

3 years ago

0.2.5

3 years ago

0.1.0

3 years ago

0.1.1

3 years ago

0.0.1

4 years ago