上QQ阅读APP看书,第一时间看更新
Unit Testing
In this chapter, we will take a look at a process that has really grown in popularity in the recent years—unit testing. We’ll briefly talk about what it is and why we would want to do it before covering how to integrate it into our solution using Qt’s very own unit testing tool, Qt Test. We will cover the following topics:
- Unit Testing principles
- The default Qt approach
- An alternative approach
- DataDecorator tests
- Entity tests
- Mocking