chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
0 votes

When I have TypeMock Suggest and Save tests for a small test project I've created I get the error below.  If I create the same tests manually in a separate project then the tests work.  Any ideas?

Initialization method UnitTestMovieRatings.PriceTests.Setup_RunBeforeEachTest threw exception. TypeMock.TypeMockException: TypeMock.TypeMockException: 
*** *** To protect you from disk deletions and registry corruptions this test class may only run using Typemock SmartRunner.
    at TypeMock.ArrangeActAssert.Suggest.TestUtil.AssertRunningInSandbox()
   at UnitTestMovieRatings.PriceTests.Setup_RunBeforeEachTest() in C:Userschristian.kingdocumentsisual studio 2015ProjectsMovieRatingsTypeMockGeneratedTestsMovieRatingsUnitTestsPriceTests.cs:line 59
   at TypeMock.MockManager.getReturn(Object context, String typeName, String methodName, Object methodGenericParams, Boolean isDecorated, Boolean isInterceptedType, Object[] methodArguments)
   at Typemock.Interceptors.Profiler.InternalMockManager.getReturn(Object that, String typeName, String methodName, Object methodParameters, Boolean isInjected, Boolean isInterceptedType)
   at UnitTestMovieRatings.PriceTests.Setup_RunBeforeEachTest() in C:Userschristian.kingdocumentsisual studio 2015ProjectsMovieRatingsTypeMockGeneratedTestsMovieRatingsUnitTestsPriceTests.cs:line 57
asked by chking999 (1.6k points)

Please log in or register to answer this question.

...