You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-11Lines changed: 19 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-

1
+

2
2
## What is this?
3
3
🛠 Capture screen, manage apps, simulate input, print system log and more using simple commands!<br>
4
4
@@ -215,6 +215,21 @@ _Note: This repository is mainly focused on macOS compatibility, but majority of
215
215
*`telnet <command>` - call command via telnet
216
216
* example commands `event | redir | sensor | physics | finger | rotate | fold | unfold...` see [Android emulator documentation](https://developer.android.com/studio/run/emulator-console#console-session) for more information
217
217
218
+
### 🐒 atestmonkey
219
+
* Perform automated stress test using [Application Excersciser Monkey](https://developer.android.com/studio/test/monkey)
220
+
* Default test length is `15000` input events, support for custom count will be added in future update
221
+
* You can end test prematurely using ctrl^c or `atestmonkeykill` in case something goes wrong
222
+
* App under test needs to be pinned to fullscreen mode to prevent unwanted interactions elsewhere
223
+
* Screen pinning button location is directly tied to OS version and device manufacturer skin. It may be tricky to find, see examples below:<br><br>
224
+
* <details>
225
+
<summary>Google Nexus 5 (Android 6)</summary>
226
+
<br><em>You need to bring the app window to foreground, the button is located in bottom right corner.</em><br><br>
read -r -p "📌 Press the \"Pin\" button in \"$APP_PACKAGE_NAME\" window, then press enter... "#TODO add check if already on
40
+
tput setaf 3 && should_proceed "🔥 DANGER ZONE ⊗ Perform monkey test on \"$APP_PACKAGE_NAME\"? (it will take a while)"&& tput sgr0 #set red and white text color
41
+
}
42
+
43
+
run_test(){
44
+
SEED="$2"
45
+
echo"🐒 Running monkey stress test... (press ctrl^c to end now)"
0 commit comments