摘要: 一、环境: 1、python3 2、pytest (一定别选最新的,4.0.2亲测可用,否则会跳到坑二;还有项目名千万别以pytest开头) 3、allure(github下载:https://github.com/allure-framework/allure2/releases/tag/2.10 阅读全文
posted @ 2019-06-09 20:23 Lancher 阅读(3171) 评论(0) 推荐(1)
摘要: 详细步骤点击: https://note.youdao.com/web/#/file/WEBda9492a77807d8050b40f8315bf6554a/note/WEBde553e6dff6ff06144c711ebf0eff67f/ 阅读全文
posted @ 2019-03-23 21:44 Lancher 阅读(253) 评论(0) 推荐(0)
摘要: 1、ls 显示当前文件/文件夹 显示文件大小: ls -lh 显示隐藏文件: ls -a 显示文件详细信息: ls -l (ll)2、pwd 显示当前所在路径 cat 显示当前文件下所有内容3、cd cd - 回到上次工作的目录 cd ~ 回到家目录 cd 盘符 跳转到指定盘符下4、文件操作: 创建 阅读全文
posted @ 2019-03-23 21:37 Lancher 阅读(194) 评论(0) 推荐(0)
摘要: def getinfo(abc, a, b): startindex = abc.index(a) #此处的值为1,a在abc中的索引位置为1 if startindex >= 0: startindex += len(a) #计算后的值为3 endIndex = abc.index(b) #此处的 阅读全文
posted @ 2019-03-22 19:16 Lancher 阅读(300) 评论(0) 推荐(0)