How to pass test parameters to MSTest methods [C# 11/.NET 7]

Поділитися
Вставка
  • Опубліковано 8 чер 2024
  • 00:00 - Introduction
    00:10 - How to pass input data to a test method
    01:32 - Passing multiple test case parameters for a test method
    02:30 - Passing an array as a parameter
    03:40 - Setting display name for individual tests
    04:56 - Using dotnet CLI to run tests
    05:40 - Creating hooks for initialize and tear-down methods for tests
    08:48 - How to skip a test
    09:18 - Prioritize tests using priority
    #dotnet7 #csharp #csharp11 #dotnet #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
  • Наука та технологія

КОМЕНТАРІ • 4

  • @dksurfer
    @dksurfer 4 місяці тому

    Awesom video. Very clear explanation and examples. Thanks

  • @thedacian123
    @thedacian123 Рік тому

    When i am setting the priority of a test are tests going to be executted sequencentailly as priority 1,..priority (n).I am saying this because in xunit we are able to run test in parallel,si what is goining to happen in this case with tests priorities?Thank you!

  • @user-xg7hi5mh3g
    @user-xg7hi5mh3g Рік тому

    Why always with primitive paramter how it will be defined when we have custom classes or objects