Hi
We have a build environment running under .NET 2.0 using CC.Net 1.0, MSBuild, NCover v1.5.4 and NUnit 2 v2.2.7. We are considering using TypeMock.NET as our mock framework of choice. As part of our investigation we need to ensure that it doesn't break the build environment.
We have come across the following error when trying to run unit tests via MSBuild that are making use of TypeMock .NET:
Test: Sanlam.Messages.UnitTest.MessagesFixture.TestPropertyMessageDecoratedDatabaseMessage
Type: Failure
Message: TypeMock.TypeMockException : *** MockInserter not running, please run 'mocking_on.bat' before running the tests
at TypeMock.MockManager.Init(Boolean collectAllCalls)
at TypeMock.MockManager.Init()
at Sanlam.Messages.UnitTest.MessagesFixture.Setup()
Running the mocking_on.bat doesn't solve the problem. Can you please help.