[wingide-users] Problems with unit testing

cool-RR cool-rr at cool-rr.com
Sat Mar 27 13:34:33 MDT 2010


Hello,

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
Projects\GarlicSim\garlicsim\garlicsim_tests\tests.py:simpack_test(<module
'garlicsim.bundled.simulation_packages.prisoner' from 'C:\Documents and
Settings\User\My Documents\Python
Projects\GarlicSim\garlicsim\garlicsim\bundled\simulation_packages\prisoner\__init__.pyc'>,)
File "C:\Python26\Lib\unittest.py", line 279, in run
  testMethod()
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?

-- 
Sincerely,
Ram Rachum
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/wingide-users/attachments/20100327/ea215217/attachment.html


More information about the wingide-users mailing list