【发布时间】:2018-10-27 02:29:43
【问题描述】:
我正在使用 pytest 使用以下命令运行我的测试,并以 html 格式生成报告。我在 conftest.py 中使用了 hookwrapper 来生成 html 报告。
Code to run the test :
py.test --html=report.html --self-contained-html test.py
我想知道是否有办法使用 python pytest 生成 csv 或 excel 格式的自定义报告
【问题讨论】:
标签: python-2.7 pytest