摘要: https://bootstrap.pypa.io/ sudo python3 get-pip.py 阅读全文
posted @ 2020-04-30 17:16 博客e用户 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 1.安装pip install pysnooper 2.使用方法 #! /usr/bin/python3 import pysnooper @pysnooper.snoop() def hello(a,b): tmp = a + b tmp += 'tmp' print(tmp) 执行hello.p 阅读全文
posted @ 2020-03-26 18:16 博客e用户 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 1.docker在linux上的安装 yum install -y docker systemctl enable docker && systemctl start docker sysctl net.bridge.bridge-nf-call-iptables=1 2.配置国内镜像 https: 阅读全文
posted @ 2020-03-22 08:34 博客e用户 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 1.JsonPath:像xpath一样,提取json数值 2.json schema:github -> jsonschema from jsonshema import validate schema = { "type":"object", "properties":{ "price":{"ty 阅读全文
posted @ 2020-01-29 19:55 博客e用户 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 一、测试分为哪几个阶段 单元测试 集成测试(各个模块集成在一起) 系统测试 验收测试 二、如何做好测试计划 明确测试什么 明确测试目标 明确项目开始与结束时间 明确测试方案 明确资料的位置, 三、测试用例设计方法 等价类划分法,比如测试大于0的整数,测试-19,0,5,100,99999 边界值分析 阅读全文
posted @ 2020-01-27 13:15 博客e用户 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 1.adb shell am start -S -W -n appname 2.adb shell am force-stop packagename 3.adb shell input keyevent 4.adb shell dumpsys cpuinfo | grep packagename 阅读全文
posted @ 2020-01-23 13:54 博客e用户 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 1.jenkins pipline:一些列jenkins插件将整个CD(持续交付过程)用解释性代码Jenkinsfile来描述(之前的都是通过配置设置的,这次是通过file) 2.创建一个流水线任务 3.再global tool configuration里添加一个maven,名字叫M3,官方的名字 阅读全文
posted @ 2020-01-12 17:58 博客e用户 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 1.集合:可变集合set,不可变集合frozenset,集合是无序不重复的 set('hello') set9[1,2,3,4]) set((1,2,3)) 2.添加元素 > add:将元素整体作为一个添加到set中 > update:将元素分成单个字符,添加到set中,并且去掉重复的 3.删除:r 阅读全文
posted @ 2020-01-07 16:10 博客e用户 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 1.迭代器:通过iter()方法获得了list的迭代对象,然后就可以通过next()方法来访问list中的元素了,当容器中没有可访问元素时,会抛出StopIteration异常终止迭代器 data = [1,2,3,4,5] itr = iter(data) print(itr.__next__() 阅读全文
posted @ 2019-12-24 08:24 博客e用户 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 1.strip,lstrip,rstrip " hi, ming ".strip() #去掉前后空格 "@hi,ming@".strip("@") #去掉@ 2.大小写互换 # 1.lower() # 2.upper() # 3.swapcase() 大小写互换 3.左右填充 "sos".ljust 阅读全文
posted @ 2019-12-17 14:51 博客e用户 阅读(178) 评论(0) 推荐(0) 编辑