【拉勾5期】python pytest 测试实战 2

https://github.com/zhanglei12306/Python_Practice.git

2020年的作业不拖到2021年,新年快乐!

https://github.com/Allison001/homework

https://github.com/judy728/pytestwork1

  • pytest2实战,练习作业

https://github.com/pystart-hyj/HogwartsLG5-hyj/tree/main/homework_pytest

https://github.com/yangguolong828/LG5Zuoye


pytest 2:计算器加减乘除测试用例
https://gitee.com/nqx0704/TianZWx97/tree/test/src

pytest第二节作业
https://github.com/feillusion/hogwarts/tree/main/homework/pytest_2

pytest 作业提交:
https://github.com/chenlei-123/HogwartsLG5

https://github.com/nuannanxiaofeige/HogwartsLG5

https://github.com/fanchenlong/HogwartsPytest

https://github.com/zhangyanbo-star/calculatorCase

calculator_upgrade.yml
conftest.py
test_calculator_upgrade.py

https://github.com/AllenGuo0858/HogwartsLG5

https://github.com/Dark-XF/Howarts/tree/master/Python_test2

https://github.com/NeilsDestiny/pytest.git

胡玉琦的作业:

https://github.com/ihuyuqi/HogwartsLG5.git

qatsybin/pytest2

pytest实战2:
1. 补全计算器(加减乘除)的测试用例,编写用例顺序:加-除-减-乘
2. 创建 fixture 方法实现执行测试用例前打印【开始计算】,执行测试用例之后打印【计算结束】
3. 将 fixture 方法存放在 conftest.py ,设置 scope=module
4. 控制测试用例顺序按照【加-减-乘-除】这个顺序执行
5. 结合 allure 生成本地测试报告

https://github.com/LastingN/calculator

https://github.com/Luoy1n/Luoyin_Code/tree/main/pythoncode2