Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Exception on grid server 2.10.0.4
The behaviour in this case isn't exactly by design. Normally when a protocol or version incompatibility issue appears, it should become visible on the client's side with a meaningful error. In this case, the error is appearing on both the client (where it is showing correctly) and the server, as t…
23 Sep 2014 22:50 UTC
-
The target "ResolveKeySource" does not exist in the project.
Is there any chance you can share with me the project type guid specified next to this project inside your solution file? Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MyProject", "MyProject.csproj", "{OTHER GUID}" EndProject The project type GUID for the above project is FAE04EC0-301F…
23 Sep 2014 22:43 UTC
-
The target "ResolveKeySource" does not exist in the project.
Was the project not showing in the NCrunch config window?
23 Sep 2014 07:36 UTC
-
The target "ResolveKeySource" does not exist in the project.
WiX projects aren't really supported by NCrunch. They use a different set of build targets and generally aren't needed in a test environment. The best plan would be to make sure the project is ignored by NCrunch using the 'Ignore this project completely' configuration setting. As long as the .ncr…
22 Sep 2014 22:42 UTC
-
Exception on grid server 2.10.0.4
Are these errors showing for you in the distributed processing window? If so, they may be getting kicked up from a protocol failure from a different connection. If the grid node is being shared with another client that is running a different version (i.e. 2.7), then the failure of the grid node …
22 Sep 2014 22:38 UTC
-
Exception on grid server 2.10.0.4
Hi, thanks for sharing this issue. This error is being kicked up by an error handler gone wrong. The correct message is actually that of a protocol incompatibility. Have you also upgraded your grid node server to the latest version (2.10)?
22 Sep 2014 11:44 UTC
-
No message when test taking parameters is attempted to run without parameters
Sadly, there may not be much that can be done on this from the side of NCrunch. NCrunch relies on data being supplied from the test frameworks themselves. Where tests are erroneous, they are often ignored, or the errors are raised in ways that can't easily be reported by NCrunch (as the tests th…
19 Sep 2014 12:35 UTC
-
How to get a file copied to bin\Debug (/Release) for test projects?
[quote=GreenMoose;6430] Hrm,which means, since I am in the process of integrating console tool with TeamCity, I need to "redesign" build behavior so I use nuget restore explicitly then to avoid dependency on pre-building with msbuild ([url=http://www.xavierdecoster.com/migrate-away-from-msbuild-bas…
19 Sep 2014 06:49 UTC
-
How to get a file copied to bin\Debug (/Release) for test projects?
[quote=GreenMoose;6428]Thanks. Looks like post build event is the way to go. Speaking of which, does NCrunch always run the Nuget pre build restore of packages like vstudio (making build times take a lot longer than when not restoring)? [/quote] No. NCrunch will not perform an auto package rest…
19 Sep 2014 05:51 UTC
-
How to get a file copied to bin\Debug (/Release) for test projects?
[quote=GreenMoose;6426] 1) What is "Additional files to include" meant to be used for? Why can't I reference my log4net.dll and NHibernate.dll at solution level by adding path e.g. "Externals\log4net.dll"? [/quote] 'Additional files to include' is needed to specify files that NCrunch should cop…
18 Sep 2014 22:35 UTC
-
How to get a file copied to bin\Debug (/Release) for test projects?
Your best bet is the NCrunch.Environment.GetAllAssemblyLocations method. This method will return the full file path of ALL assemblies included in the test application domain. It's possible for you to enumerate this list of files, find the output file from the project containing the NHibernate conf…
18 Sep 2014 11:56 UTC
-
"Pin covering tests" not including tests if filter for showing passing tests is off
I've had no luck reproducing this issue. The code handling the assignment of pinned status of tests doesn't consider the Tests Window filters at all (there is no connection). There must be another variable involved. Do you perhaps have a search filter present? Can you reproduce this on a clean…
18 Sep 2014 06:00 UTC
-
Tests on grid nodes should have higher default priority
@Ralf - Thanks for this. I'll follow up with you via email @GreenMoose - It looks like there is a bug here. According to the code, if you try and queue a test to run on a specific node, trying to re-queue the same test for a different node will result in the originally queued task disappearing …
17 Sep 2014 22:08 UTC
-
How to get a file copied to bin\Debug (/Release) for test projects?
Thanks, this is really useful information to help with further optimisation. The difference in static vs dynamic analysis is particularly interesting.
17 Sep 2014 22:04 UTC
-
"Pin covering tests" not including tests if filter for showing passing tests is off
Thanks for sharing this issue. When you choose to pin the covering tests (in both cases), how are you doing this? Is this done via context menu on the line of code? Do you have the 'Show coverage for these tests only' filter active, or a filter set up on the code coverage itself via engine mode…
17 Sep 2014 22:01 UTC
-
Tests on grid nodes should have higher default priority
Do you have logging enabled on any of your grid nodes? It would be really interesting to get a log file of the grid node's side of this happening. If you manage to capture one, could you zip it up and submit it through the [url=https://www.ncrunch.net/Support/Contact]contact form[/url]?
17 Sep 2014 11:37 UTC
-
Tests on grid nodes should have higher default priority
[quote=Ralf Koban;6408]Hi Remco, When I take a look into the processing queue then I see that the grid nodes have a pending task to build the application's executable but I'm not sure as I don't see any information on the Distributed Processing page (there they are shown as online).[/quote] I th…
17 Sep 2014 07:40 UTC
-
Hide red failing unexecuted tests
Interesting. I wonder if this depends upon the tests in question and the framework you may be using. The functionality to save and load test state has existed since the early days of V1, and I'm sure that 1.48 does do this. So I guess you're experiencing a bug in the form of a feature :) With …
17 Sep 2014 07:32 UTC
-
Tests on grid nodes should have higher default priority
Is there a consistent set of steps you can perform to make the tests run only on the local machine while you're connected to the grid nodes? I'm hoping there may be some way for me to reproduce this problem .... Also, do you have any other solutions on your machine that you can test this with? It …
16 Sep 2014 21:55 UTC
-
How to get a file copied to bin\Debug (/Release) for test projects?
Ok - Out of interest, how large is this 30s project in lines of code? And how long does it normally take for VS to build it?
16 Sep 2014 21:47 UTC