cost 222 ms
pytest-html 中的报告是否有可能仅在 1 个测试失败时生成? - Is any possible for the report in pytest-html to be generate only when 1 test is fail?

我要执行一些测试,并且我希望仅在其中 1 个测试失败时生成报告,现在我使用以下命令: 但是这个命令也会生成一个通过测试的报告。 我试图添加 --lf(list failed) 但这个命令只测试失败的测试。 先感谢您! ...

如何将 pytest-html-reporter 生成的报告存储到自定义位置 - How to store pytest-html-reporter generated report to a custom location

我正在使用 pytest-html-reporter 0.2.4 插件来生成执行报告。 当我直接传递命令行参数“--html-report=./report/report.html”时,我能够在给定位置获取报告。 我想将报告存储在一个单独的位置,执行日期 (YYYYMMDD) 作为文件夹名称,在 r ...


排序:
质量:
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM