如何使用pytest生成测试报告?我搜索了它,但无论我得到的是关于报道报道.我试过这个命令:
py.test sanity_tests.py --cov=C:\Test\pytest --cov-report=xml
Run Code Online (Sandbox Code Playgroud)
但是,参数表示它生成覆盖率报告而不是测试报告.请帮忙!!
可以调试在Visual Studio 2010上使用pytest库的python测试吗?我在解释器参数上添加了-m pytest但是没有命中断点,我只能运行测试脚本而不调试它.