I have just installed the Python plugin in IntelliJ and was thinking I should check out how to run tests from within IntelliJ. After creating a testclass and right-clicking on the class, I chose "Run unittests in Utility...". I was then given the following message in the testrunner window and a stack dump
"Unable to attach test reporter to test framework or test framework quit unexpectedly"
Testing started at 4:19 PM ...
Traceback (most recent call last):
File "/Users/carl-erik/Library/Application Support/IntelliJIdea11/python/helpers/pycharm/utrunner.py", line 9, in <module>
from nose_helper import TestLoader, ContextSuite
File "/Users/myUser/Library/Application Support/IntelliJIdea11/python/helpers/pycharm/nose_helper/__init__.py", line 2, in <module>
from nose_helper.loader import TestLoader
File "/Users/myUser/Library/Application Support/IntelliJIdea11/python/helpers/pycharm/nose_helper/loader.py", line 201, in <module>
defaultLoader = TestLoader()
File "/Users/myUser/Library/Application Support/IntelliJIdea11/python/helpers/pycharm/nose_helper/loader.py", line 43, in __init__
AttributeError: class TestLoader has no attribute '__init__'
The tests run fine if run from a terminal: "python UtilityTest.py"