Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Ncrunch window, is just hanging.

    Would you be able to submit a bug report after it gets stuck? Hopefully the log will give us some revealing information.

  2. Ncrunch window, is just hanging.

    Hi Davy - This is likely due to corruption of the NCrunch cache file for this solution. Try deleting the solution_NCrunch_v2 directory. This should clear the cache and allow the system to start normally.

  3. NCrunch and xUnit Theory Display

    Hi, thanks for posting. NCrunch is reliant on Gallio for discovering and executing Xunit 1.x tests. Unfortunately, due to the design of its Xunit adapter, Gallio's reporting does not provide this level of granularity when working with theories. This means that NCrunch isn't able to differentiat…

  4. How to Purge NCrunch Test Runner Folders

    Hi Ed, These logs are being created by .NET fusion. They aren't directly created by NCrunch, but will be built in response to every assembly resolution action that happens in every .NET application domain on your machine. Most likely you are using NCrunch heavily, so it is over represented in t…

  5. Build failure with InvalidCastException.

    Ok! Here's a fixed build :) [url=http://downloads.ncrunch.net/NCrunch_Console_2.10.0.1.msi]http://downloads.ncrunch.net/NCrunch_Console_2.10.0.1.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_2.10.0.1.zip]http://downloads.ncrunch.net/NCrunch_Console_2.10.0.1.zip[/url] [url=http://…

  6. Build failure with InvalidCastException.

    Perfect! Thanks for this. I've now reproduced the problem and will see if I can get it fixed :)

  7. Build failure with InvalidCastException.

    Thanks! If you can get me a standalone repro, then there is a really good chance I can fix this problem. Unfortunately the version of cecil used by NCrunch has seen some fairly extensive modification, so troubleshooting it via cecil may not be the easiest approach. Even a compiled assembly th…

  8. Exporting test results to CSV that is in use seems to crash VS 2013

    Thanks Ralf. I've reproduced this issue and will see about getting it fixed! Cheers, Remco

  9. Restrict multiple tests to run within same grid node in console runner?

    Other than using the method you've described (with Capabilities), I don't see a way to do this, but it could be a good request for a feature.

  10. NUnit TestCase with enum not working with dynamic analysis?

    Thanks. This looks like a problem with the enumeration messing with NCrunch's logic to try and identify the underlying method. The test cases will still run and behave normally, but the entry point won't be detected and you won't be able to navigate to the tests using the Tests Window (I think thi…

  11. Best OS for a grid node, Windows 8 or Windows Server 2012?

    The answer to this depends very much on the nature of the tests you need to execute, and the applications you are developing. NCrunch itself can run on either O/S without any real difference. If you are developing desktop applications, I would definitely recommend Windows 8.1, as this would me…

  12. NUnit TestCase with enum not working with dynamic analysis?

    Sorry - just to clarify ... Is the problem you're experiencing with the test entry points not being correctly identified? .. Or is it with the test cases not being discovered at all? I've managed to reproduce the former, but not the latter.

  13. nCrunch appears to rebuild all projects when only a test project changes

    Hi, thanks for posting! Waiting 30-45 seconds to see test discovery results is not normal and it should be possible to fix this. The first thing you should check for is the use of the 'Copy referenced assemblies to workspace' setting. If you unhide all the warnings in the Tests Window, you wi…

  14. NCrunch cannot compile projects with spaces in its name

    Hi, thanks for sharing more details on this problem. I'm wondering - when renaming your projects, did you also change the name of their output assemblies? The issue here seems to be related to the assembly name rather than the project. I have a fix prepared for this problem and I'm expecting to…

  15. NUnit Tests with TestCaseSource are failing

    Hi, This problem is related to the time when the exception is thrown. NCrunch's test discovery occurs during a separate analysis step where no context exists to record data for individual tests. Use of the TestCaseSource attribute allows you to run code inside this discovery step, but there i…

  16. Ignored tests with umlauts show up again

    Hi, thanks for sharing this issue. An encoding problem here would make sense. I'll see if I can get this fixed. Cheers, Remco

  17. How to identify the ProcessId (PID) in which a test is running ?

    [quote]Is it possible to break into a test with grid processing ? Because the only relevant case in which it's usefull in my opinion is when we break into a test via NCrunch debugging feature. But even in that case, I understand that it can be challenging.[/quote] Unfortunately not. Breaking int…

  18. How to identify the ProcessId (PID) in which a test is running ?

    When support for task termination was added in V2, there were actually plans to add the PID to a column inside the Processing Queue or Tests Window. Unfortunately, this proved to be somewhat more challenging when working with the grid processing, so the design was changed to use an internal ID in…

  19. Html report for console test runner is not escaping html in test case

    Ouch! Thanks for the heads up. I'll get that fixed.

  20. How to identify the ProcessId (PID) in which a test is running ?

    Hi, At the moment NCrunch doesn't have this feature. There may be a way you can work around this. Try the following: 1. At the start of the test you wish to profile, add the following line of code: var myPid = System.Diagnostics.Process.GetCurrentProcess().Id; 2. Fire up a debugging se…