First, I do see 'Disable TypeMock.NET' which means TypeMock is enabled.
I'm using typemock.net v2.3.1 and testdriven.net v1.0.
Running the test should be really simple:
Just run your tests using TestDriven.NET (Right Click on test and hit Run Tests).
Try it and if it doesn't work post the error and we can help you out
When I try this, I get the following output:
Info: Test Execution
Info: Exploring Fa22BuilderTests, Version=1.0.2732.17030, Culture=neutral, PublicKeyToken=null
Info: MbUnit 2.22.0.0 Addin
Info: Found 1 tests
Info: [failure] SecurityValidatorTest.setUp.verifyAllowAll_Success.tearDown
TestCase 'SecurityValidatorTest.setUp.verifyAllowAll_Success.tearDown' failed:
*** MockInserter not running, please run 'mocking_on.bat' before running the tests
TypeMock.TypeMockException
Message:
*** MockInserter not running, please run 'mocking_on.bat' before running the tests
Source: TypeMock
StackTrace:
at TypeMock.MockManager.Init(Boolean collectAllCalls)
at TypeMock.MockManager.Init()
X:FA22SDFSLGTSourceFa22DesignXDE_ModelFa22BuilderTestsControllerCommandsBuildCommandsSecurityValidator.cs(74,0): at Slgt.Controller.Commands.BuildCommands.SecurityValidatorTest.setUp()
Info: [reports] generating HTML report
TestResults: file:///x:/fa22/sdf/slgt/source/fa22/design/xde_model/fa22buildertests/bin/debug/Fa22BuilderTests.Tests.html
0 succeeded, 1 failed, 0 skipped, took 0.00 seconds.
Here is the contents of the 'mocking_on.bat' file
set Cor_Enable_Profiling=0x1
set COR_PROFILER={B146457E-9AED-4624-B1E5-968D274416EC}
@REM TMOCK_VERBOSE
running the mocking_on.bat file doesn't seem to change anything. Any ideas?
[/b]