Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Offline Documentation

    Hi, thanks for posting! NCrunch doesn't have any offline documentation at the moment (as the docs are in wiki form), but I could certainly see how this could be useful. The documentation will be getting a major overhaul soon, with much of the content rewritten and all of it placed within a new…

  2. Simple test with test marked with black dots

    Thanks for providing the bug report. Looking through this, it seems that something is going very wrong where NCrunch is attempting to get a list of all the types in one of your test assemblies. Unfortunately the error is quite non-specific, so I'm wondering if you might be able to tell me a bit …

  3. NCrunch fails to build files, Visual Studio 2010 builds fine

    I had thought it was in there, but after checking, it seems I was wrong! Thanks for the prompting. I've added another section to the troubleshooting page describing the issue and how to fix it. Cheers, Remco

  4. Simple test with test marked with black dots

    Hi, thanks for posting. The screenshots here are very helpful. With the corner indicator showing nothing is happening, and assuming that the test itself is stuck with this running status, this can only be caused by an error of some kind happening within the NCrunch engine. Most likely there is …

  5. ncrunch keyboard shorcuts

    Right now NCrunch has a pretty limited set of shortcuts. More will be added in future. For the time being, all shortcuts are operating as part of the NCrunch top menu, so they're basically just shown next to the main menu options. Most of the major shortcuts were introduced as part of the 1.37b r…

  6. Portable class libraries fail to build if they include metro

    Yes - this is caused by the same issue. VS2012 changed the way the build process works for Silverlight projects, they are now treated as 'PCL' projects alongside Metro applications. I hope to resolve this properly when Silverlight/Metro support is added to NCrunch.

  7. InvalidProjectFileException (a different one)

    Hi, thanks for posting! If this project opens and builds for you in the VS2008 IDE, then it looks to me as though this error message may be wrong ... as the stack trace indicates that the build is using the 2008 MSBuild integration. If the project works only using older versions of Visual Stud…

  8. ncrunch.TestHost.x86.exe has stopped working - Bug

    Hi, thanks for posting! This code causes a catastrophic crash because it causes a stack overflow to be thrown. Stack overflows are a bit of a nightmare for NCrunch and test runners in general. They can't be caught or handled, so they give you a big nasty popup dialog instead. I've been worki…

  9. Edit (Refactor) in Class Diagram

    Hi Rudi - Thanks for reporting this issue! Is it something that consistently happens for you? I occasionally get reports for issues like this, although sadly they often tend to be very intermittent and difficult to reproduce in the NCrunch development environment. Cheers, Remco

  10. EnumerateTestCommands

    There is an inconsistency here with the way that NCrunch handles situations like this vs other test runners. For reasons of simplicity, NCrunch doesn't have an 'inconclusive' state for tests that have been executed. This means that should a test report an inconclusive result at runtime (such as …

  11. "Pin" items in metrics window.

    Hi, thanks for sharing this suggestion! There's been a few requests for features that can help to show how coverage is changing as the codebase is modified - and perhaps add restrictions or warnings when it goes down. Hopefully I'll be able to add something along these lines soon. Cheers, …

  12. 1.41b: 'Additional files to include' not working?

    I've introduced a fix for this problem in the upcoming 1.42b release. The behaviour is such that the AdditionalFilesToInclude setting will only work if the NCrunch project-level config file exists (otherwise you'll get an error). Known workarounds are: - Create the file yourself (perhaps by cop…

  13. NCrunch not detecting covered code when using TestCaseSource in NUnit

    Thanks for the feedback on this. It's definitely a goal to try and align NCrunch as closely as possible with the normal behaviour of the testing frameworks it implements with, so you are 100% correct that the current implementation does not exhibit intuitive behaviour and thus is undesirable. Ho…

  14. VS 2012 Dark Theme Compatability

    Hi Mark - Thanks for posting! I've lately been looking at ways to implement this. I use the dark theme myself also, so I'd like to add support for this. Hopefully it'll be added soon. Cheers, Remco

  15. NCrunch not detecting covered code when using TestCaseSource in NUnit

    Hi, thanks for posting! I appreciate the effort you've gone through to provide a code sample - this was enormously helpful in analysing the problem. From a certain perspective this could certainly be considered a bug, although I'm not sure if there is a feasible long term fix for it, as even the…

  16. NCrunch 1.41b remains Running after closing Visual Studio 2012

    The leftover process hanging around for about a minute after devenv.exe closing is by design, although the hanging of devenv.exe process is not. I develop daily with VS2012 using NCrunch, and so far I haven't seen this issue occur. The behaviour you've described suggests it may be caused by a …

  17. NCrunch 1.41b remains Running after closing Visual Studio 2012

    NCrunch contains cleanup code that spawns a taskrunner process which waits for devenv.exe to exit before it fully terminates. This is part of the intended behaviour (to make sure that workspaces are fully cleaned up on exit). A side-effect of this behaviour is that it can make NCrunch appear to be…

  18. Running tests that use nUnit's Explicit attribute

    At the moment, NCrunch just considers NUnit explicit tests as ignored. The reasons for this are largely historical (the first versions of NCrunch did not support manual or part continuous), although they don't really apply any more. Ideally the behaviour should be that Explicit tests are not run a…

  19. System.TypeInitializationException

    Thanks, I'll have a play with it and see what I can find.

  20. System.TypeInitializationException

    Make sure you reset the engine after applying this setting. If it takes effect, you should see the NCrunch task runners as showing up under the names 'nCrunch.TaskRunner40.x86.exe', etc. I'll message you with an email address if you'd like to send a sample project. NCrunch has seen limited test…