Python Tests not running

 

Hi,

I have a very simple python setup my structure as in the attached picture, for some reason I cannot run the tests as tests, they just run like normal python scripts, can anyone help?

 

Cheers,

2 comments
Comment actions Permalink

Hello, 

 

could you please make sure you have enabled Pytest as a default test runner, please see https://www.jetbrains.com/help/pycharm/pytest.html#enable-pytest ? 

1
Comment actions Permalink

Thanks for your help, that was indeed the issue. I manged to get it working. It is also worth noting for anyone else in the same situation as me you need to define the path to Pipenv executable too, if you have a virtual environment !

0

Please sign in to leave a comment.