Forum member

Lee Rothman

3 posts

Posts by Lee Rothman

  1. User not authenticated running integration tests

    [quote=Remco;7275] Ok, sorry, that's a very different story then. Which test framework are you using? Is it MSTest? How is the initialisation code hooked into the test framework?[/quote] Yes, test framework is MSTest. Not sure what you mean by hooked in? But the test code is as follows. (S…

  2. User not authenticated running integration tests

    Hi, Thanks for the response. I don't think so, even if I run one of the failing tests in isolation it still passes with the VS test runner, but fails in ncrunch.

  3. User not authenticated running integration tests

    I'm having an issue running some integration tests with ncrunch. Within our unit of work save changes method we check that the user has been authenticated using the .net System.Security.Principal.GenericPrincipal.Current and inspecting the Identity.IsAuthenticated property. This is returning false…