Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Exceptions from XUnit v3 IClassFixture are swallowed
I've prepared a build containing a fix for this issue. Would you be interested in giving it a try? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_5.15.0.3.msi]NCrunch_Console_5.15.0.3.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_5.15.0.3.zip…
16 May 2025 05:06 UTC
-
Exception thrown in Rider running version 5.14.0.5
I've prepared a build containing a fix for the getChildren error described above. Would you be interested in trying it out to see if it has any affect on the stall? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_5.15.0.3.msi]NCrunch_Console_5.15.0.3.msi[/url] [url=https://s…
16 May 2025 05:06 UTC
-
Running Reqnroll Tests in Sequence
If you disable the [url=https://www.ncrunch.net/documentation/reference_solution-configuration_allow-parallel-test-execution]allow parallel test execution[/url] setting, do the timeout failures stop happening?
15 May 2025 22:25 UTC
-
Different NCrunch file naming for slnx
Thanks for sharing this issue. It isn't supposed to work this way .. it's supposed to strip the .slnx just like it does the .sln. I'll see about getting this fixed. Sorry for the trouble.
15 May 2025 22:19 UTC
-
Exception thrown in Rider running version 5.14.0.5
Does Rider give you an opportunity to dump the call stack when the stall happens? It would be rather perplexing to see the stall being related to this error. I do intend to look at fixing the error, but solving the stall is going to require much more detailed information.
15 May 2025 11:47 UTC
-
Exceptions from XUnit v3 IClassFixture are swallowed
Thanks for sharing this issue. I've reproduced it as described. The actual execution of tests and consolidation of results is handled inside Xunit itself, so NCrunch is walled away from this. I'm not sure right now why the behaviour is different. I'll raise this with the Xunit team to see if t…
15 May 2025 11:39 UTC
-
UserException from AnalyseComponentBuild with VS 17.4 Solved with NC v5.14
Thanks for sharing these issues. Quite a few things broke in the VS 17.14 release and required changes on NCrunch's side. Most of what you've posted here involves errors that are tied to recent fixes, so I'd suggest upgrading to NCrunch v5.14 to see if the problems are solved. I've added a 7 da…
15 May 2025 07:47 UTC
-
Running Reqnroll Tests in Sequence
Hi, thanks for posting. The solution to this problem depends on how the tests have been engineered in regards to the connection they have to the DB, and when this connection gets terminated. ExclusivelyUsesAttribute is the correct way to prevent tests from being run in parallel, but this only …
14 May 2025 23:09 UTC
-
Exception thrown in Rider running version 5.14.0.5
Thanks for sharing these. These errors started showing up with Rider 2025.1. As far as I can tell, they don't seem to have a functional impact on the IDE - They seem to be warning about an API misuse; something that should be corrected to implement best practice. Did the errors seem to be trigg…
12 May 2025 11:07 UTC
-
"Sequence contains no matching element" exception in Visual Studio Preview
Thanks for confirming this. I've implemented a fix for this that will be out with the next build. It should be possible to work around this using environment variables. Under your global NCrunch configuration, find the setting 'Custom environment variables'. You need to enter two variables i…
07 May 2025 20:05 UTC
-
"Sequence contains no matching element" exception in Visual Studio Preview
Hi, thanks for sharing this issue. I think this is an edge case in the SDK selection, related to the build's 'preview' status (unfortunately this is a thing, we need special handling for when VS is in a preview state, which isn't required when it goes RTM). Could you confirm if you have any no…
07 May 2025 10:15 UTC
-
Restrict ToString
Hi, thanks for posting. This configuration setting is called 'Restrict ToString usage to avoid side-effects'. It's under the 'Runtime Data Inspection' category in your NCrunch settings.
06 May 2025 20:11 UTC
-
Configuration: Control cores used for test execution
[quote=nCubed;18101]In the NCrunch Configuration general settings, there is a setting for "Control cores used for test execution" with the default value set to false. I've search the docs and forums but can not seem to find any reference to this setting. Can someone please chime in with the what thi…
02 May 2025 20:47 UTC
-
NCrunch has encountered an internal error: System.IndexOutOfRangeException: Index was outside the bo
Here's the fixed build. Thanks for sticking with me on this. This problem has been plaguing us all for 6 years. Good to finally put it to rest. [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_5.15.0.2.msi]NCrunch_Console_5.15.0.2.msi[/url] [url=https://s3.amazonaws.com/d…
01 May 2025 04:37 UTC
-
NCrunch has encountered an internal error: System.IndexOutOfRangeException: Index was outside the bo
Nevermind - I've isolated it. It's an out-by-one issue in the coded index size calcs when reading the assembly from disk. It can only be triggered by an assembly containing precisely 8191 method definitions, or in your case, an assembly that makes references to precisely 8191 external methods. …
01 May 2025 02:18 UTC
-
NCrunch has encountered an internal error: System.IndexOutOfRangeException: Index was outside the bo
Thanks for sending this through. Could you send another bug report with the project fixed and building correctly? Make sure to turn off test execution with your engine mode so that the last thing in the log is the build of the assembly (you can right click it in the Tests Window and force it to re…
01 May 2025 00:36 UTC
-
xunit v3 private test methods not discovered
[quote=Argamon;18095]Wow, that was fast. I hope it wasnt more work than just some different BindingFlags. It works like charm. Thanks.[/quote] That was, quite literally, all it was. Nice to have something easy to fix for a change. I'm glad it works for you. [quote=Argamon;18095] We both now…
30 Apr 2025 10:03 UTC
-
xunit v3 private test methods not discovered
Thanks for sharing this issue. I've reproduced it as described. NCrunch is not detecting private tests under Xunit3. I've prepared a build with a fix if you are interested in giving it a try: [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_5.15.0.1.msi]NCrunch_Console_5…
30 Apr 2025 01:56 UTC
-
NCrunch does not ignore xunit theory data source
Thanks for clarifying this. The problem you're encountering is caused by a lack of clarity between test discovery and test execution. Theories like the one you've described are generated using data that is encountered during test discovery. Test discovery is a special step that is performed b…
29 Apr 2025 11:06 UTC
-
NCrunch has encountered an internal error: System.IndexOutOfRangeException: Index was outside the bo
[quote=robinz;18089]I wanted to let you know that I was having a lot of trouble with NCrunch throwing the error a few days after you posted 5.14.0.1. I installed 5.14.0.1 so that I could send you the bug report. I've been running 5.14.0.1 for around 10 days, and it hasn't exhibited the error. [/quo…
28 Apr 2025 20:38 UTC