![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
测试
文章平均质量分 81
测试知识存储
lemon丹儿
无
展开
-
pytest自动化测试搭建
测试自动化原创 2023-02-01 11:28:35 · 94 阅读 · 0 评论 -
allure安装和生成报告
安装pytest的allure插件pip install pytest-allure-adaptor还需要在pycharm中安装allure-pytest安装allureallure下载地址:https://github.com/allure-framework/allure2/releases执行全部的用例,不清理之前的json文件pytest -s -q --alluredir report执行指定文件并清理之前的生成的json文件pytest test/te..原创 2022-04-08 15:48:48 · 689 阅读 · 0 评论 -
pyTest
一、安装打开cmd,输入pip install -U pytest如图显示就已经安装完成查看安装版本pytest --version # 会展示当前已安装版本-二、运行打开pycharm中,创建一个新项目,然后创建已test_xxx开头的文件运行(py.test或者pytest都可以运行),默认执行当前目录下的所有以test_为前缀(test_.py)或以test为后缀(_test.py)的文件中以test为前缀的函数在项目当中创建.py的文件文件中输入代码#!原创 2022-03-30 16:55:08 · 475 阅读 · 0 评论 -
python中httprunner的使用
环境准备python3.6.1httpRunner2.5.7python3.6.1下载python官网:https://www.python.org/getit/原创 2020-08-07 15:08:48 · 2060 阅读 · 0 评论