[py-dev] Fwd: [py-svn] r29699 - in py/dist/py/test: . testing

holger krekel hpk at trillke.net
Fri Jul 7 07:32:50 CEST 2006


Hi Brian!

On Thu, Jul 06, 2006 at 10:06 -0700, Brian Dorsey wrote:
> ---------- Forwarded message ----------
> > From: hpk at codespeak.net <hpk at codespeak.net>
> <snip>
> > Log:
> > refine recursive and file filters for directories.
> > follow the documentaiton (thanks to Fijal for pointing
> > at the documentation inconsistency, i think that
> > the 'whatever_test.py' convention is not actually used much)
> 
> Hmm... I use the 'whatever_test.py' format for all of my tests. I
> admit, that I'm a bit strange, but somehow I like having the test
> files right next to the module files since I always edit them in
> pairs. 
>
> Using the test_whatever.py format, all of the tests get sorted
> together rather than right next to the files they are actually a test
> of.

good point and actually the original one for introducing the 
whatever_test.py pattern. 
 
> But, like I said, I'm a bit strange... I think most people like to
> keep their tests in a separate directory?

yes, most do, i guess.  Nothing strange about not doing 
it - at least i am doing it myself as well. 

I was doing the change also to see if there is anyone
complaining.  I didn't have a plan for when that happens :)

OK, so what now?  I guess reverting to the old behaviour 
and documenting it (the complaint yesterday was that 
the "whatever_test" was not documented).  Could you do
that, Brian? I am still at a pypy sprint (grabbing my
first coffee and such) etc

best, 

    holger


More information about the py-dev mailing list