Here's a quick hack to replace the standard unittest runner with nose
if you are using Pydev.
1. Open the file .../eclipse/pugins/org.pydev.debug_*/pysrc
2. find the method run_tests, and replace it with:
def run_tests(self):
# """ runs all tests """
import nose
nose.run()
And you're done. Just choose any file or directory and run as a
python unit test and you get nose running on that file or directory.
You need to customize behaviour with your noserc for the moment. I
would like to properly integrate ths into eclipse, but I think it
should probably be done as a builder, that way you can get it to
happen automatically when you change a build.
James
PS previous attempt to do this as a builder can be read here:
http://www.machine-envy.com/blog/2006/07/29/automated-python-testing-with-nose-and-eclipse/