Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
ReflectionOnlyAssemblyResolve error during build
Hi, thanks for posting! I'm glad you managed to find the cause of this issue. Because NCrunch runs builds via the command line tooling, it wouldn't be injecting an override for this property in the same way that Visual Studio does. I'll see what I can do about introducing an override for this i…
06 Jul 2012 03:58 UTC
-
Huge Memory usage
Great to hear! I have heard reports that the build runners tend to progressively increase their memory utilisation over time on some solutions. If this happens to you, just kill the BuildHost EXEs and they should recycle and carry on. I have a task logged to look into what is causing the leak i…
06 Jul 2012 03:49 UTC
-
Huge Memory usage
Hi Rammesses, Thanks for posting! Looking at the EXE names of the task runners, it looks as though you aren't making use of the new hosted task runners. Are you running the latest version of NCrunch? 1.40b includes some fixes specifically focused on reducing memory utilisation.
05 Jul 2012 01:23 UTC
-
Feature requests
Hi, thanks for posting! This is an excellent list of suggestions. Much of what you've described is in the backlog already, but I do see a couple of new gems in there. Thanks for your help, I'll see what I can do. Cheers, Remco
05 Jul 2012 01:21 UTC
-
Build failed with "SpecificVersion=True"
Hi, thanks for posting! At the moment NCrunch doesn't consider this option, so it will be stripped out of the assembly/project reference in the .proj file that NCrunch constructs in order to build your project. With the current version of NCrunch, I'm not sure of any way you can work around this…
05 Jul 2012 01:19 UTC
-
File not found exception
Hi, Yes, your assumption is correct. NCrunch should normally identify the file as being a part of the project, and copy it to the workspace so that the tests can run as usual. It's possible that the markup being used to include this xml file in the .proj isn't being recognised by NCrunch and …
05 Jul 2012 01:13 UTC
-
Liveness extended with enabled timing
It's taken a while, but I've finally managed to get to the bottom of this issue after unintentionally reproducing it. It seems that the .NET 4.5 installer introduces a subtle change in the garbage collection behaviour of the CLR, which affects not only .NET 4.5 but also other installed versions o…
04 Jul 2012 22:28 UTC
-
vbc.exe issue on build
What happens if you try running MSBuild.exe directly against the project as it exists in its original project directory? (i.e. outside the workspace). Do you receive the error when you do this? Is this a project that you're able to share in any capacity? I can probably be of much more help if I…
04 Jul 2012 00:11 UTC
-
MbUnit SetUp method not being run when it is an override and base also marked SetUp
Thanks. I have a feeling that this issue may be related to cross-assembly resolution during test discovery (which is something that NCrunch does handle slightly differently to other test runners). It would be great to hear if moving the base class makes any difference for you.
04 Jul 2012 00:06 UTC
-
Could not load file or assembly error, unittest project not build
Thanks, glad you managed to work it out! And nice going for removing the private accessors. They are problematic for reasons far beyond NCrunch.
03 Jul 2012 23:42 UTC
-
Unimplemented tests in MSpec treated as failed
Hi Jeff - There are conflicting views on what should be the correct behaviour of NCrunch in this specific situation. A [url=http://forum.ncrunch.net/yaf_postst255_MSpec-empty-tests-should-be-reported-as-FAILED-not-PASSED.aspx]previous forum thread[/url] should hopefully provide some more details…
03 Jul 2012 09:39 UTC
-
Excessive shadow copies of solution assemblies
Hi Bob, Thanks for posting! This is definitely not normal behaviour. There have been reports of an intermittent issue that can result in DLLs being somehow built or copied to the root directory of a solution or project directories underneath it, but this is the first time I've heard it landing …
03 Jul 2012 09:04 UTC
-
Go to selected test doesn't work for MSpec
Hi Jeff, Thanks for posting! Do you experience this problem with all tests? Does it also happen for other test frameworks on your system? Also, does it appear to be specific to any one solution, or all solutions you use NCrunch on?
03 Jul 2012 09:02 UTC
-
Issue with NUnit SetUpFixtureAttribute
Hi, thanks for posting! Up until now, I haven't heard reports of this problem resurfacing. Can you provide any details of how you are using SetupFixture? Note that NCrunch will never show code coverage inside the SetupFixture code as it has no active test to associate them with.
03 Jul 2012 09:00 UTC
-
vbc.exe issue on build
Hi, thanks for posting! This is the first time I've seen this issue reported, and the error message does appear most unhelpful. Are you making use of any build customisations or 3rd party frameworks that may interface with your build process? Something that may be worth trying is to attempt t…
03 Jul 2012 08:55 UTC
-
Could not load file or assembly error, unittest project not build
Hi, thanks for posting! I wish I could give you a better solution than needing to enable the 'Copy referenced assemblies to workspace' option (which you've already discovered), but unfortunately there is a very solid technical limitation around the way that MSTest accessors work during the build …
03 Jul 2012 08:48 UTC
-
Tests with custom ExpectedException attribute are failing
Sorry, but right now it doesn't look likely that support for custom ExpectedException attributes will be added in the near future. Very few users make use of these, and the effort required to reliably implement them is considerable (they are very tightly integrated in the MSTest framework). I wish…
03 Jul 2012 08:42 UTC
-
Path.GetFullPath not returning consistently with MsTest or resharper test runners
Thanks. This suggests that NCrunch is setting the AppDomain base directory correctly, though the question is how this is not being recognised by your existing code. Would you be able to share any of the code you're using to identify the working directory of the test? My original thoughts were t…
03 Jul 2012 08:33 UTC
-
Just Installed, All Test Markers Stay Black. No Testing
Thanks for trying this. Can you share any details about the setup you're running? Which test framework are you using? Do you have an existing test runner that you make use of right now? Beyond this, the next thing we need to do is to identify whether this issue is specific to the solution you'…
03 Jul 2012 08:29 UTC
-
Path.GetFullPath not returning consistently with MsTest or resharper test runners
Hi Johan, NCrunch should normally set the AppDomain.CurrentDomain.BaseDirectory to be equal to the build output directory. Can you try the following test with NCrunch and let me know of the result that it gives you? Thanks! [code=csharp]using System; using System.IO; using Microsoft.Visual…
02 Jul 2012 04:17 UTC