[TIP] Where to put unit tests? (What to name subdirectory?)

Barry Warsaw barry at python.org
Wed Nov 12 19:07:14 PST 2008


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

On Nov 12, 2008, at 8:03 PM, Jonathan Lange wrote:

>> I really like putting doctests under a docs/ subdirectory because,
>> well that's their primary purpose in life, right? :)
>>
>
> Well, it's certainly not for unit tests:
>  http://andrew.puzzling.org/diary/2008/October/24/more-doctest- 
> problems
>  http://andrew.puzzling.org/diary/2008/October/23/narrative-tests

Ah yes, I knew we'd end up here :)

- -Barry

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

iQCVAwUBSRuZ4nEjvBPtnXfVAQKN7AQAlPzxaP8xuACb0AYqiHqh3+VG0Y0N97JC
QPraY7plr7auB5H+7/yPMBJSM3N6iYq01yT2aqWANwI5KSXRJM6xu0rRe0eGX1nX
aUgH7GYodu1C4Jm6m67jnTYIXzgOSA3suh/sG6fYBsHlNXTnxIm9wtlwMFQfa6gc
57eM0t+yoF0=
=T6VU
-----END PGP SIGNATURE-----



More information about the testing-in-python mailing list