Unit Testing in Visual Studio 2017

See Course Outline

Training for your Team

2
Days
  • Private Class for your Team
  • Online or On-location
  • Customizable
  • Expert Instructors
Overview

This two-day, instructor-led Unit Testing in Visual Studio 2017 training class provides students with the knowledge and skills to effectively use Visual Studio to design, write, and run high-quality .NET unit tests. The course focuses on the applicable features and capabilities of Visual Studio as it relates to unit testing and Test-Driven Development (TDD). This course also introduces other, popular unit testing tools and techniques, and demonstrates how they integrate with Visual Studio and your development lifecycle.

This course is intended for current software development professionals who are involved with building high-quality .NET applications. Students will use Visual Studio while learning how to design, write, and run unit tests. They will also learn many relevant practices and techniques, such as TDD, CI, refactoring, and how to test difficult code.

Goals
  1. Learn to learn why unit tests are critical to software quality.
  2. Learn to learn how unit tests and integration tests differ.
  3. Learn to learn about popular unit testing frameworks.
  4. Learn to learn about the anatomy of a unit test.
  5. Learn to learn about the 3A pattern (Arrange, Act, Assert).
  6. Learn to learn about assertions.
  7. Learn to learn about expected exceptions.
  8. Learn to learn about test class inheritance.
  9. Learn to learn about testing support by Visual Studio edition.
Outline
  1. Unit Testing in .NET
    1. The role of the developer
    2. Unit tests explained
    3. .NET unit testing frameworks
    4. MSTest, NUnit, xUnit.net, and others
    5. The anatomy of a unit test
    6. Writing your first unit test
  2. Unit Testing in Visual Studio
    1. Testing support in Visual Studio
    2. Test projects
    3. Test Explorer and other windows
    4. Unit testing in Visual Studio
    5. Running tests
    6. Managing test results
    7. Managing a large number of tests
  3. Test-Driven Development (TDD)
    1. TDD overview and benefits
    2. Practicing TDD with in Visual Studio
    3. Refactoring Using CodeLens to support TDD and refactoring
    4. Working with legacy code
  4. Writing Good Unit Tests
    1. Know your code
    2. Path testing (i.e., sad path)
    3. Right BICEP
    4. Testing for expected exceptions
    5. Maintaining high-quality test code
    6. Unit test naming conventions (e.g. BDD)
    7. Organizing unit tests
  5. Leveraging Visual Studio
    1. Code coverage
    2. Using code coverage as a metric
    3. Data-driven unit tests
    4. Continuous testing in Visual Studio
    5. Concurrent testing using Live Unit Testing
    6. Concurrent testing using NCrunch
  6. Testing Difficult Code
    1. ASP.NET, SharePoint, etc.)
    2. The need to isolate code under test
    3. Doubles (dummies, stubs, fakes, and mocks)
    4. Microsoft Fakes framework (stubs and shims)
    5. Mocking frameworks (Rhino Mocks)
    6. Profiling slow running unit tests
    7. Using IntelliTest with legacy code
Class Materials

Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.

Prerequisite Courses

Courses that can help you meet these prerequisites:

Preparing for Class

No cancelation for low enrollment

Certified Microsoft Partner

Registered Education Provider (R.E.P.)

GSA schedule pricing

91,059

Students who have taken Live Online Training

16,075

Organizations who trust Webucator for their training needs

100%

Satisfaction guarantee and retake option

9.44

Students rated our trainers 9.44 out of 10 based on 5097 reviews

E-mail Etiquette is well worth the time spent! The instructor is very articulate and has a plethora of knowledge on grammar that helps in the understanding of how to compose a good e-mail!

Cheryl Ann Cooke, Space & Naval Warfare Systems Center Pacific

Webucator training is straightforward. Nothing beats having a "live" instructor to answer questions that arise.

Michael Goins, Hewlett-Packard
Strasburg CO

I was very skeptical about spending a full day on training. Without question, one of the most productive 5 hours I've ever spent.

Philip Ragona, Atrium Companies, Inc.
Dallas TX

I went into this course without any Flash experience. I now have the knowledge and skills to put together Flash ads for our website and our television screens. I can't wait to learn more about what this program can do.

Tasha Lippold, Premier Bank
Dubuque IA

Contact Us or call 1-877-932-8228