Forum member

sammicrosoft

2 posts

Posts by sammicrosoft

  1. Is out of process nature of run failing my test?

    Thanks Remco. To be specific, our unit tests are written in Visual Studio UnitTesting framework. The test that is failing due to the reason stated before is part of product code, not test code. The same test passes when running from Visual Studio or MSTest. Sorry for not being clear. Thread.CurrentP…

  2. Is out of process nature of run failing my test?

    Hi, After installing NCrunch, bunch of my existing MSTest tests failed. Upon investigation, I found most of the test failed as the value of Thread.CurrentPrincipal.Identity.Name in the below product code is getting set to empty whereas it is set to correct value in domain\alias format when run un…