~/talk

Start Testing in 5 Minutes Flat

Talkat PyOhio 2021 · on Saturday, 2021-07-31· [testing]
slides:none on file

Shows how to get a pytest test suite running in minutes using Python 3.8.4 and pytest 6.2.2. Builds a small package named stuff with module accum and class Accumulator.count plus an add method that increments; tests live in tests/test_accum.py and use a pytest fixture named accum to create fresh Accumulator instances. Runs with python -m pytest, discovers test_ files, reports green dots on success and a big F plus failure stack on error; includes links to Test Automation University.

AI-written summary · about

  1. 0:00Introduction to pytest
  2. 0:57Project setup
  3. 2:22Writing unit tests
  4. 4:19Running and debugging
~/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.