Forum member

GreenMoose

511 posts

Posts by GreenMoose

  1. Is "out of process" host impacted on grid nodes?

    Just upgraded to 2.11.0 and while I see an incredible boost in vstudio performance/memory consumption, my grid nodes came to a crawling halt. On azure nodes with 7.5GB RAM I previously used up to 20 task runners but after upgrade they all seem to not wanting process and memory usage was > 90%. I …

  2. Console tool reports "weird" test count with TeamCity

    v2.10.0.4 I've set up a new trivial project with some tests. In my vstudio NCrunch tells me I have 64 tests via "Monitoring 64 tests, with no tests ignored". When I start console tool on teamcity in a clean workspace , I get 75 tests. When I start console tool on teamcity in a non-clean worksp…

  3. Customizing NCrunch distributed processing columns does not seem to persist

    v2.10.0.4 / vstudio2013 When I customize the columns in "NCrunch Distributed Processing" window by reordering/adding/removing columns they seem to be re-set after I restarted vstudio. Customizations in "NCrunch Tests" are persisted as expected. (I use [url=https://visualstudiogallery.msdn.m…

  4. How to get a file copied to bin\Debug (/Release) for test projects?

    Thanks for feedback. Yeah nuget package issue is easily solvable by running nuget restore before starting the build via NCrunch. (and I seem to require to build it via msbuild anyhow before invoking NCrunch so I can utilize the "copy dll from project output folder" since I can't solve the "Metho…

  5. Output version of console tool?

    [quote=Remco;6617]Or are you looking for the version to be emitted when the tool is used with parameters also?[/quote] Yeah, also it would be useful to output version of each grid node used. For instance from a TC log: [quote] [15:02:14] : TeamCity server version is 8.1.4 (build 30168) ... [15…

  6. Confusing test failure reporting with NCT.

    v2.10.0.4 (NUnit) When running the console tool locally I have 2 failed tests, although the two tests failing are : [quote] ProjectName.Tests.SubTests.MoreTests.WhenSomethingFixture.* (00:00:02.0771114) ProjectName.Tests.SubTests.MoreTests.WhenSomethingFixture.TheActualTestName (00:00:00.0350…

  7. Troubleshoot [ProcessingFailed] with NCrunch Console Tool

    v1.10.0.4 Trying to incorporate console tool with TeamCity, and it took longer than usual. I noticed below in TC's build log: [quote] [13:04:57] : [Step 3/3] [13:04:57.7074-Core-12] Grid node xxx.cloudapp.net reports task completed: [LocalBuildTask: [SnapshotComponent: PROJECTNAME, 18, 5414731…

  8. Output version of console tool?

    v2.10.0.4 The current way I use to output record which NCrunch version is being used (so I get that in TC's build log) is: [quote]ncrunch | findstr /R "v[0-9]"[/quote] Is that supposed to be part of initial console output when running? (If not it would be nice to have --version switch and/or…

  9. Extremely slow build processing followed by "hanging" devenv process

    (continuing...) [code=plain] Not Flagged 38788 31 Worker Thread Pool Thread #4 System.Threading.WaitHandle.InternalWaitOne() Normal mscorlib.dll!System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle waitableSafeHandle, long millisecondsTimeout, bool ha…

  10. Extremely slow build processing followed by "hanging" devenv process

    v2.10.0.4 Today I ended up with extremely slow processing during building (bug report submitted, could not get covering tests to show) so I closed solution and exited vstudio. devenv.exe though wouldn't exit from list of processes (not choking cpu, but still doing something according to Cycles…

  11. Customize Engine Mode: "Cancel" test filter builder appears to persist it.

    v2.9.0.8 1) I have a non trivial engine mode filter in "Automatic Test Filter" set up 2) I have a condition "Only in project with name: ABC" 3) I change it to be "Not in project with name:", which removes "ABC" (would appreciate if it didn't). 4) I now want to cancel change since I need to cop…

  12. The target "ResolveKeySource" does not exist in the project.

    [quote=Remco;6445]Is there any chance you can share with me the project type guid specified next to this project inside your solution file?[/quote] Sure 930C7802-8A8C-48F9-8165-68863BCCD9DD (*.wixproj)

  13. The target "ResolveKeySource" does not exist in the project.

    [quote=Remco;6442]Was the project not showing in the NCrunch config window?[/quote] Correct.

  14. The target "ResolveKeySource" does not exist in the project.

    Thanks that did it. (Had to copy the v2.ncrunchproject files from existing projects though since they were not even created by NCrunch).

  15. The target "ResolveKeySource" does not exist in the project.

    v2.9.0.8 Trying to run my solution with the console tool and currently I always get build failure due to our Wix setup projects cannot load. 1) We have, in vstudio's configuration manager, disabled build for the setup project except for "Setup" build configuraiton. Should NCrunch really try to b…

  16. How to get a file copied to bin\Debug (/Release) for test projects?

    [quote=Remco;6429][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…

  17. How to get a file copied to bin\Debug (/Release) for test projects?

    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)? >This is by design. NCrunch can have many workspaces for a single project and wil…

  18. How to get a file copied to bin\Debug (/Release) for test projects?

    So if System.Environment.CurrentDirectory is safe to use, I have 2 additional issues: For a log4net appender with NHibernate logs to work I need to have log4net.dll and NHibernate.dll in the same output directory. I assume this is the same problem I had with hibernate.cfg.xml, but what I don't ge…

  19. How to get a file copied to bin\Debug (/Release) for test projects?

    [quote=GreenMoose;6424][quote=Remco;6423]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 t…

  20. How to get a file copied to bin\Debug (/Release) for test projects?

    [quote=Remco;6423]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 t…