Unit testing with Qt Test

This talk is entirely based on my 4 articles on Qt Test:

C++ unit testing with Qt Test – part 1 – introduction This tutorial explains how to use Qt Test for testing a C++ class. That will involve creating a project, defining the unit test and using the different macros available to test code.

C++ unit testing with Qt Test – part 2 – advanced testing This tutorial introduces more advanced features of Qt Test, like how to handle a project with multiple unit tests and how to implement data driven testing. it will also give examples of more testing macros and it will show you the integration offered by Qt Creator.

GUI unit testing with Qt Test – part 1 – introduction This tutorial will introduce GUI unit testing with Qt Test. In particular it will discuss how to write a basic unit test for a widget class, how to simulate mouse and keyboard events and how to write data driven tests for GUIs.

GUI unit testing with Qt Test – part 2 – advanced testing This tutorial will introduce more advanced features of Qt Test dedicated to GUI unit testing. In particular it will show how to simulate and handle keyboard focus and how to test Qt signals when unit testing a Graphical User Interface.

track icon Leonardo
duration icon 60 min
language icon English