The Few Hours Shiny DSL Product Tutorial
Warm-up About five years ago I was working for a customer where we had to write a lot of unit tests to test the UI. It was when I first realized, that about 80% of my effort was wasted in repeating...
View ArticleUnitTestMonitor: Monitoring Qt unit tests
It’s been bothering me ever since that there’s no integration for unit tests in QtCreator. As I’m quite spoiled by the JUnit support in Eclipse IDE. Last summer I started to work on a tool that I call...
View ArticleQt: QList and loop performance
Recently I was looking for how to reverse a QList and I stumbled over that one-liner on stackoverflow: The one-liner does what it’s supposed to, but do you see the redundancies that cause poor...
View ArticleGenerating LCOV Coverage with QtCreator
While QtCreator is an excellent IDE for Qt projects it has no built-in support for unit testing and test coverage. In that article I’ll show you how to unit test your Qt application, automatically...
View ArticleEstimating Costs Of Unit Testing With Qt/C++
The Background Last summer I joined a development team where a Qt/C++ thin client application is being developed. During the early phase of the project the developers were coding a lot of fundamental...
View ArticleA Named QStateMachine
Building GUIs Using State Machines Developing UIs is a complex business. To make your life easier you should consider using state machines for your screens. State machines allow for enabling and...
View ArticleCode less create more (or less the same)
My wife just started to learn programming for fun, so I told her to start with Java, because it’s simple and quite straight forward. After she managed her first “Hello World” she was disappointed as no...
View Article