Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
disposer on testclass not run
[quote=vegar;10663]I've not been able to make the disposer run, but the TestCleanup method started doing its job as soon as I made it public :-) [/quote] Interesting. I wasn't aware that IDisposable was used by MSTest during cleanup. A quick check now confirms that MSTest does call this method…
20 Jun 2017 10:36 UTC
-
Multiple markers when renaming class with ReSharper
[quote=GreenMoose;10661]I have tried with 3.10.0.2 / vs2017 above and it seems to have resolved the issue for me! [/quote] Horray! Hopefully others here can also confirm if they still see the issue.
20 Jun 2017 08:25 UTC
-
TargetInvocationException
[quote=ericschmidt;10659]I tried your suggestion of debugging using the existing task runner project, but even that resulted in a passing test. I have noticed that our project has a "Abnormal runtime assembly reference resolution detected" warning that shows up. Is it possible that this is causing t…
20 Jun 2017 03:30 UTC
-
disposer on testclass not run
[quote=vegar;10657]The challenge about namespaces is that multiple test runs on multiple machines uses the same hosted mongodb. But pod was a good idea. In combination with machine name it should be a pretty safe strategy I guess - cause all tests run by ncrunch runs by same process? [/quote] N…
20 Jun 2017 00:13 UTC
-
disposer on testclass not run
Can you check whether the cleanup methods get executed during a debug run? NCrunch should hit breakpoints in these if you run the tests with a debugger. Note that MSTest is quite particular about syntax and structure with these sorts of methods. Guids are fine for namespaces as long as you have…
19 Jun 2017 22:39 UTC
-
disposer on testclass not run
Hi, thanks for posting! As with standard MSTest, NCrunch's MSTest adapter executes the TestCleanup and ClassCleanup methods on completion of the test and fixture accordingly (assuming these follow standard MSTest syntax). However, I don't recommend using these for critical cleanup steps. This i…
19 Jun 2017 22:19 UTC
-
NCrunch not showing coverage with NUnit TestCaseSource VS2017
Sorry for the wait. Give this build a try and let me know how you get on: [url=http://downloads.ncrunch.net/NCrunch_Console_3.10.0.2.msi]http://downloads.ncrunch.net/NCrunch_Console_3.10.0.2.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_3.10.0.2.zip]http://downloads.ncrunch.net/NC…
19 Jun 2017 22:09 UTC
-
Tests utilising Microsoft.AspNet.TestHost i.c.w. MVC Views fail in NCrunch
Ok, a fix for the latest reported issue here is now available. [url=http://downloads.ncrunch.net/NCrunch_Console_3.10.0.2.msi]http://downloads.ncrunch.net/NCrunch_Console_3.10.0.2.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_3.10.0.2.zip]http://downloads.ncrunch.net/NCrunch_Consol…
19 Jun 2017 11:05 UTC
-
Multiple markers when renaming class with ReSharper
Ok, I still haven't reproduced this problem, but I've had a go at fixing it. The fix involves a broad scanning system to try and find existing coverage bars and unmounting them every time a new bar is mounted. Because I have no way to know if this has solved the problem, I'm wondering if anyone …
19 Jun 2017 11:04 UTC
-
Two instances of VS2017 installed, NCrunch only install into one
VSIX have their own complications in terms of support and maintenance. The VSIX format is different between versions of VS, so we'd need a whole different install strategy for each different VS version. I expect there will also be limitations that will create trade-offs. These problems are pr…
19 Jun 2017 10:48 UTC
-
doen't run test with TestCaseSource
Hi Henrry, This code would work fine provided that there is no more than one test case with the same visible parameter line. I'm not sure if any of these types implement .ToString() to give any kind of variation on the test cases. You'll notice that if you get more than one test case here with …
17 Jun 2017 23:03 UTC
-
FSharp Expression causes compiler results not consistent across grid
It looks as though these expressions can have a broader footprint in the method structure than I originally thought. I have a broader fix in the pipe for this, I'll include this for you in the next dev build when this is available. I recommend sticking with using an 'Impact analysis mode' of 'Wa…
17 Jun 2017 03:33 UTC
-
Tests utilising Microsoft.AspNet.TestHost i.c.w. MVC Views fail in NCrunch
[quote=jp7677;10634]Thanks a lot. works perfectly for my scenarios. Though I have noticed that view compilation inside ncrunch still fails when one references other projects directly inside the views.[/quote] Thanks. I'll see if I can get this sorted in the next dev build.
17 Jun 2017 01:29 UTC
-
FSharp Expression causes compiler results not consistent across grid
Thanks, I'll take another look and will get back to you.
16 Jun 2017 23:42 UTC
-
doen't run test with TestCaseSource
Sorry, I'd need to see the full source of this test and an output of the test names to help give a better understanding of why this test is different.
16 Jun 2017 23:39 UTC
-
Tests utilising Microsoft.AspNet.TestHost fail in NCrunch
Some users have reported a few dependency problems related to AspNet.TestHost with the 3.9 build. There are fixes for this available in the build below, in case anyone else has been hit with this: [url=http://downloads.ncrunch.net/NCrunch_Console_3.10.0.1.msi]http://downloads.ncrunch.net/NCrunch…
16 Jun 2017 04:06 UTC
-
Tests utilising Microsoft.AspNet.TestHost i.c.w. MVC Views fail in NCrunch
A fix for this is now available in the build below: [url=http://downloads.ncrunch.net/NCrunch_Console_3.10.0.1.msi]http://downloads.ncrunch.net/NCrunch_Console_3.10.0.1.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_3.10.0.1.zip]http://downloads.ncrunch.net/NCrunch_Console_3.10.0.1.…
16 Jun 2017 04:05 UTC
-
Theory based tests doesn't execute on distributed processing nodes
A fix for this is now available in the build below: [url=http://downloads.ncrunch.net/NCrunch_Console_3.10.0.1.msi]http://downloads.ncrunch.net/NCrunch_Console_3.10.0.1.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_3.10.0.1.zip]http://downloads.ncrunch.net/NCrunch_Console_3.10.0.1.…
16 Jun 2017 04:05 UTC
-
FSharp Expression causes compiler results not consistent across grid
A fix for this is available in the build below: [url=http://downloads.ncrunch.net/NCrunch_Console_3.10.0.1.msi]http://downloads.ncrunch.net/NCrunch_Console_3.10.0.1.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_3.10.0.1.zip]http://downloads.ncrunch.net/NCrunch_Console_3.10.0.1.zip[…
16 Jun 2017 04:04 UTC
-
Compiler constant being ignored in .net core project
The build below includes a fix for this problem: [url=http://downloads.ncrunch.net/NCrunch_Console_3.10.0.1.msi]http://downloads.ncrunch.net/NCrunch_Console_3.10.0.1.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_3.10.0.1.zip]http://downloads.ncrunch.net/NCrunch_Console_3.10.0.1.zip…
16 Jun 2017 04:04 UTC