Problem:
Azure DevOps pipeline was not executing XUnit tests
Solution:
The pipeline was running on a machine where no versions of Microsoft Visual Studio were installed.To solve the issue, we had to:
- add a VisualStudioTestPlatformInstaller task to the pipeline
- add the xUnit.runner.VisualStudio nuget package reference to our unit test project.