[TIP] why you should distribute tests with your application / module

Pete pfein at pobox.com
Tue Sep 16 12:49:22 PDT 2008


On Sep 16, 2008, at 1:50 PM, Kumar McMillan wrote:

> I've stated my opinion before that I think tests should be distributed
> with a python app / module and was surprised to face opposition to
> that idea.  Today, I saw one of the most succinct summaries about why
> distributing tests is such a good idea:
> http://renesd.blogspot.com/2008/09/pygametest-moving-testing-forward.html

I'm in favor too.  In my case, I'm also providing some base classes  
for writing tests that may be useful to a user.

> What do you lose by distributing tests with your package?  10k of disk
> space?  I can't think of anything else.

What about fixture data though?  That can easily get larger than the  
size of the rest of your distribution...

--Pete



More information about the testing-in-python mailing list