Forum member

nshallred

6 posts

Posts by nshallred

  1. NUnit tests marked with Platform attribute are treated as inconclusive when conditions not met

    Hi, thanks for the quick response. I was afraid that it would be something like that. I appreciate that trying to work around the limitations of the Platform attribute is fraught with peril.

  2. NUnit tests marked with Platform attribute are treated as inconclusive when conditions not met

    I'm running a project using the following versions Visual Studio 2026 (18.5.2) NCrunch (5.21.0.10) Nunit (4.6.0) I encountered an issue with a test marked with NUnit's PlatformAttribute. The intention was that these tests would not run when running under Windows. It seems that NCrunch tr…

  3. Sporadic IndexOutOfRangeException in TestCaseSource-based tests

    With VS 2019 not too far away, that's probably the direction to go (presumably NCrunch support will be available around the same time?). Switching to an older version of VS is not a viable option due to our source code integration, not to mention our move to .net core. It's curious that the prob…

  4. Sporadic IndexOutOfRangeException in TestCaseSource-based tests

    Thanks for responding so quickly. Thanks also for the detailed explanation of what is going on behind the scenes. 1. I've looked in detail at all the tests using TestCaseSource; no obvious usage of unsafe code either directly in the generated tests. A couple use types defined in external packa…

  5. Sporadic IndexOutOfRangeException in TestCaseSource-based tests

    Environment: Visual Studio Version: 2017 (15.9.6) NCrunch: 3.23.0.10 Test Framework: NUnit (3.11) We're in the process of converting a number of our projects to NET Core/Net Standard and I've run into an issue with one particular solution. I'm getting errors similar …

  6. Embedded resources in a shared project lose their folder hierarchy when built by NCrunch

    I have come across an issue whereby the resource names given to embedded resources in an assembly are different when built by NCrunch as apposed to Visual Studio. Visual Studio includes the root namespace of the assembly as well as any containing folders; whereas NCrunch only has the root namespace…