Testing and Instrumenting C# Applications


Overview/Description
To introduce the concepts of software testing and debugging and to describe the use of the Debug and Trace programmatic classes in the .NET Framework class library and the Visual Studio .NET and SDK interactive debuggers

Target Audience
Windows developers seeking to update their knowledge of and skills in developing, testing, and debugging software applications in Visual Studio .NET or pursuing MCAD or MCSD .NET certification

Prerequisites
Familiarity with C# syntax and the main tasks involved in using the Visual Studio .NET integrated development environment

Expected Duration
300 Minutes

Objectives:

Testing and Instrumenting C# Applications

  • explain the purpose and scope of software testing, use software-testing terminology, and describe the main categories of testing.
  • recognize the role of code reviews and recommended coding practice in the testing process, and review .NET code for errors.
  • describe basic software-testing techniques, including tester-based, coverage-based, method-based, and risk-based techniques.
  • analyze testing requirements and design a software testing strategy.
  • use compiler constants, compiler directives, and conditional compiling attributes to facilitate the debugging of applications.
  • describe and use the Debug and Trace classes in the System.Diagnostics namespace of the .NET Framework class library.
  • use trace switches to customize the behavior of the Debug and Trace classes.
  • use the trace listener objects available in the .NET Framework to customize tracing output and to create a custom tracing solution.
  • use the Debug and Trace classes to implement tracing in C# applications.
  • configure a VB.NET and C# application project for debugging.
  • recognize and use the main windows in the Visual Studio .NET debugger.
  • start, pause, and stop debugging, use and configure breakpoints, and step through an application being debugged in Visual Studio .NET.
  • use the watch windows, the Quickwatch window, and the Debug and Debugger classes to monitor the state of the application while debugging it in Visual Studio .NET.
  • attach the Visual Studio .NET debugger to a running process and configure JIT debugging, the automatic launching of the debugger, and how the debugger handles exceptions.
  • use Visual Studio .NET for interactive debugging of a C# application.

  • Course Number: 109340_eng