I am using .NET 8.0 for my test project with Xunit
, Snaphooter
and Moq
NuGet packages.
I have noticed that then running my tests the pass but when I start them via Debug I get a failed result.
How can I make the results for running and debugging test match?
3
Error found – when initiating new ExcelPackage this error was thrown
Please set the ExcelPackage.LicenseContext property. See https://epplussoftware.com/developers/licenseexception
After visiting provided link decided to add NonCommercial license to appsettings as provided in the website.