Testing and Debugging

  • Ashish Ghoda


Testing and debugging are vital activities in building quality software. From a developer’s perspective, unit testing ensures small units of code work. By having a suite of tests, it is easy to catch a bug introduced into code that was previously shown to be bug free. Testing helps ensure software quality by catching as many bugs as possible and proactively ensuring bugs aren’t introduced. Debugging, however, is generally done after a bug has been found. Debugging involves tools and an effective problem-solving process to find the root cause of a bug in order to apply a fix. You can build defenses into your application to make debugging easier, such as error logs (to capture errors) and audit logs (to reconstruct what the user of the application did to trigger the bug). This chapter aims to show you how to go about testing Silverlight applications and preparing for and conducting debugging when things do go wrong.


Unit Test Visual Studio Class Library Code Coverage Conditional Attribute 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Ashish Ghoda 2010

Authors and Affiliations

  • Ashish Ghoda

There are no affiliations available

Personalised recommendations