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
Hi,
I am missing test output with stack traces for failed tests if Assert.Multiple is used. For running below example test fails in VS2022 (Test Explorer) but output not showing all required information about failures inside of Multiple assert scope but only single stack trace to the test itself:
Hi,
I am missing test output with stack traces for failed tests if Assert.Multiple is used. For running below example test fails in VS2022 (Test Explorer) but output not showing all required information about failures inside of Multiple assert scope but only single stack trace to the test itself:
[Test]
public void AssertMultiple()
{
Assert.Multiple(() =>
{
ValidateInteger();
Assert.That("a", Is.EqualTo("b"), "String");
ValidateInteger();
});
}
private void ValidateInteger() => Assert.That(1, Is.EqualTo(2), "Integer");
I've expect to see not single stack trace but 3 stack traces for 3 failures in single Assert.Multiple request which leads to failed assert.
This is a fallow up issue after creating issue #4129 nunit/nunit#4129 at Nunit and issue #1192 nunit/nunit-console#1192 at Nunit-Console and issue #907 TestCentric/testcentric-gui#907 at Test-centric. Please refer to the lined items for more details if needed.
The text was updated successfully, but these errors were encountered: