Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Ignore categories of tests
Hi, thanks for sharing this. Right now NCrunch doesn't have any ability to set ignore specifiers at category level. This was an intended feature of the V2 release, but it was axed when the complexity went through the roof. The ignore options DO work at category level inside the Tests Window, …
12 Jun 2014 22:20 UTC
-
Code Coverage not respecting ExcludeFromCodeCoverage
NCrunch does support this attribute at method level, but be aware that methods containing the following will likely be unaffected by the attribute: - Lambda expressions (contents of lambda will still be shown with code coverage) - Yield return (iterator) methods - ASync/Await methods This is…
11 Jun 2014 22:44 UTC
-
Remote server: "hanging" nCrunch.TestRunner at grid node after devstudio was closed
Unfortunately the only way to extract logs from a grid node server is through the standard logging options, which are disabled by default. It's not really a surprise to me that the node had trouble coping with an out of disk space scenario. The error handling in this area is very light, so there…
11 Jun 2014 09:50 UTC
-
NUnit Tests with TestCaseSource are failing
Hi, thanks for sharing this issue. Let's see if we can get a more descriptive error. In your global NCrunch configuration, set the 'Log Verbosity' to 'Detailed', then try running one of the failing tests. Open up the processing queue, then find the test task responsible for the test run you…
11 Jun 2014 05:35 UTC
-
Disable NCrunch for individual projects in a solution
I generally would recommend avoiding changing the .ncrunchproject file manually, as the settings in this file are driven by NCrunch's configuration window. If you can find the project under the NCrunch Configuration Window, it should be very easy to change the setting from there. The Configuration…
11 Jun 2014 04:07 UTC
-
NCrunch seems to occasionally lock folders in projects making the folders impossible to rename
There's a bit already in the next version ... so it's tough to make promises, but I'll see what I can do.
10 Jun 2014 23:25 UTC
-
NCrunch seems to occasionally lock folders in projects making the folders impossible to rename
Yes - this is a known issue. It is tied to the method NCrunch is using to watch for file changes inside these folders. The problem can be reproduced by attempting to rename a project sub-folder that contains other folders. It won't happen for folders that don't contain other nested folders. …
10 Jun 2014 23:01 UTC
-
Exclusively uses attribute seems to not be working
The processing queue window has a number of filters on the toolbar to control which tasks are shown in the view. I recommend turning on the 'Stopwatch' option and leaving the rest turned off, as this will make it possible to see which tasks are running at any one time. If you have the 'Exclusively…
10 Jun 2014 22:47 UTC
-
Disable NCrunch for individual projects in a solution
Yes! It did. Try the [url=http://www.ncrunch.net/documentation/reference_project-configuration_ignore-this-component-completely]Ignore This Component Completely[/url] project-level configuration setting.
10 Jun 2014 09:14 UTC
-
Remote server: Sluggish vstudio when using remote servers.
Thanks - I'll review the code around this window to see if I can spot anything that might cause poor performance. Let me know if you manage to get it happening again. I'd like to see if we can narrow it down further, perhaps to the content/activities inside the window when it occurs.
09 Jun 2014 09:03 UTC
-
Remote server: Sluggish vstudio when using remote servers.
How certain are you that the Distributed Processing Window is triggering the problem? Do you notice a clear pattern of the devenv CPU cores spiking whenever it's opened, then dropping whenever it's closed? Does removing any of the registered servers make any difference?
09 Jun 2014 07:48 UTC
-
Remote server: Sluggish vstudio when using remote servers.
5-10% might seem extreme, but this is not usually high enough to cause responsiveness problems like what you've been describing. I think there's a good chance this is related to memory consumption - probably the O/S is paging heavily and the extra I/O from this is interfering with normal operatio…
09 Jun 2014 07:15 UTC
-
Remote server: Sluggish vstudio when using remote servers.
Did you notice any activity using perfmon to check the garbage collections? The distributed processing window doesn't do much on the UI thread, but it may well contribute to overall memory traffic.
09 Jun 2014 06:46 UTC
-
Ncrunch Fody ContainsTypeChecker
I've pinged Simon Cropp (Frody Developer) about this issue. He suggested it might be related to this problem - [url=https://github.com/Fody/Fody/wiki/TaskCouldNotBeLoaded]https://github.com/Fody/Fody/wiki/TaskCouldNotBeLoaded[/url]. It may also be worth you checking with him directly to see if he …
07 Jun 2014 03:56 UTC
-
Ncrunch Fody ContainsTypeChecker
Hi, Thanks for sharing this issue. As you've posted it here, can I safely assume that you're seeing this problem when working with NCrunch but not with other test runners or a normal build? Would you be able to try setting your solution in [url=http://www.ncrunch.net/documentation/troubleshoo…
07 Jun 2014 00:58 UTC
-
Exclusively uses attribute seems to not be working
Ok - that narrows things down a bit. The next thing we should check is the behaviour of the tests in the processing queue. If you set the filters on the queue to show only executing tests, and turn on the 'Exclusively Used Resources' column, do you see any evidence of the engine running tests conc…
07 Jun 2014 00:49 UTC
-
Projects not refeshing in NCrunch which results in the tests passing when they are really failing
Are you able to make the tests pass artificially in NCrunch consistently? Does this happen when you try to debug the tests using NCrunch? If so, does the debugger pick up the exception that would result in the test failing? Are you able to supply code or steps to reproduce the issue?
05 Jun 2014 06:34 UTC
-
"Friend access was granted to" error with internals visible to
Hi, thanks for sharing this issue. Is it possible that you have the [url=http://www.ncrunch.net/documentation/reference_project-configuration_prevent-signing-of-assembly]prevent signing of assembly[/url] configuration setting enabled on the project that declares the InternalsVisibleToAttribute? …
04 Jun 2014 23:00 UTC
-
Exclusively uses attribute seems to not be working
Hi Bob, When upgrading to VS2013, did you also upgrade to a new version of NCrunch? (i.e. from 1.48 to 2.7?) Or was it just to a different build of NCrunch under the same version (i.e. v2.7 VS2012 to v2.7 VS2013)? A useful thing I think we should check is whether or not the engine is actually…
04 Jun 2014 22:51 UTC
-
'Additional Files To Include' adding Byte-order mark? (NCrunch 1.48)
Hi Steve, Thanks for sharing this issue. v1.48 is getting quite old now. Have you tried one of the later builds to see if this solves your problem? The build below is an early pre-release of 2.8. This build includes some fixes around file encoding preservation and it may be worth a try: …
03 Jun 2014 21:46 UTC