Unit Testing in Visual Studio 2019

4.4 out of 5 (26 reviews)  

VS-114 (2 Days)
Request Pricing for Unit Testing in Visual Studio 2019

Visual Studio 2019 training Overview

This Unit Testing in Visual Studio 2019 training course teaches attendees how to use Visual Studio 2019 to design, write, and run high-quality .NET unit tests. Students learn how to use Visual Studio as it relates to unit testing and Test-Driven Development. This course also introduces other popular unit testing tools and techniques and demonstrates how they integrate with Visual Studio and your development lifecycle.

Note: This course can also be taught using Visual Studio 2017.

Location and Pricing

Accelebrate courses are taught as private, customized training for groups of 3 or more at your site. In addition, we offer live, private online training for teams who may be in multiple locations or wish to save on travel costs. To receive a customized proposal and price quote for private on-site or online training, please contact us.

Visual Studio 2019 training Objectives

All students will learn how to:

  • Work with .NET unit testing frameworks
  • Write and run unit tests and managing test results.
  • Practice Test-Driven Development (TDD)
  • Write high-quality unit tests
  • Use additional unit testing features found in Visual Studio
  • Use tools and techniques for testing difficult code

Visual Studio 2019 training Outline

Expand All | Collapse All | Printer-Friendly

Introduction
Unit Testing in .NET
  • The role of the developer
  • Unit tests explained
  • .NET unit testing frameworks
  • MSTest, NUnit, xUnit.net, and others
  • The anatomy of a unit test
  • Writing your first unit test
Unit Testing in Visual Studio:
  • Testing support in Visual Studio
  • Test projects
  • Test Explorer and other windows
  • Unit testing in Visual Studio
  • Running tests
  • Managing test results
  • Managing a large number of tests
Test-Driven Development (TDD)
  • TDD overview and benefits
  • Practicing TDD within Visual Studio
  • Refactoring
  • Using CodeLens to support TDD and refactoring
  • Working with legacy code
Writing Good Unit Tests
  • Know your code
  • Path testing (i.e. sad path)
  • Right BICEP
  • Testing for expected exceptions
  • Maintaining high-quality test code
  • Unit test naming conventions (e.g. BDD)
  • Organizing unit tests
Advanced Unit Testing in Visual Studio
  • Code coverage
  • Using code coverage as a metric
  • Data-driven unit tests
  • Continuous testing in Visual Studio
  • Concurrent testing using Ncrunch
Testing Difficult Code
  • The need to isolate code under test
  • Doubles (dummies, stubs, fakes, and mocks)
  • Microsoft Fakes framework (stubs and shims)
  • Mocking frameworks (Rhino Mocks)
  • Profiling slow running unit tests
  • Using IntelliTest with legacy code
Conclusion
Request Pricing for Unit Testing in Visual Studio 2019
Lecture percentage

50%

Lecture/Demo

Lab percentage

50%

Lab

Course Number:

VS-114

Duration:

2 Days

Prerequisites:

Before attending this course, students should have experience or familiarity with:

  • The Visual C# language
  • Visual Studio 2017 or 2019
  • Writing, debugging, and maintaining code
  • Application Lifecycle Management basics
  • Building a high-quality software product
  • Their organization’s development lifecycle

Training Materials:

All Visual Studio training students receive comprehensive courseware.

Software Requirements:

  • Visual Studio 2017 or 2019 with the latest update
  • Access to a Team Foundation Server 2017 or 2019 instance
  • Related lab files that Accelebrate would provide

Contact Us:

Accelebrate’s training classes are available for private groups of 3 or more people at your site or online anywhere worldwide.

Don't settle for a "one size fits all" public class! Have Accelebrate deliver exactly the training you want, privately at your site or online, for less than the cost of a public class.

For pricing and to learn more, please contact us.

Contact Us Train For Us

Have you read our Google reviews?

Toll-free in US/Canada:
877 849 1850
International:
+1 678 648 3113

Fax: +1 404 420 2491

925B Peachtree Street, NE
PMB 378
Atlanta, GA 30309-3918
USA

Subscribe to our Newsletter:

Never miss the latest news and information from Accelebrate:

Microsoft Gold Partner

Please see our complete list of
Microsoft Official Courses

Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan

© 2013-2020 Accelebrate, Inc. All Rights Reserved. All trademarks are owned by their respective owners.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.