[TIP] Column questions.

Nicolas Chauvat nicolas.chauvat at logilab.fr
Thu Jul 24 01:49:35 PDT 2008

On Thu, Jul 24, 2008 at 10:37:30AM +0200, Laura Creighton wrote:
> But in those cases I haven't found that it is writing the tests first
> that cases the frustration.  It's working with people who absolutely
> believe that in all cases you have to get all the old tests working
> before you can write new code.  While moving from one API to another I
> always go through a stage where I have to skip a whole lot of tests,
> and I don't go back to fix them until either I have refactored enough
> that the new API is in place, or I have made enough changes that I am
> afraid of making any more without first getting all the tests to pass.
> But that doesn't mean I am not writing tests first to test the moving
> from one API to some sort of scaffolding and then moving from there to
> either a different one or to the destination API.  It sounds to me
> as if your frustration may be of the same sort -- it's not the
> updating of your tests which are bothering you, but the updating
> of them to something which is only doing to be thrown away in
> another half hour or 45 minutes or 3 days that is annoying you.


Nicolas Chauvat

logilab.fr - services en informatique scientifique et gestion de connaissances  

More information about the testing-in-python mailing list