Hello,
I have unit tests that are working fine locally in Visual Studio 2013, but when the build runs on TFS and attempts to run the Unit Tests it fails with the following:
Test method WingsServicesTests.Unit.LoanIntegrationServiceTests.AddressNeedsUpdating_GetSingleValueFromField threw exception:
Telerik.JustMock.Core.ElevatedMockingException: Cannot mock 'Boolean IsHostUp()'. The profiler must be enabled to mock, arrange or execute the specified target
I searched the forums and found referneces to this article: http://www.telerik.com/help/justmock/integration-msbuild-tasks.html
I was not sure where the items referenced in that article should be placed, so I put them in all 3 project files in the solution, including the test project, but it still doesn't work.I have set both "Perform Code Analysis" and "Analyze Test Impact" to false in the build definition, thinking that those might be the problem if they try to do code coverage.Any help would be appreciated.
Thanks,
Andrew
I have unit tests that are working fine locally in Visual Studio 2013, but when the build runs on TFS and attempts to run the Unit Tests it fails with the following:
Test method WingsServicesTests.Unit.LoanIntegrationServiceTests.AddressNeedsUpdating_GetSingleValueFromField threw exception:
Telerik.JustMock.Core.ElevatedMockingException: Cannot mock 'Boolean IsHostUp()'. The profiler must be enabled to mock, arrange or execute the specified target
I searched the forums and found referneces to this article: http://www.telerik.com/help/justmock/integration-msbuild-tasks.html
I was not sure where the items referenced in that article should be placed, so I put them in all 3 project files in the solution, including the test project, but it still doesn't work.I have set both "Perform Code Analysis" and "Analyze Test Impact" to false in the build definition, thinking that those might be the problem if they try to do code coverage.Any help would be appreciated.
Thanks,
Andrew