Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Issue when using conditional compilation symbols in linked file
Hi Yang, Thanks for sharing this! I was able to solve this problem by adjusting the NCrunch configuration for the test project, setting 'Use build platform' to x86. The core issue is that NCrunch doesn't make use of the settings in the Visual Studio Configuration Manager when building projects.…
01 Jun 2013 00:27 UTC
-
ncrunch can' t build at first time.
There shouldn't be any problems with running x86 processes on an x64 processor - so most likely it will be something else. I'm wondering if you'd be able to help with answering a few quick questions - this will help with narrowing down the cause of the problem: - Which version of Visual Studio a…
30 May 2013 22:55 UTC
-
ncrunch can' t build at first time.
Hi, thanks for posting! This issue appears when NCrunch tries to create a process in which to execute tests. In rare situations where the process completely fails to initialise, the invocation will time out. Is it possible that you've set up the test project or NCrunch to create an x64 testin…
30 May 2013 12:51 UTC
-
Copying files with custom build action
Hi David, The approach you have above is one of two ways you can solve this problem. The other option is to use the [url=http://www.ncrunch.net/documentation/reference_project-configuration_additional-files-to-include]additional files to include[/url] configuration option. This would probably b…
28 May 2013 22:33 UTC
-
NCrunch does not honor CopyLocal settings in project file.
Hi, Thanks for sharing this issue. NCrunch currently doesn't acknowledge the Private properties as assigned to reference elements in the build script - I'll make a note to include a future fix for this. I can't think of any workaround that will prevent NCrunch from removing these properties f…
27 May 2013 11:30 UTC
-
Testlocation with DeploymentItem inconsistent
Hi Matt - If you're experiencing consistent behaviour in this situation, it's quite likely your experiencing a different problem. Make sure that you've made NCrunch aware of the files that need to be copied by adding them to the [url=http://www.ncrunch.net/documentation/reference_project-confi…
25 May 2013 01:30 UTC
-
NCrunch gets sluggish after a while while devenv.exe having high cpu usage.
Something that may happen is that the closing of the windows takes a while to kick in, because the engine is already overloaded before this happens and it will take a while to register that the windows have been closed. Until then, the lagged processing will continue until it has cleared the backlo…
25 May 2013 01:16 UTC
-
Make NCrunch's NuGet package support Portable Class Library
Thanks for reporting this one! I'll make sure it gets addressed with the compatibility improvements in V2. Cheers, Remco
25 May 2013 01:11 UTC
-
Is it possible to run each test in a separate process to prevent issues with mocked static methods?
Do you notice any difference if you set up NCrunch in [url=http://www.ncrunch.net/documentation/troubleshooting_compatibility-mode]compatibility mode[/url]? This would help to narrow down if the issue is being caused by NCrunch's environment, or something with TypeMock Isolator.
24 May 2013 03:22 UTC
-
NuGet2.5 native assemblies
It's interesting that NCrunch isn't picking up the native assemblies using its normal reference resolution. Is it that these assemblies are co-located with other files needed for them in order to run? A lower maintenance but more expensive (performance-wise) way to handle this would be to include …
23 May 2013 21:36 UTC
-
NCrunch gets sluggish after a while while devenv.exe having high cpu usage.
Thanks - this narrows the issue down significantly! It looks as though the step in question is part of the mapping routine where NCrunch synchronises the data from the engine and prepares it for display in the editor window. This has already been identified as a performance issue in V1, but beca…
22 May 2013 23:14 UTC
-
Second line of multi-line statement reported as uncovered
NCrunch works fairly low-level in its collection of code coverage information, which can sometimes create ambiguity around LINQ statements - there's some more information about the difference between physical and logical test coverage [url=http://www.ncrunch.net/documentation/troubleshooting_missing…
22 May 2013 11:59 UTC
-
Some way of locating test "under cursor" in test window
Normally, the Hot-key combination "Ctrl+M, P" should pin the covering test to the Tests Window, while also setting focus on it. It was part of the intention of the pinned test feature that it could be used for just this reason. Unfortunately, after trying it with active tests shown in the list, it…
22 May 2013 09:39 UTC
-
NCrunch gets sluggish after a while while devenv.exe having high cpu usage.
Hi, Thanks for sharing this issue. When NCrunch becomes unresponsive (and the CPU usage starts to stay high), do you notice any general slowdown in other activities in the IDE? For example, are you able to scroll around your source code, making changes, opening files, etc? If the IDE is stay…
22 May 2013 09:35 UTC
-
Is it possible to run each test in a separate process to prevent issues with mocked static methods?
Hi, thanks for posting! NCrunch won't ever run tests concurrently within the same process, but it will re-use processes between execution runs. Traditional serial test runners don't do this, so not all tests have been engineered to consider it. Broadly, there are two ways to do what you're aski…
22 May 2013 06:50 UTC
-
Entity Framework Integration Tests - Cannot Drop Db, because it is currently in use
Hi Dwaldo, Thanks for posting! I'm glad you've been enjoying NCrunch and I'm sure we can solve this problem. There was a user that posted with a very similar issue a while back - you may want to have a read: [url=http://forum.ncrunch.net/yaf_postst527_StructureMap-issue-AssemblyInitialize.aspx]…
21 May 2013 22:40 UTC
-
Terminate test runners without "resynchronize" ?
Hi, State corruption from failed tests is a fairly common problem, although it is quite a difficult one for NCrunch itself to handle (as NCrunch cannot make safe assumptions about the workings of your source code). The first thing I would suggest is to try and find a way to solve this problem in…
17 May 2013 22:40 UTC
-
Intermittent build error with ANTLR 3
Thanks for sharing the sample code. It took quite a bit of digging through this sample and the Antlr3 source code to finally figure this out. It seems that Antlr3 has been designed in the assumption that the process executed to host the build will only be used once for a single build, before bei…
14 May 2013 00:28 UTC
-
ExpectedException in mstest not being captured when it is marked as async Task.
Hi Josh, Thanks for sharing this issue. After a quick test I've concluded that NCrunch's handling of the ExpectedException attribute within MSTest2012 doesn't work correctly with the new async behaviour. I've logged this down to be fixed in the next maintenance release. Meanwhile, I suggest wo…
13 May 2013 23:29 UTC
-
Intermittent build error with ANTLR 3
Ok - so there is some difference in the NCrunch build environment that is causing this problem then. Try changing the [url=http://www.ncrunch.net/documentation/reference_project-configuration_build-process-cpu-architecture]Build process CPU architecture[/url] for this project to x64 to see if tha…
12 May 2013 22:47 UTC