O'Reilly logo

Qt 5 Projects by Marco Piccolino

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Defining a Solid and Testable App Core

We have started our journey into application development with Qt by providing a clear map of what we want to achieve by means of scenarios, acceptance tests, and usecases. In turn, transforming scenarios into usecases has revealed the most important business object we need for our What's in my fridge? app: a list of grocery items. usecases have also outlined some of the characteristics of the grocery items business object; for example, it must be countable, and each list item should have a name that can be used to refer to, sort, add, and remove it from the list.

In this chapter, we will implement first the check available groceries usecase object, and then the grocery items business object (entity

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required