Burkhard Stubert

Latest posts — page 3

Building a CI Pipeline with CTest and CDash

We can use CMake, CTest and CDash to build a basic Continuous Integration (CI) pipeline. The pipeline builds the applications, runs the tests, collects coverage information and uploads all the results to a dashboard on a web server. All this

A Mock QCanBusDevice for TDD

I am using TDD to implement a hardware-independent mock QCanBusDevice. We can use MockCanBusDevice in unit, integration and acceptance tests - without access to a hardware CAN bus. A terminal application can also use it in its own process to

Developing a QML Keypad with TDD

Although Qt comes with a unit-test framework QuickTest for QML code, hardly any QML GUIs are unit-tested, let alone developed with TDD (test-driven development). One reason is that many developers regard unit tests for GUI code as a waste of