We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A new rule should be made that helps the user to convert from Assert.Multiple to Assert.EnterMultipleScope.
Also see issue #865
The text was updated successfully, but these errors were encountered:
Looking at https://docs.nunit.org/articles/nunit/writing-tests/assertions/multiple-asserts.html it is essentially changing
Assert.Multiple(() => { ClassicAssert.AreEqual(5.2, result.RealPart, "Real Part"); ClassicAssert.AreEqual(3.9, result.ImaginaryPart, "Imaginary Part"); });
into
using (Assert.EnterMultipleScope()) { ClassicAssert.AreEqual(5.2, result.RealPart, "Real Part"); ClassicAssert.AreEqual(3.9, result.ImaginaryPart, "Imaginary Part"); }
Sorry, something went wrong.
Assert.Multiple
Assert.EnterMultipleScope
mikkelbu
Successfully merging a pull request may close this issue.
A new rule should be made that helps the user to convert from Assert.Multiple to Assert.EnterMultipleScope.
Also see issue #865
The text was updated successfully, but these errors were encountered: