Forum member

GreenMoose

511 posts

Posts by GreenMoose

  1. Workaround working with net.core projects?

    v2.26 Is there any workaround to use .net core C# libraries with NCrunch? (We have started to use asp.net core and I thought I could get away with having a solution with only .net core libraries specific for NCrunch but NCrunch seems to fail finding the built assembly with error "Unable to fin…

  2. NCrunch and %TEMP%.

    v2.26. I noticed NCrunch (the vstudio2015 version) is using the temp dir location alot. To ensure that isn't a bottle neck I (in addition to workspace drive) have placed that on a RamDisk but it is quickly filling up with non-Crunch stuff. Is it possible someway to define where NCrunch is putt…

  3. TeamCity integration improved in v3? (vs v2)

    Hi, from [https://www.ncrunch.net/documentation/V3/guides_console-tool-usage docs] I read that: 1) Add: NCrunchResults to artifacts 2) "Once a build has run, you'll be able to find the report data inside the build artifacts." I use v2.26 and TeamCity 9, but I get no such artifact created. Is th…

  4. Passing parameter to NCrunch.exe to be used for MsBuild?

    Never mind, I got it to work by using setting the property as an environment variable instead :)

  5. Passing parameter to NCrunch.exe to be used for MsBuild?

    v2.26 Problem: We are targeting a framework not available on build machine (using TeamCity). This results in error [code=plain] The reference assemblies for framework ".NETFramework,Version=v4.5.2" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or …

  6. Force console tool to use grid nodes instead of local

    Hrm so you mean vs 2015 doesn't even have to be installed in order to build that with Ncrunch.exe (if so it should work without vstudio installed as well?)? (The problem I have is Ncrunch.exe runs on machine with vs2012, grid node on vs2015, and I get compile errors on machine with Ncrunch.exe)

  7. Force console tool to use grid nodes instead of local

    v2.26 For new projects I am trying to utilize NCRunch console runner on TeamCity, the problem is the build agents do not have VS 2015 installed so I have created a grid node which has that. The problem when I start NCrunch.exe it connects to the grid node properly but then it also starts compi…

  8. Cross-process coverage = HTTP tests coverage support with ASP.NET Core?

    Hi, I'm curious about the new "cross-process" functionality and especially related to integration tests with HTTP endpoints. Today the main drawback with our HTTP integration tests (localhost/IIS) are that they are not included at all in impact analysis nor code coverage. I'm curious if this …

  9. Coverage markers indicate 0ms for await/async tests in NUnit

    Dropped at https://ncrunch.uservoice.com/forums/245203-feature-requests/suggestions/16740094-enable-hotspots-indicators-also-for-awaited-asyn :)

  10. Coverage markers indicate 0ms for await/async tests in NUnit

    Thanks for the reply. I understand the complexity of supporting this but IMHO the hotspot indicators in NCrunch is one of those "killer features" that stands out. Given that asynchronous programming is getting more mainstream (even [url=https://msdn.microsoft.com/en-us/data/jj819165(v=vs.113).asp…

  11. Coverage markers indicate 0ms for await/async tests in NUnit

    [v2.24.0.2] When I run async Test in NUnit the coverage markers indicate "0ms" on the awaited method. Is this a bug or "by design" ? See http://screencast.com/t/1mwMqiK0bi [code=csharp] [TestFixture] internal class TestFixture { private async Task FooA…

  12. View tests ordered by their test execution duration?

    I believe I just found the answer, in "Test structure" combo select the "Test" option and then sort on the "Last execution time" column :)

  13. View tests ordered by their test execution duration?

    v 2.26.0.1/vs2015 Hi, Is there a way to view tests ordered by their execution time? When I order on the "Last execution time" column it seems to basically show the compile time of the test project, and then when expanding the tests themselves it seems to be in an arbitrary order. (My scenar…

  14. Include compile warning code/id in output?

    [v2.22.0.1] Hi, NCrunch gives me output like below: "DialogsUI\foo.xaml.vb (283, 50): Invalid URI: Invalid port specified." While vstudio includes the warning code (CC0063). Is this by intent or why doesn't NCrunch output the warning code/id as well? Thanks.

  15. Cleanup during NCrunch process exit?

    Hi. I have a problem trying to do some file cleanup when NCrunch test process is exiting (idea is to keep a SQL CE db alive while process is alive, and delete it when process exits). I've tried both ways below but cannot get the file to be deleted, am I missing something? What I did to test out …

  16. NCrunch cache storage path on RAMDISK?

    Hi, Is there any advantage, performance wise, to use the "NCrunch cache storage path" on e.g. a RAMDISK ? Thanks.

  17. Is there a way to visualize the test pipeline?

    [quote=Remco;8316]... I currently am aware of three ways in which the engine can be overloaded: 1. During initialisation (unavoidable and always temporary) 2. When running a large number of tests with high coverage spread that have never been executed before (i.e. first time run with no cache fil…

  18. "Run test in existing process" gone?

    [quote=Remco;8314]This feature is disabled if you have the [url=http://www.ncrunch.net/documentation/reference_global-configuration_terminate-test-runners-on-complete]Terminate test runners on complete[/url] setting turned on. Is this the case in your setup?[/quote] Right, for whatever reason that…

  19. "Run test in existing process" gone?

    [2.19.0.4] I tend to use the "run covering tests use existing process" a lot, but after upgrade I noticed this is no longer available. Bug? (The only thing in my RMB->Advanced menu from test window is now "Browse to workspace").

  20. Is there a way to visualize the test pipeline?

    [quote=Remco;8307][quote=GreenMoose;8306] Hi, what would candidate as "big" here? Is 14s like this one a non-big one? :) [/quote] That's very big. Looking at its position, I would say that the engine was overloaded when it was switching the data out of the task thread and back to the core en…