hatch icon indicating copy to clipboard operation
hatch copied to clipboard

`hatch test --cover` does not erase coverage data

Open ssiccha opened this issue 11 months ago • 0 comments

Hi folks, thanks for the awesome project!

I have run into the issue that coverage data is persisted across several invocations of hatch test --cover. This led to builds passing locally but failing in our CI/CD system.

IMO hatch test --cover should by default call coverage erase before it runs the test suite.

Many thanks, Sergio

ssiccha avatar May 28 '25 07:05 ssiccha