Re: [Pydev-code] Pydev scripting - imported modules not being compiled
Brought to you by:
fabioz
From: Jeff W. <win...@gm...> - 2006-04-28 13:23:31
|
Hi Don, You might be interested in a technique - more of a design pattern than anything else- where if any python files change, unit tests are rerun. The code is http://jeffwinkler.blogspot.com/2006/04/keeping-your-nose-green.htm= l - I'm using nose which autodiscovers the tests. I doubt nose works under jython and python 2.1, but perhaps the pure python aspects of your code could be tested in nose under python. Having this constant feedback loop is great to know that everything is working OK, and you can avoid the debugger altogether, doing TDD. I've made a movie about it which will be at ShowMeDo soon. Jeff On 4/27/06, Don Taylor <nos...@gm...> wrote: > > Fabio: > > I am developing a Pydev Jython script and am having some difficulty in > getting imported modules to be recognized as having changed after editing= . > > I have a module called pyedit_test.py that imports wrapper.py which in > turn imports textwrap.py. All modules are in the same folder - the one > named in my Scripting Pydev preference page. |