Does anyone know how to stop xUnit.Net from throwing a Xunit.SDK.TraceAssertException
when the code-under-test triggers a failing System.Diagnostics.Debug.Assert
?
I often use guards in DEBUG mode to alert other developers that they are using the API incorrectly. However, with xUnit.Net throwing this exception, it's breaking my unit tests.