~/talk

Learn Python TDD Style with Python Koans

Talkat PyOhio 2012 · 2012-07-28..07-29· [testing]
slides:none on file

Hands-on workshop that teaches Python by fixing a suite of deliberately broken tests converted from Ruby Koans; run contemplate_koans.py from either the Python 2 or Python 3 folder, edit files to replace __ placeholders, and iterate with the built‑in unit test runner until green. Repo is on GitHub so you can git clone or download a zip; exercises include triangle classification, stacks/queues, generators and exception‑message matching, with small red→green refactor cycles.

AI-written summary · about

  1. 0:00Start
  2. 1:16Test Driven Development (TDD)
  3. 2:30RED Write a failing test
  4. 3:53GREEN Make it pass
  5. 4:37REFACTOR Clean up
  6. 5:33Applying TDD principals to Python Koans
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.