Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Errors building with SlowCheetah
Hi James - The update to the new version of SlowCheetah has changed the name of the directory NCrunch is referencing in order to find SlowCheetah's build tasks. You need to align your NCrunch configuration with the new directory name. Have a look at the [url=http://www.ncrunch.net/documentation…
16 Sep 2013 23:07 UTC
-
Possible to retry failed tests if particular regex(es) match output?
Hi Peter - From what you've described, the setup you're using should allow NCrunch to run these tests in parallel. Because the tests are always in separate processes and you're testing in-process, there shouldn't be any interference around the parallelisation of the tests. The randomisation of …
16 Sep 2013 09:46 UTC
-
Dlls dont update
Hi, thanks for posting! NCrunch is an automated testing tool and background build tool - it isn't designed to build projects for direct execution in IIS or in other applications. It is primary a test runner. This means that the files output from the NCrunch build are stored within a specially…
15 Sep 2013 23:28 UTC
-
NCrunch fails to build solution with deeply nested linked file
Hi Mike - Thanks for sharing this issue. The problem is caused by a structural limit in the file system that prevents file paths being longer than a fixed length. There is no way for NCrunch to automatically work around this as it needs to space files relative to their parent project in the w…
13 Sep 2013 21:52 UTC
-
Ncrunsh copies assemblies to Solution Dir and Root Dir of Web Application
Hi Daniel - Sorry, I don't think I explained this very well .. the files actually aren't supposed to be copied at all - they shouldn't even be in your commit list. There are things you can do to prevent this bug from showing. The link shown above contains a post giving step by step instructions…
10 Sep 2013 23:29 UTC
-
Ncrunsh copies assemblies to Solution Dir and Root Dir of Web Application
Hi, thanks for posting! Unless there is something specific in your build process or test code that is intended to copy files to these two locations, then this behaviour is not by design. There is a known issue with NCrunch where sometimes NCrunch builds can overlap with foreground builds in Vi…
10 Sep 2013 22:41 UTC
-
Issues building in nCrunch when using Task<T>
Hi, Thanks for sharing this issue. Does turning on [url=http://www.ncrunch.net/documentation/troubleshooting_compatibility-mode]compatibility mode[/url] make any difference for this? Is there any chance you could share a small reproduction of the issue through the [url=http://www.ncrunch.net/…
10 Sep 2013 10:27 UTC
-
Properties and false code coverage
Hi - I'm afraid that there are no firm plans yet on when this will happen, if it actually ever will happen. This is because the complexity involved in adding an extra dimension to the code coverage tracking is too high for this feature to be feasible. Currently no planned solution exists that…
06 Sep 2013 23:53 UTC
-
Give feedback for test in a collapse region
Hi, thanks for suggesting this! With the current design of NCrunch, this is structurally impossible (as NCrunch does not parse source code directly), but there may be opportunities to implement this in future. Other similar requests also exist for summary markers method and class signatures. …
05 Sep 2013 22:02 UTC
-
NCrunch gets sluggish after a while while devenv.exe having high cpu usage.
The stack trace above suggests there is a large amount of data being shown in the Tests Window. The Tests Window has a known performance issue where it can slow down the VS UI when trying to render lots of data. This can also have a knock-on effect where NCrunch is slow to handle data returned b…
05 Sep 2013 01:33 UTC
-
ExclusivelyUsesAttribute vs InclusivelyUsesAttribute
Hi David - Tests marked with InclusivelyUsesAttribute can still be run together if they are using the same resource. Tests marked with ExclusivelyUsesAttribute cannot be run together if they use the same resource. InclusivelyUsesAttribute is completely useless unless you use it in combinati…
04 Sep 2013 07:22 UTC
-
Support Machine.Specifications 0.5.16
Hi, Thanks for reporting this. The new MSpec introduced a change that broke the integration with NCrunch. I've prepared a new build to resolve this issue: [url=http://downloads.ncrunch.net/NCrunch_VS2013_1.47.0.2.msi]http://downloads.ncrunch.net/NCrunch_VS2013_1.47.0.2.msi[/url] [url=http:/…
04 Sep 2013 04:49 UTC
-
Generic Test passes under NUnity but not NCrunch
Can you confirm whether you have your [url=http://www.ncrunch.net/documentation/reference_solution-configuration_framework-utilisation-types]Framework utilisation type[/url] for NUnit set to StaticAnalysis? If so, this test will cause you problems. StaticAnalysis is slightly faster than DynamicA…
04 Sep 2013 00:21 UTC
-
Generic Test passes under NUnity but not NCrunch
Hi, thanks for sharing this issue. Is there any chance you could share the code for the ExpressionBuilder and GenericTestModel classes? If you like, you can submit this privately using the [url=http://www.ncrunch.net/Support/Contact]contact form[/url]. With these components I may be able to rep…
30 Aug 2013 23:21 UTC
-
XSLT stylesheet coverage
Hi, thanks for posting! I'm afraid that this just isn't possible with NCrunch. XSLT does not produce debug output in the form of a PDB, and does not compile into an IL form that supports instrumentation. Cheers, Remco
29 Aug 2013 23:27 UTC
-
System.Security.VerificationException: Operation could destabilize the runtime
Hi Dylan - Can you confirm whether you're using the latest version of NCrunch? I vaguely remember there being a recent fix for several situations that can cause this issue.. Something else to look for - do you have any other security related attributes defined in the project you're experienci…
28 Aug 2013 10:41 UTC
-
Which Configuration doe NCrunch use for tests?
Hi Mark - Thanks for the suggestion. At the moment, it is possible to create custom defines that exist for NCrunch, although this does need to be done in the project files themselves. For example: <DefineConstants Condition="$(NCrunch) == '1'">DEBUG;TRACE;MYDEFINITION</DefineConstants> …
27 Aug 2013 22:43 UTC
-
How can I accept all tests (make them green by default)
Hi, Thanks for posting! There isn't any way you can manually flag tests with a particular status in NCrunch. The only way for a test to be considered passing is for it to pass. If the tests are never supposed to be run in NCrunch, I recommend just [url=http://www.ncrunch.net/documentation/…
27 Aug 2013 08:41 UTC
-
NCrunchEnvironment UserInterActive (or Prioritized)
Understood - thanks for sharing the suggestion. I'll look into it and will see what I can do :)
26 Aug 2013 20:58 UTC
-
"Show coverage for Covering Test Only" gets out of sync after function rename
Hi Mark - Thanks for reporting this. NCrunch isn't able to track renaming of tests. As far as it's concerned, when you rename a test, you're effectively deleting a test and creating a new one. So for the moment, I think the only available solution to this is to stop showing test coverage for a…
26 Aug 2013 20:46 UTC