Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. nCrunch.TestHost.x86.exe has stopped working

    Hi Mark - Thanks for taking the time to share this issue. Stack overflows are a serious problem for continuous testing as the .NET framework itself treats them as a catastrophic failure that results in immediate termination of the test runner process. The default behaviour of the .NET framework…

  2. Unusual behaviour messages..

    Hi Tom, This is effectively a catch-all warning that appears when NCrunch notices abnormalities in the resolution of assembly references inside the test domain. The code that raises this warning works by inspecting the file paths of the assemblies that exist in the test domain after tests have f…

  3. DeploymentItem with Environment Variable not working

    Hi, thanks for posting! It's true that NCrunch currently doesn't parse environment variables specified in the DeploymentItem. Thanks for making me aware of this issue, I'll note it down for a fix in a future revision. Cheers, Remco

  4. Tests with custom ExpectedException attribute are failing

    Hi Vlad, Thanks for posting! NCrunch uses its own custom-built test runner to execute MSTest tests, and at the moment this test runner does not support custom ExpectedException attributes. Where working with tests that require this behaviour in NCrunch, I recommend introducing the exception f…

  5. Inscrutable build error

    Thanks. If you manage to create a smaller shareable reproduction of the issue, please do let me know.

  6. Just Installed, All Test Markers Stay Black. No Testing

    Hi, thanks for posting! Something that often catches people if they click through the first time use wizard too quickly is that the default setting in this wizard is to 'Ignore all tests' initially. The reasoning behind this is that people will often run NCrunch against very large solutions with…

  7. MbUnit SetUp method not being run when it is an override and base also marked SetUp

    Thanks. Can you tell me which version of the Gallio adapter you are using with your Resharper integration? Also, is the abstract base class sitting inside the same project/assembly as the derived test? (If not, does it make any difference if you change this?).

  8. Parallelization settings

    Thanks, I'll look into this. Meanwhile, you might want to read more about the [url=https://www.ncrunch.net/documentation/concepts_parallel-execution]parallel execution features[/url] of NCrunch, as it seems like you could gain much more from these with some minor adjustments to your tests.

  9. VS2012 RC split window loses indicators

    Thanks. I also don't think that the abnormal resolution would have any impact on your memory usage - and if your tests run fine, then you can probably ignore this warning. The build host doesn't really do anything when the NCrunch queue is empty of build tasks. Most likely the leak is being cau…

  10. Inscrutable build error

    I have a feeling that 'I' may be the extent of the exception description (some of the exceptions in this area are not very verbose). Though if it has been cut off, you'll likely find the full trace inside the log file used for bug reports. After the exception has occurred, choose 'Submit bug repor…

  11. MbUnit SetUp method not being run when it is an override and base also marked SetUp

    Hi, thanks for posting! The test discovery for MbUnit is delegated very much to MbUnit/Gallio underneath the hood of NCrunch. NCrunch does, however, have some not-so-subtle differences in how it manages the environment around the test runner. Can you tell me what you have set for the 'Framewo…

  12. Inscrutable build error

    Hi, thanks for posting! I've seen reports of this exception when compiling C++ assemblies, though not for projects that reference these. Is the code for this project/solution something you're able to share? I'd really like to know what causes this problem. It should be possible to work aro…

  13. VS2012 RC split window loses indicators

    Thanks, this is extremely useful! From the information you've given me, I have three theories: 1. The memory leak is caused by the NCrunch code running inside the build host (I hope this is the case as the problem should then be fixable). 2. The memory leak is being caused by build tasks bein…

  14. Context menus

    NCrunch has a number of context menu options that span across multiple situations. You'll find that almost any situation in the NCrunch UI where you can 'see' a test, you'll be able to right-click it and either pin it or run it :)

  15. Running only impacted tests

    It may depend upon who you ask, but my definitions are as follows: Static analysis: Analysis of the code through parsing or metadata loading in order to establish the behaviour of code without actually executing it. Using this method of analysis for identifying impacted tests can be very powerfu…

  16. Running only impacted tests

    It can be difficult to set the defaults in a way that works well for everyone. Generally I try to err on the side of caution as people are often quick to pass judgement on tools by their default configuration, and there is still a chance that the impact detection could result in tests not being run…

  17. Is NCrunch build smart

    This makes sense. I've always found it hard to narrow down all that NCrunch does into a simple list of features, and it seems that this feature could use some more attention.

  18. Global Installer

    Hi, thanks for posting! This was something that was considered very carefully when the first NCrunch installers were being written. Unfortunately, I quickly realised that although it would save time for some people, it also had some serious drawbacks: 1. It makes the installer MUCH more diffi…

  19. Running only impacted tests

    NCrunch does have this as a feature, although the approach is somewhat different to Greg's tool. By default, NCrunch uses test impact detection in order to establish the 'priority' of a test rather than whether or not it should be run. As NCrunch is a truely continuous test runner, it isn't nece…

  20. Is NCrunch build smart

    Absolutely. This has been in NCrunch since its first public beta release.