Forum member

chredenex

3 posts

Posts by chredenex

  1. Sporadic IndexOutOfRangeException in TestCaseSource-based tests

    [quote]there may be others writing tests that do the same thing.[/quote] The promotion happened inside product code that was being tested, the test looked innocent enough (as it just called a method). Thanks for your response and for working to protect us from ourselves!

  2. Sporadic IndexOutOfRangeException in TestCaseSource-based tests

    [quote] how did you think to check this!?[/quote] Well, it's been broken for months now, so eventually you end up trying everything! The same problem only occurred for one or two of us, so it had to be some kind of environmental variable. I didn't think it would be an actual environment variable …

  3. Sporadic IndexOutOfRangeException in TestCaseSource-based tests

    I have finally found the cause of this and fixed it (stopped it happening, anyway). I ran the following Powershell command: [code=powershell]gci env:* | where-object -property name -like *ncrunch* | format-list[/code] This gave me back the following environment variables (edited - ... added …