zengxuejie

导航

2020年9月11日 #

pytest(2):使用pycharm运行pytest

摘要: pycharm运行 1.在pycharm里创建测试文件test_demo.py # Author xuejie zeng # encoding utf-8 # content of test_demo.py def inc(x): return x + 1 def test_answer(): as 阅读全文

posted @ 2020-09-11 17:32 曾小懒 阅读(861) 评论(0) 推荐(0)

pytest(1):pytest的安装与使用

摘要: 前言 pytest介绍 1.pytest是比较成熟的一款python测试框架 2.简单灵活,容易上手,对比unitest框架更丰富。 3.单元测试和复杂的功能测试,都支持。 4.同时支持selenium,appium和接口自动化测试。 5.支持三方插件结合Allure生成测试报告,可以集成到jenk 阅读全文

posted @ 2020-09-11 16:20 曾小懒 阅读(1745) 评论(0) 推荐(0)