Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Mac running Parallels Win 8.1 VS 2014 can't initialize
Hi Chris - It looks like NCrunch isn't able to process paths from a UNC root. '\\psf' fails, though '\\psf\myfiles' should work. I recommend moving the files to work around the problem. I've noted this down to see if I can introduce a fix for it in the next beta build. Thanks! Remco
07 Jan 2014 00:24 UTC
-
The current SynchronizationContext may not be used as a TaskScheduler.
Hi, thanks for sharing this issue. NCrunch doesn't perform any special actions on the SynchronizationContext. Can you share any details around which test framework you are using? Do you also experience this problem with any test runner other than NCrunch? NCrunch can introduce a different ex…
03 Jan 2014 22:43 UTC
-
NCrunch.OriginalSolutionPath vs NCrunchOriginalSolutionDir
Hi, thanks for sharing this. The documentation page above provides information on environment variables/properties that can be accessed during a project's build. The test run-time equivalents of these environment variables are used by the [url=http://www.ncrunch.net/documentation/reference_run…
03 Jan 2014 22:39 UTC
-
data directory relative to SolutionDir
Hi - Yes, the answer is to use the [url=http://www.ncrunch.net/documentation/reference_runtime-framework_environment-class]NCrunchFramework.GetOriginalSolutionPath[/url] method to obtain the original path to the solution. In theory, you can also include the datafile in the [url=http://www.ncrunch…
03 Jan 2014 22:32 UTC
-
Code Coverage doesn't update on full rebuild.
Thanks for the feedback. I'm glad it's an improvement for you. I may also be able to suggest another way to narrow your metrics - by using [url=http://www.ncrunch.net/documentation/concepts_ignored-tests]ignored tests[/url]. If you right-click on your legacy test project and choose to ignore al…
02 Jan 2014 11:50 UTC
-
Processing Time column in Tests window aggregate.
Hi, thanks for sharing this. I can see the annoying limitation here. The Processing Time column is actually a massive over-simplification of several important data elements. It simultaneously represents the 'expected processing time' and the 'actual processing time'. On fixtures, it will repor…
01 Jan 2014 23:09 UTC
-
Code Coverage doesn't update on full rebuild.
Hi, thanks for reporting this issue. I suspect this may be a hole in the synchronisation around the changing of the 'Ignore this project completely' setting. When this setting is turned on, NCrunch will completely avoid loading the project and analysing it for tests, but the solution state for t…
01 Jan 2014 23:01 UTC
-
Assembly level attributes
Hi Bob - You'd use this the same way as other attributes that are specified in AssemblyInfo.cs, for example: [assembly: NCrunch.Framework.ExclusivelyUses("ResourceName")] .. This can be applied in any .cs file, but I'd recommend AssemblyInfo.cs as this is more conventional in C#. Cheer…
31 Dec 2013 23:19 UTC
-
Build failed with "SpecificVersion=True"
Thanks Keith! I have a feeling that this issue is nested pretty deeply in your solution structure and it may take some digging to bring it out. Let me know as soon as you have any code you can send me to make it happen. The .csproj file you'll find in the NCrunch workspace is designed to be bui…
31 Dec 2013 06:39 UTC
-
Exceptions in tasks
Hi, thanks for posting! NCrunch's behaviour around background exception handling is specific to the test framework you're using. The framework itself decides what to do with the exception - in most cases reporting it in such a way that NCrunch will fail the test. My understanding of the TPL i…
27 Dec 2013 22:50 UTC
-
Build failed with "SpecificVersion=True"
Thanks Keith - this is starting to make more sense now. When NCrunch analyses your solution, it traverses the relationships between projects and stores them as part of its working model. These relationships are then simplified into assembly references inside NCrunch's workspaces. You'll notice …
27 Dec 2013 11:49 UTC
-
Massive performance difference when using ncrunch
Great stuff! Thanks for letting me know, and I wish you a great new year :) Cheers, Remco
27 Dec 2013 05:43 UTC
-
Massive performance difference when using ncrunch
Hi, thanks for posting! This is probably being caused by the added weight of NCrunch's instrumentation. There are several ways you can solve this, although they all involve making some trade off. [url=http://www.ncrunch.net/documentation/considerations-and-constraints_heavily-executed-code-unde…
25 Dec 2013 23:08 UTC
-
Issue with TypeCatalog only under NCrunch
Hi, I've prepared a build containing a fix for this issue. It's a V2 build - I hope that's ok. Download links are below: [url=http://downloads.ncrunch.net/NCrunch_VS2012_2.3.0.14.msi]http://downloads.ncrunch.net/NCrunch_VS2012_2.3.0.14.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_V…
24 Dec 2013 06:26 UTC
-
Build failed with "SpecificVersion=True"
Hi Keith - Can you share any more details about how you are making use of SpecificVersion? Are you using this for a project reference? Right now NCrunch considers SpecificVersion when it loads projects, then stores the appropriate assembly reference for later use when building the project. I…
24 Dec 2013 06:22 UTC
-
File not copying
Argh! Worst possible scenario. I suspect this is sequence related then. It is probably dependent upon other tests that have been executed before it in the NCrunch pipeline. I suggest parking the issue until it happens again. There is a high probability that it will come back. If it does, plea…
22 Dec 2013 23:43 UTC
-
File not copying
Ok, so somehow, NCrunch isn't detecting this attribute. Can you confirm whether the namespace for the attribute is Microsoft.VisualStudio.TestTools.UnitTesting.DeploymentItemAttribute? Also, is there any chance you could submit a bug report right after you've run the test? Perhaps the log file wi…
22 Dec 2013 23:20 UTC
-
File not copying
Sorry - I thought I'd also just confirm where the DeploymentItem attribute is declared in your code. You say that this is in the fixture itself - in this do you mean the class declared with [TestClass]? Is there any inheritance involved?
22 Dec 2013 23:10 UTC
-
File not copying
Is the path SECFilingsTool.Tests\citationinfo.js valid when applied relative to the directory of your .sln file? I'm just checking this now with my test solution and it still seems to work with NCrunch... hopefully we can narrow down the point of difference. Do you have many tests that are relyi…
22 Dec 2013 23:09 UTC
-
File not copying
Right. I think we're getting closer here. MSTest in VS2012 has a legacy mode that it activates when making use of a testsettings file. The testsettings file allows the test adapter to perform its own shadow copying, creating the 'Deploy_***** DATE\Out\' directories that are used to run tests. …
22 Dec 2013 22:44 UTC