pytest测试框架实战一

https://github.com/tongtong95/lg_pytest_course

【疑问】
# 特殊值用例—不懂,为什么会出来aaa的结果
@pytest.mark.parametrize(‘a, b, c’, [
[‘a’, 3, ‘aaa’],
])
def test_mul2(self, a, b, c):
assert self.calc.mul(a, b) == c

pytest:完善计算机乘、除法测试用例
https://github.com/xmy0501/homework/tree/master/test_pytest

https://github.com/caoxiaofei123/hogwarts_test/tree/master/classwork/pytestTest/pytest_project

https://github.com/xumijiezishuo/AmarisHogC1

https://github.com/oooleemandy/hogwarts_lg4/tree/master/test_pytest

pytest作业:
https://github.com/RamonSong/HogwartsLagou_04/tree/master/personalhomework_pytest02
测试报告截图:

pytest第一次作业

github链接

https://github.com/ziloukd/hogwarts_lwy/tree/master/test_pytest

allure-report截图

test_pytest/test · 陈小华/hogwarts_practice - 码云 - 开源中国 (gitee.com)