[wingide-users] Problems with unit testing
Wing IDE Support
support at wingware.com
Mon Mar 29 10:40:29 MDT 2010
On 3/27/10 3:34 PM, cool-RR wrote:
> 1. I get a weird error sometimes:
> OSError: No such file C:\Documents and Settings\User\My Documents\Python
> 'garlicsim.bundled.simulation_packages.prisoner' from 'C:\Documents and
> Settings\User\My Documents\Python
> File "C:\Python26\Lib\unittest.py", line 279, in run
> File "C:\Python26\Lib\site-packages\nose\failure.py", line 39, in runTest
> raise self.exc_class(self.exc_val)
I can't tell what this is from the traceback. You may want to debug the
test via Wing and hopefully be able to see what's happening.
> 2. Sometimes the tests fail, and then I restart Wing and I run the tests
> again and they succeed.
Do they succeed when run again without restarting Wing?
> 3. Question: How do I get the Testing tool to rediscover my tests,
> without restarting Wing?
Test discovery is done every time you run tests so just rerun tests to
More information about the wingide-users