[CentralOH] 2017-12-11 會議 Scribbles 落書/惡文?: Test Driven Development

jep200404 at columbus.rr.com jep200404 at columbus.rr.com
Mon Dec 18 15:13:03 EST 2017

Thanks to Pillar and Christoph for their generous hospitality.
There was plenty of pizza and beverages for everyone.

We had our first ever December technical meeting.
Even though the meeting was announced only five days before the meeting,
we had at least a couple dozen folks.

Jim Prior gave an introduction to test driven development.
It started out slow, but after the prerequisites were covered,
it picked up and became very interactive as hoped
with the tests and code coming from the audience.
There were disagreements and misunderstandings which led to real learning.
Thanks to everybody to participated.
Neil Ludban's contribution still has me thinking about what the
most readable code is. Who is the audience? A novice or Pythonista?

    return output or str(n)

Thanks to John Cassidy for operating the computer.

The code is on the 20171211-fizzbuzz branch:




    too coarse: does too much in one big step

following have better granularity:


Test Driven Development: By Example by Kent Beck
examples are not in Python

Test-Drive Development with Python
by Harry J.W. Percival
Obey the Testing Goat: Using Django, Selenium, and Javascript
uses unittest, not pytest

More information about the CentralOH mailing list