You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(And then make a bunch of copies of those files somehow)
Output
I suppose it kind of makes sense that outputs wouldn't be sorted when you're using a plugin that would randomly sort the tests, but also, I assumed pytest-sugar would somehow 'figure it out'.
Here's what it looks like for a 'real' project of mine:
Simple fix is to just not use pytest-randomly, but I do like it's whole premise.
Not a critical problem in my book, just something I wanted to let you all know about nonetheless.
The text was updated successfully, but these errors were encountered:
Does it work with you using xdist but without pytest-randomly?
I don't have pytest-randomly but I do have xdist and if I use pytest with more then one worker I get this exact behaviour so I uninstalled sugar again. It does look nice but for me the speedup of having multiple workers on a 16-threaded workstation is worth more.
When reporting an issue, include a way to reproduce the bug. For example:
Command used to run py.test
pytest -n auto
Test files
test_qwe.py
test_asd.py
(And then make a bunch of copies of those files somehow)
Output
I suppose it kind of makes sense that outputs wouldn't be sorted when you're using a plugin that would randomly sort the tests, but also, I assumed pytest-sugar would somehow 'figure it out'.
Here's what it looks like for a 'real' project of mine:
Simple fix is to just not use pytest-randomly, but I do like it's whole premise.
Not a critical problem in my book, just something I wanted to let you all know about nonetheless.
The text was updated successfully, but these errors were encountered: