-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Wrong documentation #1068
Comments
Hi, I just installed it into a fresh pytest environment and everything seems to be working. How did you install it? What's the output when you run
|
I figured out the problem. pytest could not find xdist. It would have been nice to have some kind of informative error message. It is overall confusing that xdist is a separate package. |
@oleg-alexandrov the documentation you referred to has nice big sections about first installing it links to its package and so on, i don't see how we can really improve on that also having py.tests own code keep track of options of external plugins or 3rd party plugins add is counterproductive in various ways |
I installed pytest and xdist. Latest version apparently:
py.test --version
This is pytest version 2.8.0,
Following http://pytest.org/latest/xdist.html?highlight=xdist I run:
py.test -n 4
py.test: error: unrecognized arguments: -n
Also for:
py.test -d
usage: py.test [options] [file_or_dir] [file_or_dir] [...]
py.test: error: unrecognized arguments: -d
The text was updated successfully, but these errors were encountered: