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
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
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Mocking in C# Unit Tests - How To Test Data Access Code and More](https://i.ytimg.com/vi/DwbYxP-etMY/default.jpg)
![Injeção de Dependência em .NET Core: o que é isso?](https://i.ytimg.com/vi/NG5CjanxDAc/default.jpg)
![Clean ASP.NET Core API using MediatR and CQRS | Setup](https://i.ytimg.com/vi/YzOBrVlthMk/default.jpg)
![8 await async mistakes that you SHOULD avoid in .NET](https://i.ytimg.com/vi/lQu-eBIIh-w/default.jpg)
![Integration Testing in ASP.NET Core (Quick and Easy)](https://i.ytimg.com/vi/dBCFFZS4ACo/default.jpg)
![How to effectively use Redis Cache in .NET Core (Framework, Standard)](https://i.ytimg.com/vi/jwek4w6als4/default.jpg)
![Unit Tests and Test Doubles like Mocks, Stubs & Fakes](https://i.ytimg.com/vi/NPp2pvhGbkM/default.jpg)
![Resilient HttpClient using Polly and IHttpClientFactory in .NET Core 3](https://i.ytimg.com/vi/9pgvX_Dk0n8/default.jpg)
![Intro to Unit Testing in C# using XUnit](https://i.ytimg.com/vi/ub3P8c87cwk/default.jpg)
![Clean mocking for unit tests using NSubstitute in .NET (Core, Framework, Standard)](https://i.ytimg.com/vi/LcQYv0cBWk0/default.jpg)
![C# Dependency Injection with Autofac](https://i.ytimg.com/vi/mCUNrRtVVWY/default.jpg)
![Big Changes in .NET 5, C# 9, and Visual Studio 2019 (v16.8)](https://i.ytimg.com/vi/zjVgQNfAEOs/default.jpg)
![Test driven development (TDD) - Tutorial for Beginners](https://i.ytimg.com/vi/y8TcPr73Bwo/default.jpg)
![.NET Core 3.1 MVC REST API - Full Course](https://i.ytimg.com/vi/fmvcAzHpsk8/default.jpg)
![Clean Architecture com ASP.NET Core #LIVE](https://i.ytimg.com/vi/8K9EKybLU1k/default.jpg)
![What is Mock testing ( MOQ) ?](https://i.ytimg.com/vi/YUcxik0PnWY/default.jpg)
![A different way to return data in C# with OneOf](https://i.ytimg.com/vi/r7QUivYMS3Q/default.jpg)
![Validation using MediatR's Pipeline Behaviors and FluentValidation | Clean .NET Core](https://i.ytimg.com/vi/2JzQuIvxIqk/default.jpg)
![How to collect metrics and create dashboards using Grafana, Prometheus and AppMetrics in .NET Core](https://i.ytimg.com/vi/sM7D8biBf4k/default.jpg)