Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Failing Tests - PostSharp
Hi, I'm not too familiar with the mechanics of Devforce or Postsharp, but is it possible that the Postsharp manipulation happens on a post build event? NCrunch will turn off post build events by default (as they often give interference on NCrunch builds for many projects). Try turning them on f…
01 Jun 2012 22:20 UTC
-
Can't find 'Void System.Int32[,].Set(Int32, Int32, Int32)'
Hi, thanks for sharing this. It looks like the instrumentation can't properly handle a method that returns multidimensional arrays. This should be very fixable. A workaround may be to turn off instrumentation for the project containing this method, or look at another way of expressing this return…
01 Jun 2012 22:17 UTC
-
Coverage shows black when tests cover code
Hi Maz - I had a bug report come through last night (was it from you?) that showed an exception being thrown in the mapping process. Somehow there is a misalignment between what NCrunch *thinks* is the content of your source file, and the data that's coming back from the test process. I haven…
01 Jun 2012 22:16 UTC
-
Coverage shows black when tests cover code
Hi Maz, Can you tell me anything specific about the two files that are affected? Do you often make changes to these files? Is there anything about them that could be considered unusual? Also, does the problem go away if you use the Reset button and wait for the tests to re-run? Cheers, …
01 Jun 2012 11:02 UTC
-
Enable NCrunch Disabled / Expired Version?
I fully take your point. Usually I try to space the expiry dates as far as possible so that no one will ever see the expiry message, as this gives a bad experience and (in your case) can cause problems if a new version isn't accessible. I'll try to improve on this in future. Again, I'm sorry for …
01 Jun 2012 10:59 UTC
-
Enable NCrunch Disabled / Expired Version?
Hi, You can solve the expiry issue by downloading a later version. Most likely the version you've been running is quite old. NCrunch will usually pop up with messages to let you know when a new version is available. I'm sorry if the timing was bad for you. Cheers, Remco
01 Jun 2012 10:24 UTC
-
Coverage shows black when tests cover code
Hi Kris, Make sure your test project is referencing the project under test through the use of a <ProjectReference> tag in the .proj file, and not using a <Reference> to the project's output DLL. This is called a 'lost reference' and it prevents NCrunch from knowing about the relationship between…
31 May 2012 21:16 UTC
-
Support Visual Studio 11 Test executable (VSTest)
Hi Marc, Thanks for posting! Yes, NCrunch will need to support MSTest's async tests. This will be done with some additional work to bring NCrunch up to speed with VS11 in the long term. Likely this will be done without the 'vstest.console.exe' though - as NCrunch requires greater control over t…
31 May 2012 21:12 UTC
-
Test metrics
I suspect the answer may involve a bit of both. I've had a few people noting the lack of support for MSTest's code coverage control attributes.
31 May 2012 21:08 UTC
-
Hyperlinks in test failures point to NCrunch copy of the file
Hi Kaleb - Yes - this makes sense. The instrumentation step is also responsible for rewriting the assembly so that the links will point back to the original source code. Thanks for reporting this issue.
31 May 2012 21:06 UTC
-
Very long initalization time
Thanks for sharing this. None of this looks particularly unusual except for the large generated files. Do you notice much of a difference in the pausing/lockups if one of the large generated files is open? I have a feeling that keeping the 11k line document open while NCrunch is running may be th…
31 May 2012 08:41 UTC
-
NCrunch erroneously detecting project build failure
Hi Kaleb - Right now VC++ isn't officially supported by NCrunch - there is still more testing and fixing to be performed before I feel confident saying that these projects will work without a hitch. However, there's a chance we can still get this to work for you. Most likely the error informati…
31 May 2012 04:37 UTC
-
Very long initalization time
Hi Marqus, Checking through the log file, it looks like this could be a performance problem that is causing the engine to seize up. Can you tell me a bit more about the solution/situation you're working in? Particularly I'm interested in: - A rough number of files/documents you have open i…
30 May 2012 21:11 UTC
-
Build failure - no space before base class
Hi John, Thanks for sharing the news! I have a fix pending that should further strengthen the error handling around workspace creation, so if this issue still exists, it won't be around for much longer. If NCrunch is fixing the build errors without you needing to prompt it, then most likely this…
30 May 2012 20:56 UTC
-
IL Injection
Hi, This is due to the instrumentation that NCrunch introduces in order to analyse code coverage at runtime. You can turn off instrumentation in your NCrunch project configuration, but note that by doing this you will lose code coverage for the entire project. My suggestion would be to use an "…
28 May 2012 03:31 UTC
-
Source code
Thanks for your interest, it's always great to hear from people that are interested in helping with NCrunch and contributing to the project, but right now NCrunch is currently free closed source software and there are no plans in motion to open source it. The best way to help right now is to cont…
28 May 2012 02:38 UTC
-
Source code
Nope.
28 May 2012 02:23 UTC
-
feature suggestion: discover/recognise NUnit's TestCase attributes
Hi MM - If you manage to recreate the issue, can you push through a bug report? I suspect this may be a more subtle issue than the analysis type for the framework. Cheers, Remco
27 May 2012 23:36 UTC
-
The very large catch
Hi Dan - Nothing is confirmed yet. But if there is a price, you can be sure it will be a fair one (and not $10k). Cheers, Remco
27 May 2012 00:52 UTC
-
"Undo" isn't regarded as a change?
Hi, thanks for posting! Undo operations are considered the same as any other change to a source file, so it's far more likely that the change you made landed in an area that the impact detection didn't properly detect. Right now impact detection will only work for tests that actually have coverage…
26 May 2012 22:27 UTC