-
Notifications
You must be signed in to change notification settings - Fork 266
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
Migrate from NUnit 3 to NUnit 4 #783
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thank you! @Romfos
I'm sorry, I stopped following .NET development. What is the general recommendation regarding NUnit.Framework.Legacy
and ClassicAssert
? Do we need to migrate them to the newer API?
@@ -6,7 +6,7 @@ | |||
</PropertyGroup> | |||
|
|||
<ItemGroup> | |||
<PackageReference Include="BenchmarkDotNet" Version="0.13.10" /> | |||
<PackageReference Include="BenchmarkDotNet" Version="0.13.12" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks unrelated to NUnit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, this related to Update nuget packages for test projects
@@ -1,6 +1,7 @@ | |||
using NSubstitute.Exceptions; | |||
using NSubstitute.ReceivedExtensions; | |||
using NUnit.Framework; | |||
using NUnit.Framework.Legacy; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is needed for StringAssert
It looks like Lines 164 to 166 in e67780b
|
need to be checked after #776 merge |
I was not able to find recommendations for now, but this looks like temporary solution for migration from v3 to v4. |
|
Indeed, but IMO that could be another PR and this one could be merged |
Thanks for this @Romfos ! And thanks for the reviews @alexandrnikitin and @304NotModified 🙇 |
Changes:
note: no changes in product, no need to release new nuget package