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:
ClassInitializemethod called. (static)- Class constructor called.
- Set
TestContextproperty to an instance ofMockTestContext TestInitisalizemethod called.- Run specific test method (in this example,
TestMethod1) TestCleanupmethod called.- Finally:
ClassCleanupmethod called. (static)
Apache 2.0