Course Code: testdrivendevelopment-
Duration: 14 hours
Prerequisites:

There are no specific requirements needed to attend this course.

Overview:

The Test-Driven Development Using Visual Studio and C# course is practical, with many example programs and tests written in C#, including a cumulative case study. The goal is to quickly bring you up to speed in doing unit testing in your .NET development projects. The student will receive a comprehensive set of materials, including course notes and all the programming examples. An emerging software engineering paradigm is test-driven development, where tests are written early and testing is performed continuously during the development process. Problems are discovered early and corrected when they are found. This one-day course for developers explains the methodology of test-driven development and the use of the unit testing framework that comes with Visual Studio 2017, including the free Community version.

What You Will Learn

  • Understand the principles of test-driven development

  • Acquire fluency in developing tests using the Visual Studio unit testing framework

  • Efficiently exercise test suites using Visual Studio and MSTest

Course Outline:
  • Testing strategies overview

  • Unit Testing

  • What is unit testing

  • Why unit testing is needed

  • Difference between Unit Testing and Integration Testing

  • Developer and Tester role in Unit Testing

  • Unit Testing Framework

  • Automated Tests

  • Overview of xUnit frameworks

  • Introduction to TDD

  • Test First Vs Test Last

  • Refactoring

  • TDD colors: Red, Green, Refactor

  • Driving Design using TDD

  • Different Styles of TDD

  • Design of the TDD approach and its benefits

  • Respect of the principle of isolation and control of test results

  • User stories and TDD