Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
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
-
NCrunchEnvironment UserInterActive (or Prioritized)
Thanks for the suggestion! Something you may wish to consider is implementing alternative tests that perform the opening of the generated file after executing the logic of the original test. You can mark these tests with a special category that you program NCrunch to ignore via a custom engine mod…
25 Aug 2013 22:14 UTC
-
Not running custom ExpectedExceptionAttribute with MSTest
Hi, thanks for posting! I'm afraid that NCrunch currently does not support custom ExpectedException attributes for the MSTest framework. This is due to limitations in the way that NCrunch is able to interoperate with this framework. Because NCrunch's MSTest adapter only emulates MSTest (rathe…
23 Aug 2013 23:21 UTC
-
Reactive Extensions and ReactiveUI tests failures
Hi Nisbus, Thanks for sharing this issue. Am I correct in my understanding that this test is executing code across multiple threads? I'm afraid that I have no knowledge of the how this framework behaves, although I suspect that this is a problem with the way the test is designed, rather tha…
23 Aug 2013 23:18 UTC
-
ExcludeFromCodeCoverage not working for anonymous method.
Thanks for sharing this. Physically, the lambda is in a completely different generated method, so I'm not sure how many options there'll be for fixing this ... But I'll see what I can do. Cheers, Remco
23 Aug 2013 06:10 UTC
-
SetUpFixture class hides errors
Hi, thanks for posting! It's been a while since I last caught up with Chris - I hope he's well, do tell him I said Hi! SetUpFixtures are a bit of a tricky spot for NCrunch, as they can't be associated with any one test in the suite - they are effectively global. This means that if a SetUpFixt…
23 Aug 2013 02:16 UTC