~/talk

From pytest to Go: Fixture-Based Test Environments

TalkinRussianat GolangConf 2023 · 2023-11-27..11-28· [testing]
links:none on file
slides:none on file

Shows how pytest-style fixtures were brought into Go testing: it explains the fixture concept from pytest and demonstrates a Go test environment implementation that provides concise tests by handling setup/teardown and environment preparation using fixtures.

AI-written summary · about

  1. 0:00Fixture-based testing intro
  2. 2:15Problem with test setup
  3. 4:27pytest fixtures
  4. 5:52Introducing kntf
  5. 7:00Go fixture implementation
  6. 10:56Design decisions for kntf
  7. 18:45Fixture state management
  8. 25:44Global state cleanup
  9. 27:56Error prevention in fixtures
  10. 31:20Adoption feedback
  11. 38:14Q&A
~/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.