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
CODESTYLE
It’s not a bug – it’s an undocumented feature
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