摘要: 命令窗口执行: 1.可以在命令窗口下执行单个module、class、method python -m unittest test_module1 test_module2 python -m unittest test_module.TestClass python -m unittest tes 阅读全文
posted @ 2019-10-29 20:22 测试爬虫 阅读(698) 评论(0) 推荐(0) 编辑
摘要: unittest介绍: unitest是python版本的junit测试框架,支持测试自动化、共享测试设置和关闭代码,测试用例组合管理及生成对应的测试报告 unittest四大功能: test fixture A test fixture represents the preparation nee 阅读全文
posted @ 2019-10-29 20:04 测试爬虫 阅读(155) 评论(0) 推荐(0) 编辑