With no options specified, the Monkey will launch in a quiet (non-verbose) mode, and will send events to any (and all) packages installed on your target. Here is a more typical command line, which will launch your application and send 500 pseudo-random events to it:
$ [color=red]adb shell monkey -p 【your.package.name】 -v 500[/color]
$ [color=red]adb shell monkey -p 【your.package.name】 -v 500[/color]
本文介绍如何利用Android平台上的Monkey工具来进行自动化测试。通过指定包名和事件数量,Monkey工具能够发送伪随机事件到目标应用,帮助开发者验证应用的稳定性和健壮性。
4049

被折叠的 条评论
为什么被折叠?



