Five hundred years later, the number of dragon balls will increase unexpectedly, so it's too difficult for Monkey King(WuKong) to gather all of the dr ...
分类:
其他好文 时间:
2019-08-06 00:28:25
阅读次数:
92
题意 有n只猴子,一开始互不认识,每次有两只猴子要打架,他们会找来自己认识的最厉害的猴子来帮他们打(然而他们就看戏),打完后打架的猴子(不是看戏的)武力值会减少一半(下取整),并且他们也互相认识了,在这时询问他们认识的猴子中最厉害的猴子的武力值,打架的在之前认识输出-1。 n,m<=100000 题 ...
分类:
其他好文 时间:
2019-08-03 01:12:09
阅读次数:
105
1.打开File-setting 2.打开Tools-Python Integrated Tools 3.找到Default test runner选项,在下拉框中选择py.test 4.点Apply。 5.在运行时会出现py.test的运行选项 ...
分类:
其他好文 时间:
2019-08-02 18:21:03
阅读次数:
335
【Monkey简介】 1.Monkey 是什么 Monkey是Android中的一个命令行工具,可以运行在模拟器里或实际设备中。它向系统发送伪随机的用户事件流(如按键输入、触摸屏输入、手势输入等),实现对正在开发的应用程序进行压力测试。Monkey测试是一种为了测试软件稳定性、健壮性的快速有效的方法 ...
分类:
其他好文 时间:
2019-08-02 16:52:11
阅读次数:
241
今日知识 Spring IOC DI依赖注入 IOC/DI入门案例 装配Bean(xml) 依赖注入Bean属性(xml) ...
分类:
编程语言 时间:
2019-07-31 18:54:47
阅读次数:
102
Monkey and Banana A group of researchers are designing an experiment to test the IQ of a monkey. They will hang a banana at the roof of a building, an ...
分类:
其他好文 时间:
2019-07-30 16:02:03
阅读次数:
98
springBoot接口:CommandLineRunner 一、作用: 在使用SpringBoot构建项目时,我们通常有一些预先数据的加载。那么SpringBoot提供了一个简单的方式来实现–CommandLineRunner。 二、用法: CommandLineRunner是一个接口,我们需要时 ...
分类:
编程语言 时间:
2019-07-29 00:37:05
阅读次数:
101
官方说明文档: https://cn.httprunner.org/ 作者(李隆)博客: https://debugtalk.com/ 1、介绍 HttpRunner 是一款面向 HTTP(S) 协议的通用测试框架,只需编写维护一份 YAML/JSON 脚本,即可实现自动化测试、性能测试、线上监控、 ...
分类:
Web程序 时间:
2019-07-28 19:32:08
阅读次数:
140
monkey 参数 1.常规类参数 A.帮助类参数 monkey -h B.日志级别 $ adb shell monkey -v <event-count> . 2.事件类参数 A .执行指定脚本 $ adb shell monkey -f <scriptfile> <event-count>例: ...
分类:
移动开发 时间:
2019-07-28 15:48:25
阅读次数:
127
monkey自定义脚本实践 一、获取元素坐标点位置 二、Monkey脚本API简介 常规Monkey测试执行的是随机的事件流,但如果只是想让Monkey测试某个特定场景这时候就需要用到自定义脚本了,Monkey支持执行用户自定义脚本的测试,用户只需要按照Monkey脚本的规范编写好脚本,存放到手机上 ...
分类:
移动开发 时间:
2019-07-28 15:31:15
阅读次数:
135