2010/2/17 Arnaud Delobelle :
> I know some people will point at more 'pro' ways of testing but this has
> the merit of being very straightforward. Then when you move on to more
> sophisticated techniques, I think you will understand better the
> motivations behind them.
Oh, I don't know. I like t
Arnaud Delobelle wrote:
Here is a very simple way to improve what you do, which won't require
you to change the way you work or to learn a new paradigm:
Instead of testing your functions interactively, put your testing code
in a file, e.g. 'program_tests.py'. Your can then type
python prog
On 2/17/2010 9:27 AM, R (Chandra) Chandrasekhar wrote:
Dear Folks,
I am currently developing a python program, let us call it "generic.py",
and I am testing out the functions therein by testing them out
interactively in the python interpreter by invoking python and doing
import generic
Once I
R (Chandra) Chandrasekhar wrote:
Dear Folks,
I am currently developing a python program, let us call it
"generic.py", and I am testing out the functions therein by testing
them out interactively in the python interpreter by invoking python
and doing
import generic
Once I hit an error, I ne
"R (Chandra) Chandrasekhar" writes:
> Dear Folks,
>
> I am currently developing a python program, let us call it
> "generic.py", and I am testing out the functions therein by testing
> them out interactively in the python interpreter by invoking python
> and doing
>
> import generic
>
> Once I hi
Dear Folks,
I am currently developing a python program, let us call it "generic.py",
and I am testing out the functions therein by testing them out
interactively in the python interpreter by invoking python and doing
import generic
Once I hit an error, I need to revise my file and reload the
Mike Driscoll <[EMAIL PROTECTED]> wrote:
> TurboGears somehow
> watches files for changes, so you might want to check out their source
> to see how it works. I'm sure it's something similar.
I think that's more an inherited feature from TG's use of CherryPy.
There's some code provided on the CP si
Alan Baljeu
http://www.collaborative-systems.org
Intelligent software that works _with_ you.
- Forwarded Message
From: Alan Baljeu <[EMAIL PROTECTED]>
To: Mike Driscoll <[EMAIL PROTECTED]>
Sent: Friday, November 14, 2008 2:06:26 PM
Subject: Re: automatic reload
I t
On Nov 14, 11:04 am, Alan Baljeu <[EMAIL PROTECTED]> wrote:
> I need a solution for automatically reloading files I edited. This is in a
> unit testing/fixing context, so there shouldn't be much problem with leftover
> data. I just need to be able to call a reload_changed() method of some sort
I need a solution for automatically reloading files I edited. This is in a
unit testing/fixing context, so there shouldn't be much problem with leftover
data. I just need to be able to call a reload_changed() method of some sort
before rerunning tests. Stopping and restarting the python inter
10 matches
Mail list logo