Closed joaomcteixeira closed 4 years ago
To run the test locally you can use :
cd test
pytest
you can install all the required package to run the test (i.e. coveralls, pytest and pytest-cov) with:
pip install -e .[test]
Let me know if that works for you and thanks for your input !
I understand, so please update with CONTRIBUTING
file with those instructions, because the current instructions have the output I referred. Sorry, I forgot to mention the CONTRIBUTING
file in my previous message.
Regarding the mandatory requirement of running pytest
from the tests
folder, you can overcome this by assigning the paths you use in tests relative to the test files themselves and not to the cwd
.
test_folder = Path(__file__).resolve().parent
and work from there.
Cheers and nice package! :wink:
Please notice this behavior when running the tests:
Steps to reproduce:
What you be a way to run the test locally, instead? Am I doing something wrong?
I am on:
Related to the JOSS revision: https://github.com/openjournals/joss-reviews/issues/2077