Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

simonwulf
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant