You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using Assert.ThrowsException or Assert.ThrowsExceptionAsync and failing throws an AssertFailedException exception where the Message property contains "Exception Message: <the message>" and the "Stack Trace: at <stack-trace>"
Expected behavior
The exception's Message property should only include the fail message (like any other assertion method in mstest)
Actual behavior
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
In the following method the exception fails and throws
AssertFailedException
.The exception message
Steps To Reproduce
using
Assert.ThrowsException
orAssert.ThrowsExceptionAsync
and failing throws anAssertFailedException
exception where theMessage
property contains"Exception Message: <the message>"
and the"Stack Trace: at <stack-trace>"
Expected behavior
The exception's Message property should only include the fail message (like any other assertion method in mstest)
Actual behavior
Additional context
The text was updated successfully, but these errors were encountered: