[TIP] Guidelines for where to put tests & how to package them

C. Titus Brown ctb at msu.edu
Thu Feb 25 12:19:42 PST 2010


yeah, my fault for not being explicit enough.  Hey, it was midnight and
I was just about to leave PyCon -- <sob>

sorry,
--titus

On Thu, Feb 25, 2010 at 12:14:07PM -0500, Carl Meyer wrote:
> So the requirement you're missing is that the syntax should also be
> usable on an installed package, where setup.py is no longer available
> (if the author wants their tests installed and runnable by end users).
> Titus' syntax can work the same in either case (dev or installed);
> anything using setup.py can't.
> 
> Carl
> 
> Olemis Lang wrote:
> > IOW we both are talking about the same thing, but the snippet I
> > provided was the (explicit | long) version whereas yours was the
> > simplified version
> 

-- 
C. Titus Brown, ctb at msu.edu



More information about the testing-in-python mailing list