Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #108829
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Terry Reedy <tjreedy@udel.edu> |
| Newsgroups | comp.lang.python |
| Subject | Re: Resources/pointers for writing maintable, testable Python |
| Date | Thu, 19 May 2016 12:23:27 -0400 |
| Lines | 24 |
| Message-ID | <mailman.35.1463675017.27390.python-list@python.org> (permalink) |
| References | <CA+yM-qbQSUKy8f3K1OF0-ON0mU7UugPLVnSkxXENkFes2SYQkA@mail.gmail.com> <CA+y5TLaDATkWELXdESMMYfmhJKNLiDJjGEbTDYYSRYTZqws4GA@mail.gmail.com> <mailman.22.1463608092.27390.python-list@python.org> <ffa86da4-f7f1-4a02-9fba-0bd6ca68e074@googlegroups.com> <nhkpa0$crf$1@ger.gmane.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.uni-berlin.de WA8oeT+skjjBYSKOjQ+WLwKoXpWZwJeSMLVleqecJpfg== |
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'apps,': 0.07; 'keys,': 0.07; 'mouse': 0.07; 'wednesday,': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.10; '<>.': 0.11; 'jan': 0.11; '2016': 0.16; 'buttons,': 0.16; 'driscoll': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'reedy': 0.16; 'selenium': 0.16; 'simulate': 0.16; 'simulated': 0.16; 'subject:writing': 0.16; 'url:oreilly': 0.16; 'wrote:': 0.16; 'example.': 0.18; 'tkinter': 0.22; 'am,': 0.23; 'needed.': 0.23; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'external': 0.27; 'andrew': 0.27; 'screen.': 0.29; 'testing.': 0.29; 'mike': 0.29; 'subject:/': 0.30; 'probably': 0.31; 'idle': 0.33; 'impression': 0.33; 'case,': 0.34; 'primarily': 0.35; 'needed': 0.36; 'to:addr :python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'version': 0.38; 'test': 0.39; 'to:addr:python.org': 0.40; 'is.': 0.63; 'received:96': 0.63; 'url:index': 0.67; 'clicking': 0.75; 'saw': 0.77; 'perspective.': 0.84; 'received:fios.verizon.net': 0.91; 'url:books': 0.91; 'chapters': 0.93 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| X-Gmane-NNTP-Posting-Host | pool-96-227-207-81.phlapa.fios.verizon.net |
| User-Agent | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 |
| In-Reply-To | <ffa86da4-f7f1-4a02-9fba-0bd6ca68e074@googlegroups.com> |
| 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 | <nhkpa0$crf$1@ger.gmane.org> |
| X-Mailman-Original-References | <CA+yM-qbQSUKy8f3K1OF0-ON0mU7UugPLVnSkxXENkFes2SYQkA@mail.gmail.com> <CA+y5TLaDATkWELXdESMMYfmhJKNLiDJjGEbTDYYSRYTZqws4GA@mail.gmail.com> <mailman.22.1463608092.27390.python-list@python.org> <ffa86da4-f7f1-4a02-9fba-0bd6ca68e074@googlegroups.com> |
| Xref | csiph.com comp.lang.python:108829 |
Show key headers only | View raw
On 5/19/2016 11:33 AM, Mike Driscoll wrote: > On Wednesday, May 18, 2016 at 4:48:28 PM UTC-5, Andrew Farrell wrote: >> Hi Jacob, >> >> You are probably looking for the book Test-Driven Development with Python >> <http://chimera.labs.oreilly.com/books/1234000000754/index.html>. Electronic version is free online. > I was under the impression that this book is primarily aimed at Python/Django web testing. I saw It is. However, the first four chapters cover the general principles of TDD, so one can read them while thinking of web development as just an illustrative example. In my case, I learned better how to test IDLE from a user perspective. For tkinter apps, an external program such as Selenium is not needed. Tk/tkinter have the simulated event generation and introspection needed to simulate a user hitting keys, clicking mouse buttons, and reading the screen. -- Terry Jan Reedy
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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