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

Fix return code when there is a collection error #45

Closed liorgold2 closed 4 years ago

liorgold2 commented 4 years ago

This change is Reviewable

blueyed commented 4 years ago

Should probably use/copy more even from the default implementation: https://github.com/pytest-dev/pytest/blob/0d79061432639308ecf3e3c2e838080567c84e20/src/_pytest/main.py#L249-L266

blueyed commented 4 years ago

Included in https://github.com/browsertron/pytest-parallel/pull/52.

kevlened commented 4 years ago

Thanks @liorgold2! Your change was merged with @blueyed's PR.