GitXplorerGitXplorer
j

TestHarness

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
ead409a8be450e8bfc63ae73f64233e59af3bf04

Use MsTest.Framework from nuget package rather then require VS install. (#1)

jjthelin committed 5 years ago
Unverified
89b6c5ee18e88081b15195e583f2defb54587a76

Add .gitattributes file.

jjthelin committed 9 years ago
Unverified
2ee0ba8b70758dcaabdab78c374c050a3aced134

Initial version checked in.

jjthelin committed 9 years ago
Unverified
104cc2b717b0272c280b5636dd97724282821d3f

Add file extension.

jjthelin committed 9 years ago
Unverified
66c978fcde1835f45542dbe6a2862f8f88413d00

Initial commit

jjthelin committed 9 years ago

README

The README file for this repository.

TestHarness

A simple wrapper application for running single Visual Studio test methods directly in .exe for easier debugger single-stepping.

https://github.com/jthelin/TestHarness

Components

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:

  1. ClassInitialize method called. (static)
  2. Class constructor called.
  3. Set TestContext property to an instance of MockTestContext
  4. TestInitisalize method called.
  5. Run specific test method (in this example, TestMethod1)
  6. TestCleanup method called.
  7. Finally: ClassCleanup method called. (static)

License

Apache 2.0