Closed alfredo-chv-globant closed 5 years ago
I'm interested to know which version of nunit.framework
you're using?
Could you try changing it to v3.4.1
and see if that works?
Hi!
As per my packages.config
, I'm using NUnit 3.4.1 already. When I included the NUnitTDNet, the actual reference in my project changed to the directory containing the NUnitTDNet package, which I think also contains NUnit 3.4.1 or so says the NuGet description.
Wow! I got news! I don't know why but today I clicked on "Test With > Debugger" and bingo! After a few seconds all the tests ran! Then I tried "Test With > In-Proc (VS SDK)" which did nothing:
0 passed, 0 failed, 0 skipped, took 0.54 seconds (NUnit 3.4.1).
But then I tried simply "Run Test(s)" and voila! Everything seems to work now!
I've restarted my PC a couple of times and opened/closed VS many many times, but that never seemed to change anything. I'm still scratching my head here.
This is completely horrible. After a few times of everything working like a charm, I'm back at square 1. It seems like Test Explorer and TestDriven.NET are interacting in some weird ways:
========== Run test finished: 0 run (0:00:01.2050366) ==========
or something similar. When that happened, I could launch TestDriven.NET from the editor's context menu and it'd run my tests without a problem.=== ERROR IN TEST RUNNER: NUnit {0}.{1}.{2} ===
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Method 'get_TargetFramework' in type 'NUnit.Engine.Extensibility.ExtensionNode' from assembly 'nunit.engine, Version=3.5.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb' does not have an implementation.
Gee... too bad... this used to be such a nice tool not so long ago...
I'm trawling through some closed issues. Did you ever discover what was going wrong here? I haven't had any similar reports. 😕
Hello, I haven't been able to download the MSI installer from testdriven.net, so I tried downloading the Visual Studio extension from this site:
https://marketplace.visualstudio.com/items?itemName=JamieCansdale.TestDrivenNet
However, I've been unable to make it work. Every time I try to run anything I get the following error message:
this is my packages.config file contents:
Is there something else I'm missing? My tests run perfectly under VS' Test Explorer, only thing being that I really hate that gadget! ;)