
自动化测试报告(allure/html)
- 2022 年 5 月 22 日
- 筆記
pytest有两种生成测试报告的方法(html和allure),今天就给大家一一介绍下 html 一.pytest-ht …
Continue Readingpytest有两种生成测试报告的方法(html和allure),今天就给大家一一介绍下 html 一.pytest-ht …
Continue Reading本章主要介绍pytest几种数据驱动的方法,也是我们做接口自动化中经常要使用到的,大致分为以下四种。 一.yaml …
Continue Reading在测试中,我们会经常遇到这种情况,由于环境等一些原因,一条case运行5次,只有两次成功 其它三次失败,针对这种概率性成 …
Continue Reading如果想从头学起pytest,可以去看看这个系列的文章! //www.cnblogs.com/miki-peng/cate …
Continue Reading 前面已经提到,pytest和unittest是兼容的,但是它也有不兼容的地方,比如ddt数据驱动,测试夹具fixtu …
Continue Readingunittest断言方式是用过框架自己实现的,即self.assertEqual()等,当我们使用pytest框架后,这 …
Continue Reading