How can I run nosetest from script
Hello
How I configure pyCharm to run nosetests from script file like this:
export BROKER_URI='rabbitmq://my_broker@broker.mysite.com:5678/bk_env'
export DB_URI=mysql://my_user:my_password/mydb
export PYTHONPATH=product_1:product_2:product_3:core
export DIR_CONF=my_project/module1/
nosetests product_1/tests product_2/tests
I always get this error:
ValueError: Unable to load tests from file /home/myuser/dev/PyCharmProjects/my_project/dev/bin/pycharm_tests.sh
Thanks in advance
Best regards
How I configure pyCharm to run nosetests from script file like this:
- !/bin/sh
export BROKER_URI='rabbitmq://my_broker@broker.mysite.com:5678/bk_env'
export DB_URI=mysql://my_user:my_password/mydb
export PYTHONPATH=product_1:product_2:product_3:core
export DIR_CONF=my_project/module1/
nosetests product_1/tests product_2/tests
I always get this error:
ValueError: Unable to load tests from file /home/myuser/dev/PyCharmProjects/my_project/dev/bin/pycharm_tests.sh
Thanks in advance
Best regards
Please sign in to leave a comment.
In my case, I got several directories with integration tests which requiere other environments variables.
It's possible to exclude one or two directories if I've checked All in folder option?
Thanks a lot