[wingide-users] Re: Problems with unit testing
cool-rr at cool-rr.com
Sat Mar 27 14:57:24 MDT 2010
Another question: When I use the print function/statement in a test, to
where does it get printed?
On Sat, Mar 27, 2010 at 9:34 PM, cool-RR <cool-rr at cool-rr.com> wrote:
> I'm just getting started with unit testing. I wrote some tests, and I'm
> using the "Testing" tool in Wing. I'm having a few weird problems.
> 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)
> 2. Sometimes the tests fail, and then I restart Wing and I run the tests
> again and they succeed.
> 3. Question: How do I get the Testing tool to rediscover my tests, without
> restarting Wing?
> Ram Rachum
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wingide-users