摘要: 使用命令行方式,可能会不大习惯,下面来一个通过Pycharm来创建httprunner项目。 创建虚拟环境。 安装httprunner 创建脚手架目录:httprunner startproject test_hru 阅读全文
posted @ 2020-05-20 21:53 捷后愚生 阅读(1725) 评论(2) 推荐(0) 编辑
摘要: 使用命令行创建虚拟环境,创建脚手架目录后,使用pycharm打开所创建的脚手架目录。 执行:hrun demo_testcase_request.yml 提示: E:\hrun_ven\test_hrun\testcases>hrun demo_testcase_request.yml INFO H 阅读全文
posted @ 2020-05-20 21:31 捷后愚生 阅读(1335) 评论(0) 推荐(0) 编辑
摘要: 集中式版本管理系统 分布式版本管理系统 git、github、gitlab windows系统安装git 20191007172036.jpg 编辑环境变量 查看git版本,证明安装成功 阅读全文
posted @ 2020-05-17 23:07 捷后愚生 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 卸载python最干净的办法 https://blog.csdn.net/ic_zswdbk/article/details/88315779?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPa 阅读全文
posted @ 2020-05-17 22:47 捷后愚生 阅读(4521) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-05-17 11:47 捷后愚生 阅读(136) 评论(0) 推荐(0) 编辑
摘要: import yaml def test_yaml(): f = open('C:\hogwarts\Scripts\hogwarts-api\demo\yaml_data.yml') print(yaml.load(f)) # 改进: import yamldef test_yaml(): f = 阅读全文
posted @ 2020-05-17 08:53 捷后愚生 阅读(676) 评论(0) 推荐(0) 编辑
摘要: 先记住这几个: 1.表示列表:['A', 'B', 'C'] - A- B- C2.表示列表:['A', 'B', 'C', ['A', 'B', 'C']] - A- B- C- - A - B - C3.表示:{'companies': [{'id': 1, 'name': 'company1' 阅读全文
posted @ 2020-05-16 22:15 捷后愚生 阅读(246) 评论(0) 推荐(0) 编辑
摘要: Pychram介绍 PyCharm常用快捷键 注释: 选中后 Ctrl + / 定位:Ctrl + 鼠标左键 缩进: Tab / Tab+shift 换行:shift + enter 编译: Ctrl+shift+F10 查看路径:ctrl+l (或在终端输入pwd) 查注释:ctrl+q 查源码: 阅读全文
posted @ 2020-05-16 21:49 捷后愚生 阅读(827) 评论(0) 推荐(0) 编辑
摘要: httprunner基础 是什么? 面向http(s)协议的通用测试框架。 只需维护一份yaml脚本,即可实现自动化测试、性能测试、线上监控、持续集成等多种测试需求。 约定大于配置。 一站式解决方案,不限于http协议。 为什么? httprunner3.0新特性 - 概念更简单、功能更易用、生态更 阅读全文
posted @ 2020-05-16 21:32 捷后愚生 阅读(1473) 评论(0) 推荐(0) 编辑
摘要: 问题:sudo apt-get update连接失败 错误:1 http://cn.mirrors.ustc.edu.cn/ubuntu bionic InRelease 连接失败 [IP: 218.104.71.170 80]命中:2 http://security.ubuntu.com/ubun 阅读全文
posted @ 2020-05-16 18:16 捷后愚生 阅读(13613) 评论(0) 推荐(0) 编辑