First time posting here, and I've tried to search these past 2 days for a solution to my problem with xdist. When I try to run with n=2 or anything higher, I sometimes (I say sometimes because it works randomly) get an error along the lines of
Different tests were collected between gw1 and gw0. The difference is:
--- gw1
+++ gw0
@@ -1,2 +1,2 @@
+test_Sign_Up.py::test_sign_up[chrome] test_Sign_Up.py::test_sign_up[firefox]
-test_Sign_Up.py::test_sign_up[chrome]
Apologies if this is something simple to fix, but after looking at so many other posts I personally felt that I did not find my answer. If more info is needed then please let me know and I'll try to get back to it as quickly as possible! Thank you!
Edit: Setup
Python 3.5.3
Pytest 3.1.2
Xdist 1.17.1