-
Notifications
You must be signed in to change notification settings - Fork 438
New issue
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
Switch to NUnit v4 #7504
Switch to NUnit v4 #7504
Conversation
Will |
@LukaszRozmej That's a good question. It won't. Actually, as the |
Maybe we should add both? |
In some cases, yes. But our API doesn't support it. Modifying it would bring many cascading changes, which I'd like to avoid in this PR. Another issue is overkill with timeouts. Check this out, for instance. Why do we need a timeout there? There are a bunch of such examples. |
Changes
Migrated to NUnit v4:
Assert.<Method>()
assertions withAssert.That()
assertionsCollectionAssert
assertions withAssert
assertionsTestContext.WriteLine
withTestContext.Out.Write
TimeoutAttribute
withMaxTimeAttribute
Types of changes
What types of changes does your code introduce?
Testing
Requires testing
If yes, did you write tests?
Remarks
With this upgrade, the FluentAssertions package doesn't seem needed.