~/talk

Yes, we have tests. So what?

TalkinRussianat PiterPy 2023 · 2023-11-07..11-14· [testing, developer-experience]
links:none on file
slides:none on file

The talk examines practical problems with large or low-quality test suites in Python backend teams using pytest, explaining why having tests alone isn’t enough and how poor tests cause pain during refactoring. It covers spotting test "code smells," pytest plugins that simplify writing and maintaining tests, and useful metrics to collect from tests when a project grows to thousands of tests.

AI-written summary · about

  1. 0:00Introduction
  2. 1:04About the talk
  3. 3:31Test problems in practice
  4. 4:34Testing structure and approaches
  5. 5:36Arrange-Act-Assert
  6. 7:42Test case problems
  7. 8:24Given-When-Then and describe blocks
  8. 10:31Structuring tests
  9. 11:34What asserts check
  10. 12:35Comparing responses in tests
  11. 13:59Declarative asserts and snapshot tests
  12. 15:41Fixture problems
  13. 17:46When to use fixtures
  14. 20:14Memory fixture problems
  15. 21:18Fixture tools
  16. 22:19Flaky tests and fixes
  17. 23:44Property-based testing
  18. 25:49Mutation testing
  19. 27:12Unit vs integration tests
  20. 29:01Test pyramid
  21. 30:24BDD testing
  22. 32:11Mocks and stubs
  23. 34:18Mocks vs stubs
  24. 36:02Spies and fakes
  25. 37:24Mock patch features
  26. 38:49Speeding up tests
  27. 40:12Performance monitoring
  28. 41:17Summary and feedback
~/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.