Open norraxx opened 2 years ago
I love this!
How were you able to test this new feature?
I've downloaded the project, checkout the branch, builded it, installed it, runned tests.
I noticed #92 by @svetlyak40wt implemented a similar feature, and the unit test
tests/test_no_parallel.py
was added. Have you done something similar?
Oh I see what you're asking for. Nope :-) There is no any test for this feature. Should I add it?
Well it would be a huge plus if you could demonstrate that the feature actually works 🚀
Ok, but you'll have to wait, give me some time for it. :-)
First of all, tests as they are in the repository are not working on python3.8.
ThreadLocalFixtureDef
is fighting with pytest
tmp_path_factory
fixture, during the the fixture intialization phase. https://github.com/pytest-dev/pytest/blob/main/src/_pytest/fixtures.py#L1036. If I comment the line, tests will run.test_pytest_html
and test_collection_collect_only
are brokenAdded the simple test.
@alfredo-f ping
Lgtm
@kevlened Is this reporistory is not maintained anymore?
Added option to mark tests, that shouldn't be executed in parallel mode.
Via: https://github.com/browsertron/pytest-parallel/issues/80