Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Code Coverage % Metrics

    Hi, thanks for posting! The best way to do this is to make use of [url=http://www.ncrunch.net/documentation/concepts_code-coverage-suppression]code coverage suppression comments[/url]. If the the class resides within a test project, it may also be worthwhile to simply exclude the whole project…

  2. Performance Issues with NCrunch v2.6

    Hi, thanks for sharing this issue. This definitely sounds like a very serious memory leak. It hasn't shown up in any of my immediate tests, so I suspect there may be something in your environment that triggers it or makes it more severe. I'm wondering if you might be able to help by answering…

  3. NCrunch Failing to comple .Windows & .WindowsPhone projects inside Universal Application solution

    This problem seems to be related to how the template shares the App.xaml file between projects in the solution. Visual Studio has slightly different build logic compared to MSBuild when processing a solution as a whole, so I can only assume the difference is allowing it to work artificially. Thi…

  4. Project Build Failure with T4 template with partial class and interface

    Hi, Thanks for sharing this issue. NCrunch itself doesn't care about the language structure being used here - as far as NCrunch is concerned, it's just a call to MSBuild to sort it out. I think that most likely whats happening here is that there is a dependency that hasn't been properly capture…

  5. NCrunch Failing to comple .Windows & .WindowsPhone projects inside Universal Application solution

    Hi, Can you confirm 100% that these projects are building correctly for you inside Visual Studio? When creating a solution using the template you've mentioned, I seem to receive the same error completely regardless of whether NCrunch is being used or not. I think there maybe something more seri…

  6. GetHashCode Nrunch vs Nunit different values

    Hi, It seems as though your test project has been designed to only work with an X64 architecture. So to me it makes sense for you to change the processor architecture in the build configuration for this project to X64. In this way, there's no way the project can be loaded in an X86 architectu…

  7. Run issue with async method

    Absolutely. The new error is: Expected a return type of 'System.Threading.Tasks.Task' on an async method

  8. Run issue with async method

    Hi, Thanks for sharing this issue. NCrunch's MSTest runner doesn't support execution of 'async void' tests, because the behaviour is itself modeled off MSTest, which won't recognise 'async void' tests. The error message is bad, and should be improved. I'll make an adjustment so that it is …

  9. Build Error with JustMock

    Thanks, I think I've figured this one out. NCrunch isn't relocating/adjusting this reference because it exists under 'Program Files', which is usually referenced via the GAC or through absolute file path references. The way this reference has been introduced would create problems if the projec…

  10. Build Error with JustMock

    It looks like NCrunch's translation for this reference seems to be failing. I'm not sure why this is the case - hopefully there isn't some kind of override being put in place by JustMock. I'm wondering if you could check the following: - If you right-click on the failed build in the Tests Windo…

  11. Build Error with JustMock

    Ok - I think we'll need to get a capture of the build output for this project. Under your global configuration settings, set the 'Log verbosity' setting to 'Detailed', then reset the engine and find the failed build task in the queue. The output text should contain a wealth of MSBuild informatio…

  12. Build Error with JustMock

    Can you confirm where you see the error? This is important as I need to know whether the error is appearing at build time or somewhere else.

  13. Build Error with JustMock

    Hi, Thanks for sharing this issue. This looks very much like an assembly reference build error. Does the project build correctly? If not, I don't think this error is related to the instructions on the JustMock page, or the JustMock profiler itself. Can you give me more context around this e…

  14. NCrunch Failing to comple .Windows & .WindowsPhone projects inside Universal Application solution

    Hi Alan, It looks like something is wrong here with the OutputPath or AssemblyName property inside the project's build XML. Were these projects created from the standard PCL template in Visual Studio? If you can get me a copy/paste of the active set of properties inside the project build XML,…

  15. StackTrace-Window height too short

    The test list will always cap out at 6 items before the scrollbar will appear. This is by design, as mammoth popups aren't always a welcome sight. The fix will be for the exception popup only, which will be sized correctly without scrollbar for less than 12 items. The exception popup needs more s…

  16. StackTrace-Window height too short

    Hi, It looks like this is being caused by an issue with the height calculation. The issue affects all stack trace popup windows with less than 12 items in them, and basically results in the window always showing about 10 pixels smaller than it is supposed to. This should be simple to fix. I …

  17. Test-Log Window Font breaks output

    Excellent! I'm not sure why the underscores would suddenly start showing without any font changes, but we'll definitely take it :) I did a little research online and it seems as though missing underscores for Courier New can be a fairly common rendering problem that affects some systems. If it co…

  18. Markers do not update when tests switch between failing / passing state

    This seems to have been a problem with the marker visual refresh. It would only affect source files that containing single line tests (i.e. tests with only a '>' marker but no normal line markers showing). It's pretty unusual for a file to have only entry points showing and no covered lines. I …

  19. Markers do not update when tests switch between failing / passing state

    Sorry, scratch that. I've reproduced the issue. I'll update you soon.

  20. Markers do not update when tests switch between failing / passing state

    Hi, Thanks for sharing this problem. The steps that you've described would suggest that NCrunch is out of sync with the changes being made to your code. Do you have a sample project you might be able to submit that can be used to reproduce this issue? You can submit code via the [url=https…