The commands in the documentation are not up to date and/or unclear.
pip install -r requirements/test_py3.txt gives ERROR: Could not open requirements file: [Errno 2] Datei oder Verzeichnis nicht gefunden: 'requirements/test_py3.txt' (File not found).
Should it be pip install -r tests/requirements.txt?
Running py.test examplefrom the root directory gives ImportError: No module named 'testshop'. There is no information that it should be executed from the tests directory.
Running py.test example from the tests directory gives ERROR: file not found: example. There is no information that example is only a placeholder for a specific test file.
The commands in the documentation are not up to date and/or unclear.
pip install -r requirements/test_py3.txt
givesERROR: Could not open requirements file: [Errno 2] Datei oder Verzeichnis nicht gefunden: 'requirements/test_py3.txt'
(File not found). Should it bepip install -r tests/requirements.txt
?Running
py.test example
from the root directory givesImportError: No module named 'testshop'
. There is no information that it should be executed from the tests directory.Running
py.test example
from the tests directory givesERROR: file not found: example
. There is no information that example is only a placeholder for a specific test file.