Raised in #368 by @rwb27
I see that this is the same as CI. I've mentioned elsewhere that I tend not to add the --cov argument, as it's in pyproject.toml. The relevant lines are:
[tool.pytest.ini_options]
addopts = [
"--cov=labthings_fastapi",
"--cov-report=term",
"--cov-report=xml:coverage.xml",
"--cov-report=html:htmlcov",
"--cov-report=lcov",
]
I'd happily get rid of some of those if they're not needed, in particular I think the XML output requires a dependency and isn't used in CI? It would also be reasonable to disable HTML output by default. That was a stop-gap for me, before I realised the VSCode integration was much more useful.
Raised in #368 by @rwb27
I see that this is the same as CI. I've mentioned elsewhere that I tend not to add the --cov argument, as it's in pyproject.toml. The relevant lines are:
I'd happily get rid of some of those if they're not needed, in particular I think the XML output requires a dependency and isn't used in CI? It would also be reasonable to disable HTML output by default. That was a stop-gap for me, before I realised the VSCode integration was much more useful.