Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Partial coverage treated as no coverage? [1.39b]
Would you be able to share the line of code that's showing partial coverage? This will help me to identify whether it's something I'm able to fix. Thanks! Remco
20 May 2012 20:23 UTC
-
Indicators get confused over time [1.39b]
Hi Alan - This is caused by a problem in NCrunch's mapping algorithm that I've been trying to track down. I'm sure it will eventually come out in the works, but if you do find a way to consistently reproduce it please do let me know .. it's an elusive one! Cheers, Remco
20 May 2012 20:22 UTC
-
NCrunch locks folders
Thanks, I've been able to reproduce the problem perfectly using the steps you've described above. It looks as though the methods NCrunch is using to watch files are interfering with nested rename operations. I'll have a deeper look into this to see what I can do. Cheers, Remco
19 May 2012 11:11 UTC
-
Arbitrary executable as test runner
Hi Mauircio, Thanks for posting! It is possible to have NCrunch execute the code within your .exe, though you may need to change the way you are approaching the problem. If the .exe is launched into its own process (as is the normal behaviour with .exes), NCrunch won't be able to take control…
19 May 2012 00:34 UTC
-
Local variables unavailable when debugging
Hi Will, Thanks for posting about this issue and I agree that it's a cause for frustration. NCrunch does have a known issue at the moment around some of its manipulation of PDB files and this is known to cause some problems with the debugger, though I don't think this should be affecting local…
19 May 2012 00:28 UTC
-
NCrunch locks folders
Hi, thanks for posting and I'm glad your enjoying NCrunch! NCrunch will only perform builds and run tests within a workspace it has created for itself, so if you're experiencing file locking problems inside your solution, there is a high likelihood that you have absolute file path references some…
19 May 2012 00:17 UTC
-
Build failure - no space before base class
Hi John, I think your analysis is correct in that this issue is also being caused by race conditions between the script you're running and NCrunch's workspace construction. Have you noticed any further issues around NCrunch throwing build errors related to source files? Or does it now only seem…
19 May 2012 00:12 UTC
-
MissingMethodException when calling extension method
Nice blog post and thanks for the mention!
19 May 2012 00:00 UTC
-
MissingMethodException when calling extension method
Thanks, this helps a lot. I'll see what I can do about arranging a proper fix for this. Cheers, Remco
18 May 2012 06:25 UTC
-
MissingMethodException when calling extension method
Hi Jim, You've hit the nail on the head with the duplicate assemblies. The CLR tends to get confused if two assemblies with the same name are loaded into the App Domain, and in this situation it can be tough to know what is the correct answer - as the runtime code seems to depend upon both versi…
17 May 2012 22:10 UTC
-
code markers not showing up in 1.39b
Hi Dan, Thanks for posting and I'm glad you've been enjoying NCrunch! The problem you've described above is caused by Visual Studio failing to provide NCrunch with a pre-registered adornment layer. This is a problem that has been known to affect both NCrunch and other plugins seemingly at ran…
17 May 2012 09:22 UTC
-
MissingMethodException when calling extension method
I think what would be interesting is to try and find the assembly being resolved by NCrunch's test environment and find out why it's different to the one you've referenced. Try breaking into the code using NCrunch's debugging options and have a look at the list of modules loaded using your debugg…
17 May 2012 04:06 UTC
-
Never ending test execution
Hi - Thanks for reporting this problem. It looks to me like this is a localization issue where NCrunch is having difficulty parsing Czech exception strings. I'll see what I can do about getting this fixed in a future revision. Cheers, Remco
16 May 2012 23:25 UTC
-
Code Coverage not respecting ExcludeFromCodeCoverage
NCrunch uses a different mechanism for handling and excluding code coverage, so framework-specific attributes such as this one are not supported by the metrics view. If you wish to avoid aggregating metrics from certain areas of your source code, currently the only way to do this is to use the 'Exc…
16 May 2012 23:20 UTC
-
139b ... doesn't seem to honour machine.specifications.ignore attribute
Hi, thanks for reporting this problem. I've managed to reproduce this myself and can confirm that NCrunch is not respecting MSpec's ignore attribute. I'll make a note to fix this in an upcoming release. As a workaround, I suggest you also ignore your MSpec tests using the NCrunch Tests Window for…
16 May 2012 23:17 UTC
-
MissingMethodException when calling extension method
Hi Jim, Thanks for posting! I've just tried running your source code myself and it seemed to work without problems for me, so I suspect this is caused by something in your environment. Does the problem occur consistently for you? Or does a reset of the NCrunch engine rectify it? Make sure …
16 May 2012 23:11 UTC
-
new column in code coverage window
Hi, Thanks for the feedback. This is an easy column to add and it makes good sense - I'll see what I can do. Out of interest, what would you see as being the main usage purpose behind the window listing uncovered lines? My first thought would be that this could easily be established by lookin…
16 May 2012 06:39 UTC
-
1.39b is slugish
Thanks - I just saw your later post as I finished off my own. It does make sense that the first run-through would seem slightly longer, as 1.39b caches some additional information during its first trip through your codebase. If you continue to notice sluggishness, please let me know. This release…
16 May 2012 06:36 UTC
-
1.39b is slugish
Hi, Problems like this can be tough to track down sometimes. Do you mind if I ask a few questions to establish what is happening? - Are you working with the new Metrics view open? Note that keeping this view open does mean that NCrunch needs to keep it updated, so it will consume a bit more …
16 May 2012 06:34 UTC
-
acquihire?
Hi James, Thanks for sharing your thoughts on this. As the subject of your post sits quite close to home for me (i.e. the future of NCrunch), it's naturally not a very easy thing for me to comment on without opening such a topic up for public discussion, but I'll do my best. NCrunch itself wa…
16 May 2012 06:01 UTC