A simple wrapper application for running single Visual Studio test methods directly in .exe for easier debugger single-stepping.
https://github.com/jthelin/TestHarness
The DebugTestHarness
project contains some program code to set up a test class in roughly the same way that the MsTest framework would, and then runs the specified test case method.
Callbacks steps made to the test class in order are:
-
ClassInitialize
method called. (static) - Class constructor called.
- Set
TestContext
property to an instance ofMockTestContext
-
TestInitisalize
method called. - Run specific test method (in this example,
TestMethod1
) -
TestCleanup
method called. - Finally:
ClassCleanup
method called. (static)
Apache 2.0