Hi,
I am trying to run my test case using MSTest, but i get below error, it seems profiler is not enabled, how to enable it thru command line?
I am trying to run my test case using MSTest, but i get below error, it seems profiler is not enabled, how to enable it thru command line?
MESSAGE: Test method STB.EP.RBS.Test.TransportBooking.DriverComponentTest.testCheckExistDriver threw exception: Telerik.JustMock.MockException: Profiler must be enabled to mock/assert target SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated) method. +++++++++++++++++++ STACK TRACE: at Telerik.JustMock.Handlers.InterceptorHandler.Create(Object target, MethodInfo methodInfo, Boolean privateMethod) at Telerik.JustMock.MockContext`1.SetupMock(MockExpression`1 expression) at Telerik.JustMock.Mock.<>c__DisplayClassd.<Arrange>b__c(MockContext`1 x) at Telerik.JustMock.MockContext.Setup[TDelgate,TReturn](Instruction instruction, Func`2 function) at Telerik.JustMock.Mock.Arrange(Expression`1 expression) at STB.EP.RBS.Test.TransportBooking.DriverComponentTest.testCheckExistDriver() in C:\Project\STB\RBS\Tests\STB.EP.RBS.Test\TransportBooking\DriverComponentTest.cs:line 58 Thanks! Regards Suyi