Skip to main content

Comments

5 comments

  • Dominique BOYER

    Hello, I am already using NUnit 4 for a while without any issues so I suppose it is OK

    0
  • Zyranau, Ivan

    Huh, I assumed it would be incompatible after reading this from NUnit documentation:

    ```

    NUnit 4.0 has a few breaking changes making it neither binary nor source code compatible with NUnit 3.14.0

    If your code doesn't call nunit asserts directly but uses a local NUnitExtension library or a 3rd party one then that dependency needs to be upgraded before you can upgrade your own code.

    If the library is not NUnit 4.0 compliant, you will get error messages like:

    System.MissingMethodException : Method not found: 'Void NUnit.Framework.Assert.That(!!0, NUnit.Framework.Constraints.IResolveConstraint, System.String, System.Object[])'.

    ```

     

    Thanks for confirming! I will try upgrading it and see for myself.

    0
  • Zyranau, Ivan

    We are using Specflow.NUnit 3.9.74 library which has a dependency on NUnit 3.13.1 package. Are you sure using NUnit 4 library won't potentially have any runtime issues?

    0
  • Dominique BOYER

    I am using Specflow packages in beta version 4.0.31.

    It is really stable, you can use it.

    0
  • Zyranau, Ivan

    Yes but SpecFlow.NUnit 4.0.31-Beta (or any latest beta packages) still depend on NUnit 3.13.1, this is why I'm asking. I don't see any Specflow packages (neither stable nor beta) that are targeting NUnit 4.

    0

Please sign in to leave a comment.

Powered by Zendesk