Chapter 12. Testing and Debugging

Terms you'll need to understand:

  • Testing

  • Bottom-up testing

  • Top-down testing

  • Trace class

  • Debug class

  • TraceListener class

  • TraceSwitch class

  • Tracing

  • Debugging

  • Step-by-step execution

  • Breakpoint

Techniques you'll need to master:

  • Know different kinds of testing: unit, integration, and regression

  • Know how to implement tracing in Windows applications using the Trace and Debug classes of System.Diagnostics namespace

  • Know how to implement trace switches and conditional compilation for your application

  • Know how to perform step-by-step debugging using the debugging features provided by Visual Studio .NET

Before an application is deployed to users, it is critical to test the application for errors or unexpected behaviors. This chapter ...

Get Developing and Implementing Windows®-Based Applications with Visual C#™ .NET and Visual Studio® .NET Exam Cram™ 2 (Exam 70-316) 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.