~/talk

Qt and Python; code easily using the Pytest framework

Talkat Qt World Summit 2019 · 2019-11-04..11-06· [testing, python]
links:none on file
slides:none on file

pytest plus the pytest-qt plugin proves that Qt/Python GUIs become testable with concrete tools not promises: it exposes QTestLib, adds higher-level APIs like fixtures with dependency injection and yield-based teardown, offers wait_signal / wait_signals / wait_until / wait_callback helpers for async waits, provides a model tester for QAbstractItemModel correctness, captures Qt warnings and logging, translates C++ exceptions into test failures, and plugs into the ~750+ pytest plugin ecosystem for CI and reporting.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:24Python and Qt overview
  3. 3:59Python-Qt bindings comparison
  4. 5:48Why use pytest
  5. 7:39pytest features and fixtures
  6. 10:28pytest-Qt plugin introduction
  7. 11:34Exception handling in tests
  8. 13:00Logging and warnings capture
  9. 14:49Qt event handling in tests
  10. 15:34Waiting for signals and conditions
  11. 17:26Advanced waiting techniques
  12. 18:36Qt model testing
  13. 20:21pytest plugins ecosystem
  14. 21:24Resources and Q&A
~/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.