Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Add Pin/Unpin tests on assembly level
Hi Jon - The grouping I'm referring to is the dropdown option at the top of the Tests Window that lets you choose how you want the tree to be structured. This is a new feature in V2, so I'm sorry for the confusion if you're not running on this version yet. The problem you're experiencing with…
08 Jan 2014 23:51 UTC
-
Distributed test failure due to api execution error
Hi, thanks for posting. In theory, this should be as simple as updating the NCrunch Grid Node Service to allow it to interact with the desktop. After you've installed/setup the grid node, simply open up the windows services control panel and look for the service. Go to the service properties,…
08 Jan 2014 04:49 UTC
-
does not exist in the current context
Hi, At the moment, NCrunch has no way of handling such a debug evaluation. This is because keywords such as 'await' involve the creation of whole new structures of code at a metadata level. The instrumentation that NCrunch performs on the assembly skews with the 'magic' performed by Visual St…
08 Jan 2014 04:46 UTC
-
Add Pin/Unpin tests on assembly level
Thanks! This is helpful to know. What you've described does fit the intention of the design... I guess the only thing is that your situation does involve grouping of similar tests at higher level than fixture. When the namespace groupings were introduced in V2, the intention was to make these w…
07 Jan 2014 22:16 UTC
-
Add Pin/Unpin tests on assembly level
Hi, thanks for this feedback. Do you might if I ask how/why you're using the pinned test status? The original idea behind pinned tests was that they would be used fairly transiently. I'm wondering if there may be a larger feature gap here. Cheers, Remco
07 Jan 2014 00:28 UTC
-
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