Загрузка страницы

Getting started with Mocking using Moq in .NET (Core, Framework, Standard)

Subscribe: http://bit.ly/ChapsasSub
Support me on GitHub: http://bit.ly/ChapsSupport

The giveaway is now over. Thanks for participating.

Get the source code: http://eepurl.com/gLjkuv
Hello everybody I'm Nick and in this .NET tutorial I will show you how you can get started with mocking external dependencies in unit testing using Moq. Moq is the most popular mocking framework in .NET and even though it is not my personal favourite, I highly recommend it.

Moq detailed documentation: https://github.com/Moq/moq4/wiki/Quickstart

In object-oriented programming, mock objects are simulated objects that mimic the behavior of real objects in controlled ways, most often as part of a software testing initiative. A programmer typically creates a mock object to test the behavior of some other object, in much the same way that a car designer uses a crash test dummy to simulate the dynamic behavior of a human in vehicle impacts.

Don't forget to comment, like and subscribe :)

Social Media:
Follow me on GitHub: http://bit.ly/ChapsasGitHub
Follow me on Twitter: http://bit.ly/ChapsasTwitter
Connect on LinkedIn: http://bit.ly/ChapsasLinkedIn

#dotnet #tests #mocking

Видео Getting started with Mocking using Moq in .NET (Core, Framework, Standard) канала Nick Chapsas
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
27 января 2020 г. 20:00:03
00:22:10
Яндекс.Метрика