Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. xUnit Collection Fixtures

    Hi, can you share any sample code that can reproduce this issue? Cheers, Remco

  2. Build Fails: Single-threaded Apartment

    Hi Ed, This is a very, very old issue. To my knowledge, it only affects VS2008 and I've had no reports of this warning having any teeth. Are you using 'Warnings as errors' in your build settings?

  3. Ternary Operators

    [quote=Pjotrtje;7129]Hey, Too bad. Visual Studio code coverage tool does seem to be accurate though. [/quote] Interesting .. I do wonder how they've done that. [quote=Pjotrtje;7129] I have no clue how your algorith is. But it is not possible that when the line contains a Ternary Operators …

  4. Code coverage issue for XUnit

    Can you describe what kind of behaviour you're seeing? Is it that the coverage is showing only for one of the theory sub-tests? Also - can you confirm which version of Xunit you're running?

  5. NCrunch File Permissions

    For the 'Copy referenced assemblies to workspace' setting to have solved the problem, the file must be built from another project in your solution or be a resource associated with another project. In either case, the 'Additional files to include' wouldn't be the right solution. It may be worth l…

  6. An option to disable parallel execution by NUnit categories?

    Ralf is correct. The only way to selectively use parallel execution is by declaring attributes (at assembly, fixture or test level) to restrict test execution. This means you will need to use ExclusivelyUsesAttribute. Declaring it in your own code is an approach taken by many users as you then wo…

  7. Easy way to copy an additional file to the _ncrunchreferences folder?

    Sorry :( I've suggested the only options that I know will solve this problem. There isn't an in-between in terms of the Copy referenced assemblies behaviour - this is all controlled by MSBuild rather than NCrunch. When the setting is disabled, NCrunch just suppresses the entire set of behaviour. …

  8. Ternary Operators

    Hi Pieter, Thanks for posting! When using the ternary expression you've provided, it looks as though the compiler treats this as a single physical statement. You'll notice this if you try to set a breakpoint on the second or third line of the statement. It'll just land at the top. This …

  9. NCrunch File Permissions

    Hi, thanks for sharing this issue. This is most likely due to the file not landing in its expected place inside the NCrunch workspace. Have a look at [url=http://www.ncrunch.net/documentation/considerations-and-constraints_implicit-file-dependencies]implicit file dependencies[/url] - this gives …

  10. Easy way to copy an additional file to the _ncrunchreferences folder?

    Hi, thanks for posting! Unfortunately the 'Copy referenced assemblies to workspace' setting is intended to be the solution to this problem. The setting can't differentiate between the file you need and the files you don't, so it just copies them all as per normal build behaviour. What sort of…

  11. "Additional files to include" only relative to project file path?

    Thanks, I think I now have a better understanding of the problem you're trying to solve. The 'Additional files to include' feature wasn't intended to resolve problems such as this, so I suggest steering clear of it. The problem itself is that of an 'implicit co-location dependency' on another pr…

  12. "Additional files to include" only relative to project file path?

    Unfortunately there's no way the 'Additional files to include' feature can work with files on a different disk. This is because the feature itself works by copying the files to a location in the NCrunch workspace with an identical relative directory structure when compared to the foreground solutio…

  13. No Green Checkmark when Test Successfully Ends

    Hi Ed, Thanks for sharing this issue. When you see this happen, could you check the status of the tasks inside the Processing Queue window? Are the tasks shown here as still executing? Knowing this will help to establish whether this is a UI synchronisation issue or if there is something in …

  14. Error StackTrace is not navigatable when instrumentation is off

    [quote=Konstantin Spirin;7101] The difference is in base paths: - [b]"c:\Users\kaspir\AppData\Local\NCrunch\10692\37\"[/b] - [b]"C:\TopCoder\"[/b] <-- this is the desired path The output window could instead of highlighting the whole [u][b]C:\TopCoder\SingingEasy.cs:line 41[/b][/u] only highli…

  15. Problem with Fakes

    Great! It's interesting that MSTest didn't complain about this. I'm glad all is working well now :)

  16. Grid node server "Not connected"

    Great! Glad that did the trick :)

  17. xUnit V2 theory of non basic types + NCrunch = giving wrong results?

    Hi Pieter, I'm hoping to have this out some time within the next couple of weeks. The timing (and scope) of the final Xunit release caught me a bit off guard, and there are other features that also need to be stabilised before I can push out a build. If it isn't there in time for you to give it…

  18. xUnit V2 theory of non basic types + NCrunch = giving wrong results?

    Hi Pieter, I can understand how the results above are confusing. Some of them are not correct. I'll try to explain the differences you're seeing to give you an idea of what is happening here. The XUnit VS test runner and TFS each have a different mechanic. TFS is able to perform a test disc…

  19. Can NCrunch be configured to work with Concordion?

    [quote=qujck;7097]This configuration stops the error but NCrunch does not run the Concordian tests (standard unit tests are still fine) and TestDriven.NET stops running the tests![/quote] Sorry, this was the unfortunate result that I was expecting. Likely the only way to solve it would be to r…

  20. Can NCrunch be configured to work with Concordion?

    Hi, thanks for posting. NUnit addins aren't officially supported by NCrunch because the range of different test structures these addins can produce make it impossible to foresee how they will operate or how to handle them. NUnit v2 was not designed to be used as a service library by external run…