python+pytest+allure

没有找到与「python+pytest+allure」相关的内容

AI 回答 由 glm-4-flash 生成 · 仅供参考,请自行核实
1. 安装依赖

pip install pytest allure

2. 编写测试用例

def test_example():
assert 1 + 1 == 2

3. 运行测试

pytest

4. 生成报告

pytest --alluredir ./report

5. 查看报告

allure open ./report
没有找到「python+pytest+allure」相关的内容

建议:检查关键词是否有错别字,或换一个更常见的说法。

相关搜索