Forum member

GreenMoose

511 posts

Posts by GreenMoose

  1. Console tool, "MaxNumberOfProcessingThreads" vs CPU cores assigned to NCrunch ?

    [code] [07:48:38][Step 5/7] &"X:\_tmp\NConsole\NCrunch.exe" Hermes.sln /o "X:\_tmp\NCResults" -NCrunchCacheStoragePath "X:\_tmp\NCCache" -WorkspaceBasePath "X:\_tmp\NcWc" /vs "2012" -ConsiderInconclusiveTestsAsPassing True -MaxNumberOfProcessingThreads 5 -GridServerReferencesForSolution "node2>AAB…

  2. Processing Tasks status vs "Max number of processing threads"

    [quote=Remco;12333]The Processing Tasks on this view is the sum of all processing threads across your grid, which naturally includes your local processors and all those available on remote nodes.[/quote] Ah that explains it, thanks. [quote=Remco;12333] I'm aware that the risk/progress bar conta…

  3. Processing Tasks status vs "Max number of processing threads"

    [v3.17.0.2] Where does the upper limit in the "Processing Tasks" come from? I noticed if I increase my "Max number of processing threads", this will also bump this max value. But when grid nodes are building each build task takes "1 slot" from this task pool. I thought "Max number of processing …

  4. Console tool, tests queued for passive execution results in no run tests?

    [NCrunch Console Tool v3.17.0.2] I see a couple of these early in the TeamCity build log [code] [18:45:12][Step 5/7] [Core-17] Queuing 1 tests for passive execution [18:45:12][Step 5/7] [Core-17] Queuing 37 tests for passive execution [18:45:12][Step 5/7] [Core-17] Queuing 10 tests for passiv…

  5. Console tool, -GridServerReferencesForSolution results in InvalidCastException

    [v3.17.0.2] I try to execute ncrunch console with a grid node with syntax below: [code] &"X:\_tmp\NConsole\NCrunch.exe" Solution.sln /o "X:\_tmp\NCResults" -NCrunchCacheStoragePath "X:\_tmp\NCCache" -WorkspaceBasePath "X:\_tmp\NcWc" /vs "2012" -ConsiderInconclusiveTestsAsPassing True -MaxNumb…

  6. Hot to avoid ConsoleTool error in TC: NCrunch result: TestsNotRun

    Just noticed there was a new command line switch [b]/TeamCityDisableTestNotRunFailureReporting[/b] which worked out great!

  7. Capabilities for a grid node in NCrunch window?

    [v3.17.0.2] I have a vague recollection that I previously could tell in the Grid nodes window what capabilities the grid node had but I can't find such information now (I have a test with RequiresCapability but couldn't find out which server to choose to run it from, since all grid nodes end up a…

  8. ncrunch.exe /VS switch for a grid node?

    [v3.17.0.2] I have a legacy solution that does not work well under newer vs versions due to 3rd party version dependencies. I can go around this when executing NCRunch console at CI server (TC) via the /VS switch to enforce older version of MS build, but I lack this option for grid nodes. I…

  9. Console tool and impacted tests, failed tests becomes ignored?

    [quote=Remco;12307]Where tests are excluded using the 'Tests to execute automatically' filter, the engine won't queue them for execution. Thus they won't have a result reported by the run as they also aren't considered to be 'ignored'. ... [/quote] But all my tests excluded via filter are tre…

  10. Hot to avoid ConsoleTool error in TC: NCrunch result: TestsNotRun

    [quote=Remco;12306]There isn't any built-in way of doing this, other than making sure all the tests get run (perhaps through the 'ignored tests' configuration) ... This can actually be a valid error case if someone has a filter that goes wrong or there are important grid nodes offline.[/quote] …

  11. Hot to avoid ConsoleTool error in TC: NCrunch result: TestsNotRun

    [NCrunchConsoleToolv3.17.0.2] Is there a way I can prevent NCrunch to tell TeamCity it's an error if some tests were not run? [img=https://i.imgur.com/wMOKDM5.png]TestsNotRun[/img] (I cannot see it being mentioned in the [url=https://www.ncrunch.net/documentation/tools_console-tool]docs[/ur…

  12. Console tool and impacted tests, failed tests becomes ignored?

    [NCrunchConsoleToolv3.17.0.2] I am doing som trials with NCrunch console with a rather heavy test solution (14k tests) on TeamCity. But I am wondering why some of the failing tests are "disappearing" from the test results? See below: [img=https://i.imgur.com/3dz7FwM.png]TestHistory[/img] When…

  13. Log output within OneTimeSetup? [NUnit]

    [quote] For this reason, using Console.Write or Debug.Write will always result in the trace output being captured in the NCrunch log, regardless of whether this is in a OneTimeSetUp method or in a test, and regardless of the result of the test/setup.[/quote] So then it should appear in test output …

  14. Log output within OneTimeSetup? [NUnit]

    [v3.17.0.2] According to issue https://github.com/nunit/nunit/issues/1062 for nunit-console runner, there should be some means to log output in an OneTimeSetup method: [quote=CharliePoole] To summarize, NUnit supports two kinds of output: standard and immediate. Standard output is produced…

  15. Cannot resize column in covering test popup

    [v3.17.0.2] The columns in popup seems resizable but nothing happens when I try to resize them. [img=https://i.imgur.com/vSo8cK9.png]Covering Tests Popup[/img]

  16. "Show coverage for covering tests only" also in Shift+F10 context popup?

    Never mind above. I just noticed the entire menu is different off course (1 test vs multiple tests) so one option would be to make it possible to bind the "multiple tests" popup with a different shortcut than Ctrl+M, S. However, I also noticed just now that I can access my particular scenario "S…

  17. "Show coverage for covering tests only" also in Shift+F10 context popup?

    [v3.15.0.6] I tend to use Ctrl+M, S, Shift+F10 a lot to get the context menu for covering tests in order to filter coverage: [img=https://i.imgur.com/43F17X0.png]ContextMenu Keyboard[/img] But I noticed I cannot get the menu to actually show coverage for multiple tests (a killer feature I…

  18. No coverage markers for VS->Window->New Window (in secondary file window)

    [v3.15.0.6] There are no coverage markers in the second window for a file when using Vstudio2017->Window->New window, is this intentional? Thanks. (I rarely use duplicate windows for coverage purposes so it's not a big of a deal in my case).

  19. No NCrunch log output?

    :facepalm: Thanks! :)

  20. No NCrunch log output?

    v3.15.0.6 (it would be helpful if the version number is copyable in about box :)) Has NCrunch stopped producing output in vs2017 (15.6.6)? I can't seem to get the "NCrunch" choice in combo "Show output from", even though I set it to detailed.