~/talk

Introduction to Automated Testing for Qt Applications

links:none on file
slides:none on file

Converts a KeePassX-style Qt app into a static library plus a thin launcher so tests can link into app code, adds a QTestLib-based test program that exercises the autotype test end-to-end against a small username/password dialog, uses QVERIFY/QCOMPARE and data-driven rows (four example rows) and init/cleanup hooks, wires tests into the build with make check, and runs through Valgrind/strace producing JUnit-compatible XML; test suite catches a QByteArray-fromRawData memory corruption bug and the fixed build passes.

AI-written summary · about

  1. 0:00Introduction to QT testing
  2. 1:38Application demonstration
  3. 4:53Refactoring for testability
  4. 8:09Analyzing source structure
  5. 10:56Build system modifications
  6. 13:52Using QTestLib
  7. 20:00Implementing a basic test
  8. 26:48Using test data sets
  9. 33:47Build system integration
  10. 37:23Advanced testing tools
  11. 41:02Conclusions 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.