Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Installer should warn about expired license
Sorry about this. This feature has just been introduced in 2.15 - [url=http://www.ncrunch.net/download/showChangeLog?version=2.15]http://www.ncrunch.net/download/showChangeLog?version=2.15[/url]. So for your next upgrade, you will see this behaviour.
07 May 2015 21:52 UTC
-
Entity Framework metadata problem using console tool
Hi Patrick, That is of great interest. Does NCrunch give you any warnings about missing SDKs or build targets on the grid node? My first guess here would be that this behaviour requires an SDK to be installed on the machine, which may not exist on the grid node.
07 May 2015 21:51 UTC
-
npgsql upsets ncrunch
Hi, This warning is NCrunch telling you about something that is wrong with the dependency structure in your solution. It isn't necessarily an NCrunch problem - it can mess up many things in your build. There's a good chance that NCrunch will continue to work without obvious problems, though you…
07 May 2015 09:39 UTC
-
Target "_SplitProjectReferencesByFileExistence" cannot be found in customized projects.
Taking another look at the error, it seems that the error is being thrown at load time rather than build time. This means that NCrunch is basically just trying to open the project in its original location using the MSBuild API. I've taken a look at the source code you've linked to. Unfortunatel…
06 May 2015 23:12 UTC
-
Code Coverage is only collected for the last test case run with [TestCaseSource]
[quote=yworksjr;7283]Ok, solved it. This had to do with my test method taking an object as argument that didn't have a ToString(). Also every test had a description, but not a name. Thus every test had the same name as far as NUnit was concerned, which probably led to this problem. ReSharper coul…
06 May 2015 21:48 UTC
-
Target "_SplitProjectReferencesByFileExistence" cannot be found in customized projects.
Something also worth trying is to swap out the $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), wix.proj))\tools\WixBuild.targets") expression with a simple relative path just to see if this is the cause of the problem. Does this make any difference?
06 May 2015 21:46 UTC
-
Entity Framework metadata problem using console tool
Hi Patrick, Is it possible that the DBModel.dll is included in the GAC on the client machine, or somehow being referenced in a global manner? (i.e. by absolute path) If so, this would cause problems for finding the file on the grid node. Would you be able to inspect the workspace created on t…
06 May 2015 21:44 UTC
-
Target "_SplitProjectReferencesByFileExistence" cannot be found in customized projects.
Ok - this information really helps .. and I think that this problem may well be caused simply by NCrunch's inability to resolve your custom .targets files. There are some known issues with parsing using expressions such as $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), wix.pro…
06 May 2015 09:32 UTC
-
Target "_SplitProjectReferencesByFileExistence" cannot be found in customized projects.
Hi, I wish I had a quick and simple solution to this, but in truth it depends entirely on what you are trying to achieve, and whether it is actually possible to achieve it using NCrunch. NCrunch was designed and tested against specific project types as derived from VS project templates, such a…
06 May 2015 08:54 UTC
-
.ncrunchconfig
Hi Kristian, Thanks for sharing this. Your understanding of how NCrunch uses configuration is correct - it makes a copy of the config file and manipulates it so as to introduce binding redirections allowing it to exert tighter control over the test environment. This means that the application d…
04 May 2015 22:31 UTC
-
User not authenticated running integration tests
[quote=Lee Rothman;7274]Hi, Thanks for the response. I don't think so, even if I run one of the failing tests in isolation it still passes with the VS test runner, but fails in ncrunch. [/quote] Ok, sorry, that's a very different story then. Which test framework are you using? Is it MSTest…
01 May 2015 22:54 UTC
-
Visual Markers missing with Visual Studio 2015 RC
This issue has now been identified. It will be fixed in a build of NCrunch due out next week - [url=http://forum.ncrunch.net/yaf_postsm7270_VS2015-RC-No-Markers.aspx#post7270]http://forum.ncrunch.net/yaf_postsm7270_VS2015-RC-No-Markers.aspx#post7270[/url].
01 May 2015 04:41 UTC
-
VS2015 RC No Markers
Thanks for all this information. With the details you've given me, I've been able to reproduce the problem. It seems that Microsoft have introduced a change to the PDB file format to include additional metadata for edit and continue. NCrunch doesn't know what to do with it, so it just drops all d…
01 May 2015 04:17 UTC
-
Visual Markers missing with Visual Studio 2015 RC
Hi, thanks for sharing this issue. I'm unable to recreate it with a fresh VM install of VS2015 RC with both the enterprise and community editions. Would you be able to share some more details about this problem? I'm hoping there is something critical that I'm missing from my environment that …
01 May 2015 00:21 UTC
-
VS2015 RC No Markers
Hi, thanks for sharing this issue. I'm unable to recreate it with a fresh VM install of VS2015 RC with both the enterprise and community editions. Would you be able to share some more details about this problem? I'm hoping there is something critical that I'm missing from my environment that …
01 May 2015 00:21 UTC
-
xUnit Test Collections
Hi, thanks for sharing this issue. For NCrunch to be able to maintain a mutable pipeline of tests to execute, it breaks up the list of tests into batches and calls into the test runner many times. You'll be able to see this behaviour if you examine the list of tests inside the Processing Queue W…
30 Apr 2015 22:55 UTC
-
User not authenticated running integration tests
Hi Lee, Thanks for sharing this issue. Is it possible that the test itself isn't performing authentication, and it's relying on a previously executed test to set this state? Note that NCrunch can run tests in any order, which means that sequence dependent tests can fail under NCrunch where th…
29 Apr 2015 22:52 UTC
-
F# and No tests covering this line
Hi, thanks for sharing this. This is an interesting problem. The reason NCrunch considers the 'type PrimePair' line to be code is because the FSharp compiler generates a number of methods for this type behind the scenes, and binds these methods into the assembly's debugging data. What is part…
28 Apr 2015 23:46 UTC
-
How to enable NuGet Package Restore with NCrunch?
[quote=tjahn;7254]Thank you for the quick reply! I was not aware of the fact that NCrunch indeed uses the local NuGet Package Repository directory if it contains the necessary assemblies (which Visual Studio ensures on first build). [/quote] There are sometimes situations where NCrunch can't cor…
24 Apr 2015 13:13 UTC
-
How to enable NuGet Package Restore with NCrunch?
Hi, NCrunch doesn't function well with Nuget package restore (command-line, MSBuild or otherwise), as it needs to build new workspaces regularly to be able to build and run tests in parallel. Since these workspaces are effectively clones of your source project, newly creating them simply means t…
24 Apr 2015 11:46 UTC