Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. NCrunch keeps saying it is running, even though all child tests have finished

    Thanks Arnoud. Does this happen for you consistently using your test project? Do you still see it if you switch off the grid processing? Cheers, Remco

  2. C++ managed includes native c-library - NCrunch can not build

    Hi Marius, Great to hear that got it working for you :) At the moment there aren't any plans to introduce support for C/C++ projects. Support for this area of development would require considerable investment, so I'd need to see some evidence for high demand before I can put any priority on i…

  3. C++ managed includes native c-library - NCrunch can not build

    Hi Marius, This makes sense ... the dependency from the C++ project to the C project can't be tracked by NCrunch, as NCrunch isn't able to traverse the build dependencies between C++ projects. I think the only way you can make this work would be to pre-compile the unmanaged C library then incl…

  4. Tests with TestCaseAttribute won't be marked as failing when number of arguments are wrong

    Hi, thanks for posting! This is behaviour as designed. NUnit itself is rejecting the invalid test case and NCrunch is never made aware of it. This means that there is no way to represent the failure, as there is no test to associate it with. The markers therefore report green for the testcase …

  5. C++ managed includes native c-library - NCrunch can not build

    Hi Marius, Great to hear we're making progress. If the problem is files missing from the workspace, the solution to the C++ library is likely to be largely the same as for the other project. NCrunch needs to be aware of all the files that are to be copied to the workspace, otherwise it may miss…

  6. Exceptions on grid nodes seem to let NCrunch hang

    Thanks Ralf. I think this is caused by a race condition somewhere between the node synchronisation and the execution of test tasks. I'd expect that the node would be able to run with the errors and continue processing, but it would be leaving the client's task tracking in a bit of a mess. Is th…

  7. C++ managed includes native c-library - NCrunch can not build

    Hi Marius, thanks for posting! C/C++ projects aren't officially supported by NCrunch, but sometimes it is possible to get them building with some extra configuration. Where are these additional header files stored in relation to the project file? Does including them using the [url=http://www.…

  8. Problem running tests that use Sqlite, assembly not found

    [quote=Brannon;6492]Perhaps NCrunch could run some nuget validation command for a project file as part of its build?[/quote] NCrunch did originally do this, but it created problems with increased build times and unnecessary download actions into the workspaces. As long as you've always run your …

  9. NCrunch keeps saying it is running, even though all child tests have finished

    Do you notice any errors appearing in the windows event viewer? Sometimes if processes explode in strange ways, they can by-pass the normal error handling. Are you able to narrow the issue down to a specific test, or set of tests? I have seen many problems before with commandline I/O redirect…

  10. Random test failure when using TestCaseSource: The parent fixture of this test experienced a failure

    I think that the failure here is surfacing because of the variations in test execution sequence and/or batching of tests in the processing queue. Setting memory limits on the processes will likely suppress the problem but it will also degrade performance as NCrunch is then unable to re-use processe…

  11. Exceptions on grid nodes seem to let NCrunch hang

    Thanks Ralf. Can you describe to me a bit more what this Funnel VS addin does? I'm wondering if it may have somehow triggered the problem. NCrunch has quite a bit of complexity around its synchronisation with the VS state - so if this state is dripfed via another addin, strange behaviour may be p…

  12. Exceptions on grid nodes seem to let NCrunch hang

    Hi Ralf, Thanks for sharing this one. The first exception is likely to be the cause of the problem. The node is experiencing an unexpected internal error while trying to execute a test task, and this is causing it to never report the task as completed. This results in the engine thinking that …

  13. Ncrunch window, is just hanging.

    [quote=Davy Jones;6481] However I have got more information, it only hangs when there are a huge amount of tests that fail, around 40 or so and then it stops, yesterday the other team finally fixed the last of their configuration errors in the unit tests and it suddenly started working again. So …

  14. Problem running tests that use Sqlite, assembly not found

    Ok - so basically this file is a content resource then rather than a .NET assembly reference. That makes sense. This then becomes a bit more complicated, as the special build step used by SQLite will work around normal build logic, and NCrunch's 'Copy Referenced assemblies to workspace' setting …

  15. Random test failure when using TestCaseSource: The parent fixture of this test experienced a failure

    Sorry, I meant to look in the Processing Queue Window details pane for the log details after you've set your Log Verbosity to Detailed. NCrunch won't place logged data into the diagnostic output window unless you also turn on the 'Log to output window' option. This window isn't usually very good…

  16. NCrunch keeps saying it is running, even though all child tests have finished

    I think that there is a test action that is somehow getting hung or lost inside the execution run. NCrunch does track multiple execution runs, so it's possible that some runs are coming back with results while other aren't. Unfortunately the log didn't show anything obviously wrong inside the en…

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

    Thanks for sharing this. This doesn't sound like behaviour as designed. I'll take a look at it and will see if I can improve the experience here :)

  18. NCrunch Tests Windows scroll resets when reshown

    Hi Andy, Thanks for sharing this issue. When you say that the Tests Window is docked, is this docked in a visible or hidden way? I.e. is the panel 'pinned' open in the IDE, or does it appear when you mouse over it? Cheers, Remco

  19. NCrunch keeps saying it is running, even though all child tests have finished

    This isn't normal behaviour. Something must be going wrong inside the engine for it to be reporting finished tests as still executing. Are you able to reproduce this consistently? Would you be able to submit a bug report if you can make it happen again?

  20. Random test failure when using TestCaseSource: The parent fixture of this test experienced a failure

    Hi, Try setting your 'Log verbosity' setting to 'Detailed', then examining the trace output for a failed test run inside the processing queue. Does the log give you any indication of what may be failing? You may have already read this, but I thought I'd suggest it anyway as it's often good to…