Just installed py.test with pip install -U pytest
with no errors, however we I\'m trying to launch py.test
I get error: EBUSY: [Resource devi
You created a file test_cases
without .py
you should rename your test case file like test_cases.py
Apparently, when py.test
is called it starts looking through the files/folders using standard test discovery rules. And some folders have access permissions that limit the access, thus this error occurs.
to use py.test
one must first navigate to the folder with test cases.