Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
very long time to build new workspace - possibly the cause is nuget
For anyone interested, the recently released v1.39b contains a fix that should greatly reduce the disk consumption of solutions that are using Nuget.
20 May 2012 23:29 UTC
-
NCrunch Build Failing With RamDisk + NuGet Enable Restore
For anyone interested, the recently released v1.39b contains a fix that should greatly reduce the disk consumption of solutions that are using Nuget.
20 May 2012 23:27 UTC
-
Enable NCrunch menu option is disabled
For anyone interested, the issue described above (devenv.exe left hanging) was caused by a random deadlock on exit of VS and has been fixed in the most recent release of NCrunch (1.39b).
20 May 2012 23:24 UTC
-
MSTest - NCrunch doesn't fail on multiple TestInitialize
Hi James, Thanks for reporting this. It's of no surprise to me as NCrunch's test runner only emulates MSTest behaviour rather than integrating with it directly. I expect there will be other similar misalignments, though right now I'd prefer to avoid adding many of these constraints to the NCrun…
20 May 2012 23:12 UTC
-
nuget-installed ninject.extensions.factory fails under ncrunch
Hi James - I believe so. I'm not familiar with this framework myself but based on the comment of the author my expectation is that it is loading assemblies into the app domain dynamically, with the expectation that they exist in the same directory as the executing DLL. Have a look [url=https:…
20 May 2012 20:27 UTC
-
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