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

Barry Warsaw barry at python.org
Tue Sep 16 12:06:37 PDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sep 16, 2008, at 2: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 could not have said it better myself.
>
> What do you lose by distributing tests with your package?  10k of disk
> space?  I can't think of anything else.

Even better: when your documentation is testable, why would you ever  
not include your documentation?

- -Barry

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)

iQCVAwUBSNADvnEjvBPtnXfVAQLvOwP/Sg2x3+Q/cN9XrXj2OypE1uRUvmjA0O5Y
2x6yO+1t67vnoyf0iAbOM/FOISAci3cBdPbbviuBjPMphe1sQfNHPPm6GygCvNvX
barSOtYU7B8pUZySi8kjlwZwAwjK4vhZTa2ctlrkmLJz7wb9069Bopxti0WhcAua
JKNcyTkV1yo=
=cTha
-----END PGP SIGNATURE-----



More information about the testing-in-python mailing list