~/talk

Testing Your Patience With Qt

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

Covers using the Qt Test framework for automated unit testing of Qt code, including basic linear tests, data-driven tests, and organizing code for testability. Describes techniques to reduce redundant tests via mocking and stubs, and how to test classes that interact with network servers without running real servers; GUI testing is explicitly excluded.

AI-written summary · about

  1. 0:00Intro
  2. 0:11Once upon a time...
  3. 1:29UNIT TESTING
  4. 1:41What can tests help us do?
  5. 4:49A Simple Test That Fails
  6. 6:07IS A Simple Data Driven Test
  7. 12:34Design for Tests
  8. 13:18Test YOUR code
  9. 14:09Saving Data to File - Bad
  10. 16:05Saving Data to File. Good
  11. 16:48Loading Data from a Fle
  12. 19:01Design for Testing
  13. 19:36Singleton, Make it virtual
  14. 21:52Singleton Abused
~/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.