Hi,
I updated NUnit references in my test proj ect from version 2.6 to 3.4.1 and I get the following error in the DXCore test output:
Testing started:
System.MissingMethodException
Method not found: 'NUnit.Framework.Interfaces.ITest NUnit.Framework.Api.NUnitTestAssemblyRunner.Load(System.Reflection.Assembly, System.Collections.IDictionary)'.
No tests found.
Duration : 2.21967516510678
I tried using both NUnit MSI installer and Nunit.Runners nuget package. Neither works.
Is this the same issue as with the Roslyn version https://www.devexpress.com/Support/Center/Question/Details/T277984?
If so are there any plans to fix it?
Thanks.
Hi Mariusz,
Thank you for pointing out this issue to us. At the moment, CodeRush Classic Unit Test Runner doesn't support NUnit 3.4 test framework. We are working on it and will notify you as soon as we make any progress.
As regards CodeRush for Roslyn, NUnit 3.4 support is implemented in this product in the context of the following ticket: NUnit 3.4 integration doesn't work. The last published release that is available for download in the Visual Studio Gallery contains this fix.
Thanks for taking care of that.
I was able to use NUnit 3.2.1 instead and I will be using it until the fix is released.
DevExpress: You may find information from this NUnit issue report helpful: https://github.com/nunit/nunit/issues/1665
I had a similar problem with NCrunch recognizing some of my tests. They pinned it down to a change in the XML NUnit returns, particularly in regards to test inheriting from a base class in another assembly.
The NCrunch team was able to fix their software over the weekend and release an update.
Hi Ben,
Thanks for providing a link to the NUnit issue report. CodeRush Unit Test Runner uses a different way to interact with NUnit test framework than NCrunch. Therefore the information from this report is not related to the initial issue of this ticket. Anyway, let me thank you for sharing this information with us.
We have already addressed this problem and implemented the NUnit 3.4 support in CodeRush Unit Test Runner. I suggest you download and install the following hotfix: DevExpressCodeRush-16.1.4.16203.exe.
Please let us know if you have any issues with NUnit 3.4.