~/talk

Parametric test generation with Pytest: practice and tricks

TalkinRussianat PiterPy 2022 · 2022-10-18..10-28· [testing, python]
links:none on file
slides:none on file

Shows how to generate parameterized automated tests using pytest, including live-coding examples of basic parametric tests. Demonstrates tricks to make tests more readable and understandable to others, and techniques to mark some tests as xfailed/soft-fail so failures don’t block the build.

AI-written summary · about

  1. 0:00Introduction
  2. 4:41Parametric test generation overview
  3. 12:28Mark parametrize basics
  4. 19:55Readable test names
  5. 23:53Parameterized test failures
  6. 29:17Combining scenarios
  7. 33:13Testing complex objects
  8. 36:08Q&A
  9. 44:43Closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.