For many years, I was a “hands-on keyboard” kind of software engineer. I’ve written millions of lines of code — in languages that are both still loved (hello, C#) and those we pretend never existed (looking at you, VB6). I’ve spent late nights debugging mysterious 500 errors, duct-taping microservices together, and chasing race conditions like
CODESTYLE
It’s not a bug – it’s an undocumented feature
Cypress screenshots are missing in Azure Pipelines
My new favorite framework for doing E2E tests in web solutions are Cypress. I usually hook up a pipeline in Azure DevOps that runs the Cypress tests after each deployment. Its fairly easy to setup a pipeline that runs the test and publishes them to Azure DevOps. Cypress has the Mocha framework integrated as well
XUnit tests not detected in Azure Pipeline in .NET Core 3.1
I recently started a new project using ASP.NET Core 3.1. The project consisted of am API project and a XUnit project with integration tests. Everything was running just fine locally and I then added a YAML based Azure Pipeline for Continuous Integration. I used the standard YAML template ASP.NET Core (.NET Framework) from Azure DevOps
Integration tests in ASP.NET Core 3.1 with EF is not working
A while ago I ran into an issue while trying to write some integration tests for a .NET Core based API. The API was using EF Core and the idea was to replace this with an inmemory database in the integration tests. I followed the otherwise excellent documentation from Microsoft on how to write proper