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

Benji York benji at benjiyork.com
Thu Nov 13 05:59:04 PST 2008


On Wed, Nov 12, 2008 at 8:03 PM, Jonathan Lange <jml at mumak.net> wrote:
> On Thu, Nov 13, 2008 at 11:45 AM, Barry Warsaw <barry at python.org> 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
>
> jml

I don't intend to argue the point, but want to be certain that it's
understood that not everyone shares that perspective.
--
Benji York



More information about the testing-in-python mailing list