nunit-2.6

Why are breakpoints in tests not hit?

左心房为你撑大大i 提交于 2019-12-25 03:55:23
问题 I have several NUnit tests in a test project that is part of a solution. I have a breakpoint in each test method. A "typical" one of these methods is: public void TestHHSInterface() { var HHSClient = IOC.container.Resolve<IHHSClient>(); var s = HHSClient.GetTestMessage("Duckbilled", "Platypus"); Assert.Greater(s.Value.Length, 0); } The tests run, as evidenced by what I see here: Is this normal that breakpoints are not hit? It seems that they are running, but that the results (passed 3, failed

NUnit extension does not work running tests through the NUnit GUI

北城余情 提交于 2019-12-25 01:55:12
问题 I have some problem to use both the NUnit Visual Studio Test Adapter and a framework extension class I've created. In particular my solution has 2 projects: the first one is a class library that contains some methods I must test and the second one is the test assembly. This assembly includes the extension class (I don't add the related dll to the addin folder inside the NUnit program directory because that extension class has been created exclusively for this assembly) that I have created to