Resources/pointers for writing maintable, testable Python

Andrew Farrell armorsmith42 at gmail.com
Wed May 18 17:23:49 EDT 2016


Hi Jacob,

You are probably looking for the book Test-Driven Development with Python
<http://chimera.labs.oreilly.com/books/1234000000754/index.html>.
You'll also want to look at py.test <http://pytest.org/latest/>

Cheers!
Andrew Farrell

On Wed, May 18, 2016 at 5:01 PM, Jacob Scott <jacob.scott at gmail.com> wrote:

> Many years ago, when I was primarily writing Java, I found Misko
> Hevery's Guide:
> Writing Testable Code
> <http://misko.hevery.com/attachments/Guide-Writing%20Testable%20Code.pdf>
> to
> be incredibly helpful in guiding the design and structure of my codebase,
> and as reference for checking if my code was smelly.
>
> Today, I'm happily writing primarily Python (unfortunately, 2.7 -- but I'm
> not sure it makes that much of a difference), but I haven't found anything
> that speaks to me in the same way. Some of the best resources I've found,
> but which don't quite cover all of what I'm looking for, include
>
>    - PEP-8 and PEP-20
>    - The Hitchhiker's Guide to Python
>    <http://docs.python-guide.org/en/latest/>
>    - Effective Python <http://www.effectivepython.com/>
>
> I'd appreciate any pointers to resources I might have missed, general
> thoughts on the topic, etc.
>
> Thanks,
>
> Jacob
> --
> https://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list