kevlened / pytest-parallel

A pytest plugin for parallel and concurrent testing
https://github.com/browsertron/pytest-parallel/issues/104#issuecomment-1293941066
MIT License
313 stars 60 forks source link

JUnit xml report generation was fixed. #68

Closed svetlyak40wt closed 4 years ago

svetlyak40wt commented 4 years ago

Previously, pytest_runtest_logreport hook was called inside forked processed, and main pytest process wasn't able to know about the test results.

This fix uses a separate multiprocessing Queue to pass results back to the main process.

This pull fixed issue https://github.com/browsertron/pytest-parallel/issues/24

kevlened commented 4 years ago

Whoa. This is great. It's a substantial change to core logic, so I'd like to review more and test some things, then I'll release a major version rev.

svetlyak40wt commented 4 years ago

Sure, I already using these changes in my company's production pipeline on TeamCity.

svetlyak40wt commented 4 years ago

Yes! This is great!

Thank you, @kevlened!

kevlened commented 4 years ago

No, thank you! Your changes are deployed to PyPI as 0.1.0