Henk Sandovalhenksandoval.com·Apr 28, 2024Tutorial Práctico de TDD en Proyectos Reales con .NET: Parte IIIntroducción En el artículo anterior Cómo Implementar TDD en Proyectos Reales con .NET: Guía Práctica (Parte I), nos centramos en los cálculos financieros críticos necesarios para procesar la solicitud de préstamo. Definimos los unit tests que nos ay...Discuss·3 likes·88 readsDomina el Testing en DesarrolloC#
Geo J Thachankarygeothachankary.hashnode.dev·Oct 7, 2023Unit Testing in .NET Core - Mastering MockingThis is the fifth post in our Unit Testing in .NET Core series! In the previous post, we looked at writing better assertions in our unit tests. In this post, we will explore the concept of mocking in unit testing using xUnit, discuss different types ...Discuss·52 readsUnit Testing in .NET Core.net core
Billy Mumbybilly-mumby-dev.com·Aug 22, 2023NSubstitute from MoqA concise and straightforward guide to transitioning from Moq to NSubstitute. Foreword There has been a recent issue with version 4.2.0 of the popular mocking library Moq. This is covered in many places by the community already, there is a great vide...Discuss·1 like·168 readsunit testing
Davide Bellonecode4it.hashnode.dev·Aug 3, 2022Moq vs NSubstitute: syntax cheat sheetWhen writing Unit Tests, you usually want to mock dependencies. In this way, you can define the behavior of those dependencies, and have full control of the system under test. For .NET applications, two of the most used mocking libraries are Moq and ...Discuss·124 readsC#