摘要:
模块级(setup_module/teardown_module)模块始末,全局的( 优先级最高)(不在类中) 函数级(setup_function/teardown_function)只对函数用例生效(不在类中) 类级(setup_class/teardown_class)只在类前后运行一次(在类 阅读全文
posted @ 2021-02-02 16:40
半路回归
阅读(221)
评论(0)
推荐(0)
摘要:
https://zh-google-styleguide.readthedocs.io/en/latest/google-python-styleguide/python_style_rules/#id16 阅读全文
posted @ 2021-02-02 16:31
半路回归
阅读(163)
评论(0)
推荐(0)
摘要:
https://www.runoob.com/w3cnote/yaml-intro.html 阅读全文
posted @ 2021-02-02 16:26
半路回归
阅读(483)
评论(0)
推荐(0)
摘要:
pytest运行方式: 1、pycharm界面运行 2、右键 文件/目录运行 3、使用命令行方式运行,常用的执行参数: pytest --collect-only 只收集用例 pytest -k “add ” 匹配所有名称中包含add的用例(‘add or div’ ‘TestClass’) pyt 阅读全文
posted @ 2021-02-02 16:23
半路回归
阅读(588)
评论(0)
推荐(0)

浙公网安备 33010602011771号