YoVDO

Implementing C# 10 Unit Testing Using Visual Studio 2022 and .NET 6

Offered By: Pluralsight

Tags

C# Courses Software Development Courses Unit Testing Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
This course will teach you how to get started creating unit tests using C# and Visual Studio 2022 to improve the quality of your applications.

Every developer needs to test code, or have it tested by someone. This is where unit testing can help. In this course, Implementing C# 10 Unit Testing Using Visual Studio 2022 and .NET 6 you’ll learn to create unit tests using MSTest and Visual Studio. First, you’ll explore why unit testing is an important part of the software development process. Next, you’ll discover how to build your first unit tests and run them using Visual Studio. Next, you'll apply best practices to avoid hard-coding, initialize and clean up, and to organize unit tests. Then, you'll explore the various Assert classes for working with different data sets. After that, you’ll see how to consolidate tests by making them data-driven. Finally, you’ll learn how to automate your tests by running them from a command line. When you’re finished with this course, you’ll have the skills and knowledge to create unit tests that will improve the quality of your code and make testing quicker.

Syllabus

  • Course Overview 1min
  • Learn Why You Need Unit Testing 9mins
  • Creating Your First Unit Tests 18mins
  • Best Practices for Writing Unit Tests 26mins
  • Using Initialization and Cleanup Attributes 11mins
  • Learning the Attributes That Help You Organize Your Unit Tests 14mins
  • Using the Different Assert Classes and Methods 24mins
  • Consolidating Tests by Making Them Data-driven 12mins
  • Automating Unit Tests with the Command Line 6mins

Taught by

Paul D. Sheriff

Related Courses

Ruby on Rails: An Introduction
Johns Hopkins University via Coursera
Internet of Things Capstone: Build a Mobile Surveillance System
University of California, San Diego via Coursera
Engineering Maintainable Android Apps
Vanderbilt University via Coursera
Orientação a Objetos com Java
Instituto Tecnológico de Aeronáutica via Coursera
TDD – Desenvolvimento de Software Guiado por Testes
Instituto Tecnológico de Aeronáutica via Coursera