xdist module in pytest is not recognized #10834
Replies: 2 comments 3 replies
-
as no details on your environment and how you get there is provided, |
Beta Was this translation helpful? Give feedback.
-
Hi @nicoddemus and @RonnyPfannschmidt , PS C:\Users\Lenovo\PycharmProjects\Personal_Framework\Pytest_Sessions> pip list attrs 22.2.0 I have installed it actually xdist plugin i am getting the above error only when i am trying to run the test cases parllely PS C:\Users\Lenovo\PycharmProjects\Personal_Framework\Pytest_Sessions> pip --version |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
PS C:\Users\Lenovo\PycharmProjects\Personal_Framework\Pytest_Sessions> pytest .\test_fixture_params.py -v -s -n 2 --html=test_fixtures_params.html
ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: -n 2
inifile: None
rootdir: C:\Users\Lenovo\PycharmProjects\Personal_Framework\Pytest_Sessions
Can any body help me with this?
Beta Was this translation helpful? Give feedback.
All reactions