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) 但这个命令只测试失败的测试。 先感谢您! ...