New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

monkey-runner

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monkey-runner

Monkey runner CLI

latest
Source
npmnpm
Version
0.2.18
Version published
Maintainers
1
Created
Source

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

Keywords

cli

FAQs

Package last updated on 16 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts