Forum member

GreenMoose

511 posts

Posts by GreenMoose

  1. Non friendly error upon missing net 4.5 (?)

    I installed NCrunch grid on a remote server and it seemed fine until starting building when it suddenly became disconnected (and service died). Noticed below logs from event viewer: [quote] --- .NET Runtime version : 4.0.30319.17929 - This application could not be started.This application …

  2. Enable custom env. variables to be set on remote servers

    We have tests reading env. variables and behaving accordingly. I would like the option to set enviornment variables, per developer, on the remote servers. Example: Dev 1 sets env. variable "TestDb" to "dev1_db" and Dev 2 sets env. variable "TestDb" to "dev2_db". Then the test setup will read val…

  3. NCrunch Grid: How to debug error on grid server?

    (Using Nunit). Testing out the grid functionality for the first time. I get a test error with the unfriendly message "TestFixtureSetUp failed in SomeFixture", so according to http://www.ncrunch.net/documentation/guides_distributed-processing I disabled processing on my local machine by setting "…

  4. VStudio2012 freeze with NCrunch "stuck in build"

    [quote]Did VS become completely unresponsive for the whole 20 minutes? Or did it just run really slow?[/quote] Completely unresponsive (got the OS "wait for application to respond"/"Close application" options in the "application is not responding" popup). I did kill that thread (versus killing dev…

  5. VStudio2012 freeze with NCrunch "stuck in build"

    v2.1.0.2. Got back to work, started work as usually, noticed a laggy behavior and after changing ~5 lines of codes vstudio froze and becmae unresponsive. One thread is eating cpu and the callstack for that is below (killed devenv.exe after ~20min): [quote] [Managed to Native Transition] > M…

  6. Possibility to change order in Available Engine Modes

    Related minor issue: When creating 10 engine modes or more, the shortcut key "1" will be duplicated.

  7. Possibility to change order in Available Engine Modes

    v2.1.0.2 I have a couple of engine modes which of some I often toggle between. I would therefore like to reorder the order of them (and maybe add hotkey option for them?) so I quickly can have my favorite mode always with keyboard shortut 1 in menu, next best 2 etc.

  8. System.NullReferenceException in CombinableComponentUpdateData (diagnostic output)

    [quote=Remco;4824] Is there anything specific that seems to have triggered it? [/quote] Not from I can tell. It all started after upgrade (granted, it's been some weeks since I used diagnostic output). However it does flood the output constantly, even when NCrunch engine is idle. [quote=Remco;4…

  9. System.NullReferenceException in CombinableComponentUpdateData (diagnostic output)

    v1.48.0.5 / vstudio 2012 premium I keep getting tons of exceptions like below in diagnostic output (summary level) [quote] [06:48:56.782-Core-97] ERROR (Internal): System.NullReferenceException: Object reference not set to an instance of an object. at nCrunch.Client.Model.EngineWorkflow.(C…

  10. Add "line executed x times" to coverage statistics?

    v1.47 Today I was investigating call paths for a particular test (setting code coverage to show that test only) and felt the urge to tell how many times a particular method was called for that test to find performance issues, but I could not find such information. Thus, it would be really cool…

  11. Include "duration since last run" or similar in custom build engine mode

    v1.47 I have a couple of long-running integration tests thate are hitting local http endpoints and cannot be used to determine coverage in code (thus never treated as impacted). However, I would like an option to run these e.g. twice a day or similar, so I can spot issues without having to run t…

  12. Pin test that is excluded due to customized engine mode?

    Ah yeah I forgot to remove redundant parameters in the test methods after splitting up TestCase into individual tests, thanks. (Regarding regex, I only have 1 such test for now. Thanks for the tip.)

  13. Pin test that is excluded due to customized engine mode?

    v1.47 I've only recently discovered the awesomeness of custom engine modes. So I've created one which includes pinned tests, or only impacted tests but only if they do not explicitly use my Database resource attribute, i.e. condition: [code=plain] __________full …

  14. Add expected test duration as engine mode criteria

    This will be an interesting feature, but how do you determine when to re-run the test? For instance: * The first out of 10 tests triggers a static "engine initialization" the first time run but rest 9 tests run fast since engine is initialized. Another run of same test within same test runner is …

  15. Static initialization code isn't considered covered

    I have a lot of lines like these in my fixtures (max 1 per fixture): private static readonly ILog _log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); And these keep lowering code coverage metrics. If I run tests in a new test runner, they are reported a…

  16. "Pin" items in metrics window.

    Another option would be to simply set a filter on project level, i.e. "Mark Metric as red if code coverage drops below x%" or similar. Then I can, for those projects I know should be 100% covered (or another figure), set this value and maybe have them colored in metrics window with a custom color to…

  17. Negative priorities in processing queue?

    v1.0.47.0.18 Is this supposed to happen or is it a bug? I don't recall I saw such priorities in earlier versions.

  18. Only show coverage from pinned tests (or disable coverage and rerun pinned tests).

    v1.46 Sometime when I refactor code I want to ensure some code paths are executed from my newly added tests. However since multiple tests are already covering the code I need to, on every line I want to check, click on it and see if my any of my tests are part of it. It would be helpful if I …

  19. Change build configuration/platform for entire solution.

    v1.46 Sometimes I would like to run some performance tests with NCrunch. As I understand it, I must manually change build configuration for each project via the NCrunch configuration to not use the default "Debug" config when building. Thus I would appreciate an option where I can change this …

  20. Don't Build/Run when editing .js files

    +1 for this feature. I also edit many non-compiled files (mainly js= causing build engine to make my visual studio to be "laggy". A feature to not trigger build upon changes to specific file types would be desirable.