dansanderson / picotool

Tools and Python libraries for manipulating Pico-8 game files. http://www.lexaloffle.com/pico-8.php
MIT License
371 stars 45 forks source link

Add pytest-xdist depencency to pydevtool.txt and tests_require #105

Open simonwulf opened 2 years ago

simonwulf commented 2 years ago

This PR proposes to add pytest-xdist to the lists of dependencies to allow developers to run the tests out of the box, without having to manually install pytest-xdist.

When I first checked out the repo and tried to run the tests, I was met by an error: unrecognized arguments: -n4. I'm guessing that this argument was added to pytest.ini to enable multithreaded test execution through pytest-xdist? If so, I added it as a dependency in pydevtool.txt so that developers should be able to run the tests directly after following the development setup instructions.

I also added it to the tests_require list in setup.py because it seemed like the right thing to do. I'm not really a python dev though, so this is mostly a guess.