Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Embedded Programming with Qt

You're reading from   Hands-On Embedded Programming with Qt Develop high performance applications for embedded systems with C++ and Qt 5

Arrow left icon
Product type Paperback
Published in Jul 2019
Publisher Packt
ISBN-13 9781789952063
Length 416 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
John Werner John Werner
Author Profile Icon John Werner
John Werner
Arrow right icon
View More author details
Toc

Table of Contents (22) Chapters Close

Preface 1. Section 1: Getting Started with Embedded Qt FREE CHAPTER
2. Setting Up the Environment 3. Writing Your First Qt Application 4. Running Your First Application on the Target 5. Section 2: Working with Embedded Qt
6. Important Qt Concepts 7. Managing the Overall Workflow 8. Exploring GUI Technologies 9. Adding More Features 10. Section 3: Deep Dive into Embedded Qt
11. Qt in the Embedded World 12. Exploring the IoT with Qt 13. Using More Qt-Related Technologies 14. Section 4: Advanced Techniques and Best Practices
15. Debugging, Logging, and Monitoring Qt Applications 16. Responsive Application Programming - Threads 17. Qt Best Practices 18. Assessments 19. Other Books You May Enjoy Appendix A: BigProject Requirements
1. Appendix B: Bonus Code - Simplifying Q_PROPERTY

Testing Qt applications

There are two basic ways of verifying that code is functioning:

  • Inspection: Looking at the code to find errors
  • Testing: Running the code with multiple inputs and verifying the correct functionality

In this chapter, we will learn about both the strategies and the tools Qt brings to the table to help with them. We will also talk a little about the importance of code coverage for any verification or testing effort.

Some may break this into two parts for each category I listed—Inspection and Analysis and Testing and Demonstration. Personally, I feel that just confuses things. You can either inspect the code, including analyzing the logic/calculations, or you can test the code, which is really just a demonstration that it works.

We will start with code analysis because Qt makes it so easy to do some of the work.

...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at AU $24.99/month. Cancel anytime