office (678) 325-7317
fax (678) 325-7317
Basics of Unit Testing

Course Length: 1 day


Everyone knows that they should be writing unit tests for their applications, but how many of us really do it? In Visual Studio unit testing is an integrated part of the development environment. There is no longer any reason to avoid not doing test driven development and automated unit testing. In this session you will be introduced to the basics of unit testing, how to run tests, and how to reduce the number of tests by taking advantage of data-driven tests. You will then see an example of how to architect your applications to make testing quicker and easier. At the end of this session you will walk away with the knowledge you need to start automating the testing of your applications.

What You Will Learn

  • How to start unit testing
  • Create your first unit tests
  • Create data-driven unit tests

Who Should Attend

This course is designed for any programmer who wants to learn the basics of unit testing. It is recommended that students are already familiar with Visual Studio and C#.

Course Outline

  • Module 1: Introduction to Unit Testing
  • Module 2: Building Your First Unit Tests
  • Module 3: Avoid Hard Coding
  • Module 4: Initialization and Cleanup
  • Module 5: Unit Testing Attributes
  • Module 6: Assert Classes
  • Module 7: Data-Driven Tests
  • Module 8: Using the Command Line Interface

Home | AboutUs | Training | Mentoring | Contact Us

© 2008 Dunn Training Inc. All Rights Reserved.