Enhanced C#
Language of your choice: library documentation
|
Searches for test methods and runs them, printing the name of each test to the console followed by errors (if any) produced by the test. More...
Searches for test methods and runs them, printing the name of each test to the console followed by errors (if any) produced by the test.
This class finds tests by looking for custom attributes by their string name (e.g. "TestAttribute"), so it is compatible with both NUnit.Framework and Loyc.MiniTest.
RunTests is a stripped-down subset of the functionality supported by MiniTestRunner.
Static Public Member Functions | |
static int | Run (object o) |
Runs all test methods on the given object (public methods that have a TestAttribute). More... | |
static int | RunMany (params object[] os) |
Runs all tests in an array of test objects. More... | |
|
inlinestatic |
Runs all test methods on the given object (public methods that have a TestAttribute).
References Loyc.MiniTest.TestAttribute.Fails.
Referenced by Loyc.MiniTest.RunTests.RunMany().
|
inlinestatic |
Runs all tests in an array of test objects.
References Loyc.MiniTest.RunTests.Run().