GIScience/ohsome-py

unable to run pytest

Closed this issue · 2 comments

The contribution guidelines are a bit hard to follow for newbies to pytest etc. (especially if using conda). Once I got it running the following error occured:

ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --cov=ohsome --cov-report=xml --random-order
  inifile: .../ohsome-py/tox.ini
  rootdir: .../ohsome-py

so you need to have pytest-random-order and pytest-cov installed. Mabe mention that in the README?

I've added the dependencies for testing in 50f1d2e.