Chapter 15

Testing and Debugging Windows 8 Applications

WHAT YOU WILL LEARN IN THIS CHAPTER:

  • Understanding software quality and its importance
  • Understanding the basics of the debugging process
  • Getting to know the Windows Simulator and test the applications using it
  • Understanding what unit testing is and how you can use it to create high-quality applications

WROX.COM CODE DOWNLOADS FOR THIS CHAPTER

You can find the wrox.com code downloads for this chapter on the Download Code tab at www.wrox.com/remtitle.cgi?isbn=012680. The code is in the Chapter15.zip download and individually named, as described in the corresponding exercises.

In this chapter, you learn why it is important to create high-quality software, and how to do it. This chapter begins with a look at how to find the root causes of malfunctions in your code. You learn about the tools you can use to make this process easier and more straighforward. You also learn how to write additional code to test your application logic to make sure that your code behaves exactly the way it should. By the end of this chapter, you should have a solid understanding of the principles and techniques of maintaining a high-quality codebase for your Windows 8 style applications.

The Quality of Your Software

When you are writing code, you will inevitably make mistakes. Everyone makes mistakes — even professional developers with many years of coding experience. The only difference is that with experience you can reduce the number of those mistakes. ...

Get Beginning Windows 8 Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.