[TIP] Python Testing book review

Chris Withers chris at simplistix.co.uk
Thu Mar 11 05:44:06 PST 2010


Tarek Ziadé wrote:
> On Sat, Mar 6, 2010 at 7:55 PM, C. Titus Brown <ctb at msu.edu> wrote:
> [..]
>>> However, in my experience Packt's books tend to suffer from some
>>> pretty bad editing / checking. All it takes is a good reviewer to *run
>>> the code* in the book. All of their books are feeling rushed, and I
>>> feel bad for the authors, since it reflects on them.
>> All it takes is a *good author* to run all the code in the book, first ;).
>>
>> I wrote some hacky little doctest-style code to make sure that the
>> basic examples in my book worked.  Highly recommended approach.
> 
> It's not enough.
> 
> I've done that with my latest book for most examples, but you cannot
> have a fully-covered book because some code snippets cannot be
> doctests. 

You should look at Manuel...

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
             - http://www.simplistix.co.uk



More information about the testing-in-python mailing list