Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #108788

Re: Resources/pointers for writing maintable, testable Python

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Andrew Farrell <armorsmith42@gmail.com>
Newsgroups comp.lang.python
Subject Re: Resources/pointers for writing maintable, testable Python
Date Wed, 18 May 2016 17:23:49 -0400
Lines 38
Message-ID <mailman.22.1463608092.27390.python-list@python.org> (permalink)
References <CA+yM-qbQSUKy8f3K1OF0-ON0mU7UugPLVnSkxXENkFes2SYQkA@mail.gmail.com> <CA+y5TLaDATkWELXdESMMYfmhJKNLiDJjGEbTDYYSRYTZqws4GA@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de +D/J6NgnqHHMEj9gGTaYpwIVSAmwMsIz4HcS4VFuJMKQ==
Return-Path <armorsmith42@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'received:209.85.223': 0.03; 'subject:Python': 0.05; 'cc:addr:python-list': 0.09; 'pointers': 0.09; 'python': 0.10; '<>.': 0.11; '2.7': 0.13; 'wed,': 0.15; 'java,': 0.15; '2016': 0.16; 'cheers!': 0.16; 'codebase,': 0.16; 'happily': 0.16; 'jacob': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:writing': 0.16; 'url:attachments': 0.16; 'url:oreilly': 0.16; '\xc2\xa0-': 0.16; 'wrote:': 0.16; 'found,': 0.18; 'thoughts': 0.18; 'email addr:gmail.com&gt;': 0.18; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; "haven't": 0.24; 'thanks,': 0.24; 'header:In-Reply-To:1': 0.24; "i've": 0.25; 'helpful': 0.27; 'checking': 0.27; 'message- id:@mail.gmail.com': 0.27; 'andrew': 0.27; 'for,': 0.29; "i'm": 0.30; 'subject:/': 0.30; 'url:mailman': 0.30; 'code': 0.30; "i'd": 0.31; 'probably': 0.31; 'url:python': 0.33; 'url:listinfo': 0.34; 'structure': 0.34; 'received:google.com': 0.35; 'primarily': 0.35; 'quite': 0.35; 'but': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:209': 0.38; 'anything': 0.38; 'sure': 0.39; 'url:en': 0.39; 'resources': 0.39; 'url:mail': 0.40; 'some': 0.40; "you'll": 0.61; 'today,': 0.62; 'url:%20': 0.63; 'effective': 0.63; 'url:pdf': 0.64; 'url:index': 0.67; 'url:%1': 0.67; 'incredibly': 0.76; 'topic,': 0.79; 'speaks': 0.91; 'url:books': 0.91; 'url:latest': 0.91; 'scott': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=s3rnZsEw4dXyAEzU88k3XOvn0Rn5VmNKkcx0w9boCA8=; b=t92eZN0h6bJBsRM+AbRJCk7nG83fIiql1H4zx/wCZv6fIWH9pipDm21QVjVcf2DFQf xJkcBiLv978igCLKHtUsuQFuyFovw1mQv1JEVhWIBjO3/hP6LWVDHkzuVaIs2cTv/GyK U5ZyQYNjTLRH3c8+r/TcljPd5akhoG0AUIusxvoexQLD7G8FFZoCNouhB7NVO+OEEJhE EwSt8c4yp3u5Iu0bTzyEVFuw5R3+lQBG3kku1nYH6SnXMBakOrcstCONtOAHyobdLJzW gBQUrNQP3lBSWIN2E+y2fJFqZHey0+pnm2unummjDLDcK3rYTC/6cN4LtnrFle2jybF7 HYQw==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=s3rnZsEw4dXyAEzU88k3XOvn0Rn5VmNKkcx0w9boCA8=; b=Wol68L2i92/S2y/auAxBOhE3mQWBuqdV/kotMhj5guzur3igiY1otQkC7YaIi93o+j aMzT9aAkWDjQMBrhStfpcSEzCdPCkIHQr8co+ukh9j22IDHI+XkDQRBGDiyOzBSzgSjF oH1A6DmAOZb8zb4jrwF0g9gOorMtOTu57jOeO7TtkrfbzbRdwvI/gwayKhS7mcc+XsPT 5Ho+Gklcdt1R8nBjaHCyEYcHdl1fEDGuOiK41hCOV+GMTiOgaj/yD+W+b8Lyh7vkE/UX a+A9RNgwCiI3gtW+80cMtxpMtVpbq3MeUQbnG1lSntnJbF+s2dg8vSulCLZOEOU2r7ub lQYw==
X-Gm-Message-State AOPr4FWBn1TkB9qmHUlY4AI4lJXRAHHZK7+4lT7Z05ntDYJTxpt3DczOER7DiAyCoG0bWS6GTNxUBJ/Y82uOnA==
X-Received by 10.107.164.73 with SMTP id n70mr7094444ioe.93.1463606658474; Wed, 18 May 2016 14:24:18 -0700 (PDT)
In-Reply-To <CA+yM-qbQSUKy8f3K1OF0-ON0mU7UugPLVnSkxXENkFes2SYQkA@mail.gmail.com>
X-Mailman-Approved-At Wed, 18 May 2016 17:48:12 -0400
X-Content-Filtered-By Mailman/MimeDel 2.1.22
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <CA+y5TLaDATkWELXdESMMYfmhJKNLiDJjGEbTDYYSRYTZqws4GA@mail.gmail.com>
X-Mailman-Original-References <CA+yM-qbQSUKy8f3K1OF0-ON0mU7UugPLVnSkxXENkFes2SYQkA@mail.gmail.com>
Xref csiph.com comp.lang.python:108788

Show key headers only | View raw


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@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
>

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: Resources/pointers for writing maintable, testable Python Andrew Farrell <armorsmith42@gmail.com> - 2016-05-18 17:23 -0400
  Re: Resources/pointers for writing maintable, testable Python Mike Driscoll <kyosohma@gmail.com> - 2016-05-19 08:33 -0700
    Re: Resources/pointers for writing maintable, testable Python Jacob Scott <jacob.scott@gmail.com> - 2016-05-19 09:10 -0700
    Re: Resources/pointers for writing maintable, testable Python Terry Reedy <tjreedy@udel.edu> - 2016-05-19 12:23 -0400
      Re: Resources/pointers for writing maintable, testable Python Mike Driscoll <kyosohma@gmail.com> - 2016-05-19 13:10 -0700
        Re: Resources/pointers for writing maintable, testable Python Terry Reedy <tjreedy@udel.edu> - 2016-05-19 18:45 -0400

csiph-web