Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. Build failure - no space before base class

    Thanks. Knowing that the issues are occurring within the scope of a single project helps to rule out a large number of dependency resolution and versioning issues, so this is good news. I think the best thing to do from here (if you are able to reproduce the problem again) would be to try to ide…

  2. System.NullReferenceException when running with isolator V7

    Thanks - that's very useful. Are you able to share which precise version of Isolator you're using? I'll look into the problem here and will try to reproduce it.

  3. Tests with singletons

    Hi, thanks for posting! The problem you're experiencing is most likely due to the sequence in which your tests are being executed. Other test runners will often have a fixed order in which they execute the tests you've selected (for example, alphabetical). NCrunch doesn't follow this pattern, a…

  4. System.NullReferenceException when running with isolator V7

    Hi, thanks for sharing this issue. Are you able to share any code from the test? If you're able to show the test record/expectations this may help highlight the the issue. Also, can you confirm whether you're running the latest version of Isolator V7? The first release of Isolator V7 had som…

  5. Build failure - no space before base class

    Sorry, a few more questions to help to better understand what is happening: - Are there any other references from the failing project(s) to types within the project that contains ViewModelBase? Do any of these references throw errors? - Are you using the 'Copy assembly references to workspace' …

  6. Integration with SpecFlow

    I think the tricky thing here would be reliably identifying when the file is being used by a custom tool, and when it isn't. There are certain things that could probably be hard coded (i.e. .feature files for specflow), though probably this would need to be configurable. I'll have a think about it…

  7. Build failure - no space before base class

    Nice testing. What is the encoding used for these files as they are stored on disk?

  8. Some NCrunch feedback

    I really can't thank you enough for this. I've already noted a few things down for revision. Note that you can actually customise the colours of the markers (this is in your NCrunch global configuration, and it's also in the first-time-use wizard that popups when you first enable).

  9. Issue with structure map dependency resolver test

    Hi, thanks for posting! It looks to me like this test is making assumptions about the location of assemblies within its application domain. I suggest having a read of the test issue troubleshooting guide, as it has a section that covers this - [url=https://www.ncrunch.net/documentation/troublesh…

  10. Build failure - no space before base class

    Absolutely - if you can send through a bug report straight after it happens, that would be excellent. Also would be good if you can provide any specific details about which change you made to the codebase to surface the issue. Considering how frequently this is happening for you I suspect there …

  11. NCrunch complains about constructor param count, but has wrong count

    Hi John, I suspect this is caused by the same issue you've highlighted in your other thread - http://forum.ncrunch.net/yaf_postst339_Build-failure---no-space-before-base-class.aspx When you experience this issue, is it generally between classes that are being referenced across project/assembly…

  12. Build failure - no space before base class

    Hi, thanks for posting! This is caused by a synchronisation issue between NCrunch and your codebase. Somehow NCrunch has managed to establish a slightly warped picture of the class you were having difficulty with, and by changing the class, you've triggered NCrunch to re-synchronise its contents…

  13. System.Security.VerificationException : Operation could destabilize the runtime.

    Hi, thanks for posting! Are you making use of any of the security features of the .NET runtime? Or is there anything that could be considered unusual about this particular project? (i.e. custom frameworks, build steps, environmental differences).

  14. Constantly running out of disk space on my 6GB RamDrive with a 200mb solution

    Ok - it's almost certainly the duplication of the nuget resources then. 24 * 120 = 2880MB and then this will be duplicated again for some of the projects you're actively working in. For the time being, I think it's a safe assumption that the layout of this solution won't fit on a RAM drive. I'l…

  15. Constantly running out of disk space on my 6GB RamDrive with a 200mb solution

    That does sound like it would likely be the source of most of the disk consumption. How many projects do you have in your solution?

  16. Constantly running out of disk space on my 6GB RamDrive with a 200mb solution

    I think the first thing to identify would be what is eating up so much space in the NCrunch workspace. NCrunch can and will duplicate your projects inside the workspace, though not normally more than would be required to run things in parallel - so using more than 6GB on a 250MB solution seems quit…

  17. Can't covering the test method in VS2010?

    Hi Ray - Thanks for the feedback. It appears as though the problem is simply that you've ignored the test you're trying to execute with NCrunch. Most likely you took the default option during the startup wizard to 'Ignore all tests, I will choose which tests to run with NCrunch manually'. In…

  18. Can't covering the test method in VS2010?

    Hi Ray, I'm wondering if you'd be able to answer some of the following questions - this will help me to better establish what is happening in your codebase. - Does NCrunch run for any project/solution at all on your machine? - Does the Tests Window list any tests at all? (make sure you don't …

  19. Coverage isn't updated when using Assembly References

    Thanks for sharing this. Having had a good think about this, I'm not sure if I can recommend an approach that would allow you to use NCrunch on this solution without having most of your project tree loaded into memory. NCrunch is able to load and work with projects that exist outside the current s…

  20. Coverage isn't updated when using Assembly References

    Hi Aviram, Thanks for posting! In its current state, I see no way to make NCrunch work correctly with your current solution structure. While it is referencing static assemblies on disk (and not projects), NCrunch doesn't have a way to make a connection between projects that need to be hosted …