会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
silence
看山是山,看水是水。
博客园
首页
联系
订阅
管理
上一页
1
2
3
2020年4月19日
pytest 配置allure 插件 (测试报告生成)
摘要: allure插件 allure运行所需要的环境 python需要安装 allure库 pip install allure-pytest 需要下载allure服务 https://github.com/allure-framework/allure2 下载完毕后需要加allure的bin路径配置到环
阅读全文
posted @ 2020-04-19 13:36 silence022
阅读(331)
评论(0)
推荐(1)
2020年4月18日
unittest组件TestCase 使用
摘要: #unittest.TestCase 1.使用方法 在测试类中继承unittest.TestCase类即可 每写一个方法表示一个测试用例 import unittest class Login(unittest.TestCase): def test01(self): print("执行test01
阅读全文
posted @ 2020-04-18 16:37 silence022
阅读(67)
评论(0)
推荐(0)
unitest组件TestSuite 测试套件
摘要: 测试套件TestSuite 通过TestSuite加载多个测试用例的方式执行 1.通过指定用例生成套件的执行方式: if __name__ == '__main__': suite = unittest.TestSuite() suite.addTest(Login("test_a01")) uni
阅读全文
posted @ 2020-04-18 15:46 silence022
阅读(25)
评论(0)
推荐(0)
上一页
1
2
3
公告