Hello and welcome In today's post, we will discuss mocking/stubbing lambda expressions so that we can have a bit more control over our unit tests. Keep in mind that I'm by no means versed in expression trees so I will try my best to explain. What is an Expression and how to use it Going … Continue reading Mocking LINQ Expressions
Unit Testing
Automation testing dogma and exploration
Hello and welcome :), In a previous post I hinted about today's topic. So in this post, I want to discuss two topics: Automated tests dogma - this is based on my opinions of things we as developers need to loosen our grip on. Exploratory testing - why and where should we introduce randomness and … Continue reading Automation testing dogma and exploration
Testing Entity Framework Core
Hello and welcome, In this post, we are going to have a look at how we can write automated tests using entity framework core. As in the recent previous posts, the code can be found here. The story A while back when working on a project, I wanted to do an integration test with a … Continue reading Testing Entity Framework Core
Testing SignalR Hubs in ASP.Net Core 2.1
Hello and Welcome 🙂 As some of you might have heard, ASP.NET Core 2.1.0 went live at the end of last month. One of the features that come with this release is also the release of SignalR which for those who do not know about it, it's a library that allows for two-way communication between … Continue reading Testing SignalR Hubs in ASP.Net Core 2.1