Live Webinar - Options for Running Microservices in AWS

closeClose

Test-Driven Development Using NUnit and C#

Course Details
Code: CN1-TDD-NUC
Tuition (USD): $800.00 • Classroom (1 day)

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 NUnit in supporting test-driven development on Microsoft .NET. It is current to .NET 4.5.1 and Visual Studio 2013. The 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 using NUnit in your .NET development projects. The student will receive a comprehensive set of materials, including course notes and all the programming examples.

Skills Gained

  • Understand the principles of test-driven development. Acquire fluency in developing tests using the NUnit framework. Efficiently exercise tests suites using both GUI and command-line tools.

Who Can Benefit

  • Developers and Technical Managers

Prerequisites

  • The student should have a basic knowledge of the .NET Framework and experience programming in C# with Visual Studio.

Course Details

Test-Driven Development Using NUnit and C#

  • Test-Driven Development
  1. What Is Test-Driven Development (TDD)?
  2. Functional Tests / Customer Tests
  3. Unit Tests / Programmer Tests
  4. Test Automation
  5. Simple Design
  6. Refactoring
  7. An NUnit Test Drive
  8. TDD with Legacy Code
  • NUnit Fundamentals
  1. Structure of Unit Tests
  2. NUnit Framework
  3. Assertions
  4. Test Cases
  5. Test Fixtures
  6. Test Runners
  7. Ignoring Tests
  8. Setup and TearDown
  9. Test Fixture Setup and TearDown
  10. NUnit GUI Tool
  11. NUnit with Visual Studio
  • More about NUnit
  1. Exceptions
  2. Debugging NUnit Tests
  3. Custom Asserts
  4. Categories
  5. NUnit Console Tool
  6. Refactoring