Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. .NET8 Preview 7

    [quote=zeko77;16942]The only issue I am experiencing now is that record data types are marked with black No covering tests marker. [/quote] Thanks for sharing this. I've taken a look at this issue and determined that there isn't much we can practically do about it, as the problem isn't in NCr…

  2. Unable to hash type 'Code' due to exception: System.NotSupportedException: Unknown element type: Var

    My apologies. I fixed the immediate issue but should have confirmed the fix against the sample you provided.. if I'd done this I would have noticed the exact same problem showing up in a different place. Would you mind trying the build below? [url=https://s3.amazonaws.com/downloads.ncrunch.ne…

  3. Unable to hash type 'Code' due to exception: System.NotSupportedException: Unknown element type: Var

    Would you be interested in trying the build below? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.19.0.7.msi]NCrunch_Console_4.19.0.7.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.19.0.7.zip]NCrunch_Console_4.19.0.7.zip[/url] [url=https:/…

  4. Unable to hash type 'Code' due to exception: System.NotSupportedException: Unknown element type: Var

    Hi, thanks for sharing this issue. I've reproduced it as described and will update you when we have a solution available.

  5. DataRow issue with MSTest 3

    [quote=gnewtzie;16932]This seems to be broke on MSTest 3.1.1 again. [/quote] Thanks for sharing this. Can you share a code sample of the breakage? I can't seem to get this to fail using the simple example above.

  6. NCrunch under Mac/Parallels

    Hi, Sorry ARM is not a supported platform for NCrunch. There is an [url=https://ncrunch.uservoice.com/forums/245203-feature-requests/suggestions/14403906-arm-support]active feature request[/url] for this if you want to add your voice to it.

  7. Ncrunch license is not working

    Hi, thanks for sharing this issue. From the information you've provided, this license should work with the version of NCrunch you're running. Does it work correctly if you enter the license directly into the software and avoid using the license server?

  8. Base class is not showing any code coverage

    [quote=nCubed;16927]Just ran into the same issue. But different scenario. About the best I can recall: * add new base class * create new derived class in another project * in derived class, split the window in VS (pull down from the top of the scroll bar to split horizontall) The bottom window…

  9. OpenCover report

    That's interesting. Even with the build configuration set to RELEASE, NCrunch will still override the optimize code setting and turn on debug symbols to ensure it can still operate. Most likely this is having more of an effect on Sonar. NCrunch doesn't touch the files from the normal build outp…

  10. Controlling the batch size

    It is guaranteed that when the code changes, all test processes must be recycled by NCrunch before they can run the new code. This is because of a technical limitation. Once an assembly has been loaded into a .NET application domain, it cannot be unloaded without the entire domain being taken do…

  11. ArgumentOutOfRangeException when using shared link global usings

    [quote=DrDelete;16918] Question: Why did my inital .csproj content not work ? (without the closing tag) [/quote] NCrunch does some limited parsing of the project file when modifying it to include a few extra things to adjust MSBuild behaviour. It's a bit tacky, but we've found this to be the f…

  12. ArgumentOutOfRangeException when using shared link global usings

    Hi, thanks for sharing this issue. Could you check whether the project files involved each have a correct closing tag in the form of: </Project> ? This error seems to be related to the tag not being found or perhaps being syntactically different.

  13. OpenCover report

    Thanks for sending through the files. It looks like they contain the same basic data, but the identifiers are different. These identifiers are generated based on declaration order in the assembly PDBs, which are in turn generated by either the compiler of the symbol writer built into the O/S. A…

  14. Controlling the batch size

    [quote=samholder;16912]ok, so I got the atomic attribute working and it allows the tests to be run in batches and thats great, however I misunderstood how it worked, and it effectively means you can't run a single test on its own any more as it has to run all those tests. I think this could be ok, b…

  15. Controlling the batch size

    [quote=samholder;16909] Thanks for the input. No chance of some control over the batching size even if its only a hint like 'prefer large', 'prefer very large', 'prefer extra large' option in the config? or maybe a 'by feature' option that just applies the atomic attribute to the feature automatica…

  16. Base class is not showing any code coverage

    Thanks! Can you confirm whether your refactoring was done manually or with a tool? (i.e. VS built-in refactorings or Resharper)

  17. OpenCover report

    [quote=simongh;16903]Thanks, appreciate your input on this. My assumption was that the NCrunch addin vs the console tool would be built from the same code, so shouldn't generate significantly different files. I'll post my my opencover files to Sonar & see what they have to say.[/quote] Sorry, …

  18. Controlling the batch size

    From the features we have available, the closest thing I can think of would be to use [url=https://www.ncrunch.net/documentation/reference_runtime-framework_atomic-attribute]atomic attribute[/url] on a large fixture that contains many test cases, each one of which is an integration test that is set …

  19. OpenCover report

    Sorry, there's not much further I can take this issue without input from Sonar. Right now we're just making empirical guesses about the way that they parse this file. If they're able to provide more detailed information about what they feel is wrong with the file, I will look at making adjustments…

  20. Base class is not showing any code coverage

    [quote=nCubed;16897]And just like that the code coverage markers are back again; similar to another user's post a bit ago. FWIW: in the time I had posted the original message, I had done a complete system shutdown and reboot. To answer your question, there were no markers. Just the standard VS gu…