How to use Assert in MSTest for Unit Testing (C# 11/.NET 7)

Поділитися
Вставка
  • Опубліковано 8 чер 2024
  • 00:00 - Introduction to MSTest
    00:25 - NuGet packages for MSTest
    01:00 - Main attributes for MSTest
    01:20 - Using Assert to assert test results
    03:30 - Using delta with Assert.AreEqual
    04:50 - Using Assert.AreSame
    06:22 - Using Assert.IsInstanceOfType
    07:12 - Using Assert.IsNull
    07:42 - Using Assert.ThrowsException
    #csharp #dotnet7 #dotnet #csharp11 #unittesting #mstest
    Some of my popular videos:
    Elasticsearch with .NET and introduction: • An Introduction to Ela...
    Hangfire Scheduling an introduction: • Scheduling recurring j...
    ASP.NET Core Authentication with JWT (JSON Web Token): • ASP.NET Core Authentic...
    Running Background tasks using IHostedService and BackgroundService (In ASP.NET Core 3.1): • Running Background tas...
    How to build an API Gateway in ASP.NET Core using Ocelot (Build API Gateway in a few minutes): • How to build an API Ga...
    My blog site: dotnetcorecentral.com
  • Наука та технологія

КОМЕНТАРІ •