ryanwilsonperkin/pytest-circleci-parallelized

Coverage is totally wrong when using --circleci-parallelize

Closed this issue · 2 comments

When I use --circleci-parallelize I get a coverage of 68% while I get a coverage of 94% without...
Screen Shot 2022-06-29 at 3 34 28 PM

Screen Shot 2022-06-29 at 3 34 58 PM

You need to use coverage.py's combine command to merge each worker's coverage report to get the overall coverage. Each worker will tell you only what coverage its subset of the tests provided. pytest-circleci-parallelized can't do this for you.

Duplicate of #7.