Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
.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…
29 Nov 2023 09:02 UTC
-
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…
22 Nov 2023 23:32 UTC
-
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:/…
22 Nov 2023 02:46 UTC
-
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.
17 Nov 2023 12:39 UTC
-
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.
16 Nov 2023 22:45 UTC
-
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.
16 Nov 2023 22:37 UTC
-
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?
13 Nov 2023 22:57 UTC
-
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…
10 Nov 2023 22:11 UTC
-
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…
08 Nov 2023 21:44 UTC
-
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…
07 Nov 2023 11:53 UTC
-
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…
03 Nov 2023 06:12 UTC
-
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.
02 Nov 2023 23:24 UTC
-
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…
02 Nov 2023 00:24 UTC
-
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…
01 Nov 2023 22:50 UTC
-
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…
01 Nov 2023 11:47 UTC
-
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)
31 Oct 2023 23:44 UTC
-
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, …
31 Oct 2023 23:42 UTC
-
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 …
31 Oct 2023 23:28 UTC
-
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…
30 Oct 2023 22:59 UTC
-
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…
30 Oct 2023 04:58 UTC