views:

39

answers:

1

How do you execute nosetest from pycharm to run all unit tests?

I know that pycharm supports python's unittest and py.test and that they will properly support nosetests in pycharm 1.1 but I was wondering if there was a work around.

+1  A: 

If you can live without the graphical test runner, you can simply create a "Python Script" run configuration and run the tests as you run them from the command line.

The only way to get nose tests working with the graphical test runner, I'm afraid, is to hack on helpers/pycharm/utrunner.py from the PyCharm distribution.

yole
Hopefully when pycharm 1.1 is released you can edit your answer. :)
Nick Sonneveld