public void SetUp() { NUnitRegistry.TestMode = true; NUnitRegistry.ClearTestKeys(); loader = new TestLoader(Console.Out, Console.Error); catcher = new TestEventCatcher(loader.Events); }
public void SetUp() { dispatcher = new ProjectEventDispatcher(); catcher = new TestEventCatcher(dispatcher); test = new TestSuite(TESTNAME); result = new TestSuiteResult(test, RSLTNAME); exception = new Exception(MESSAGE); }