public void SetUp() { tests = new List<Test> { new Test("1"), new Test("2"), new Test("3") }; mocks = new MockRepository(); runner = mocks.StrictMock<TestRunner>(new FixtureRegistry()); listener = mocks.StrictMock<IBatchListener>(); batch = new BatchRunner(tests, listener, runner); }
public virtual void RunTests(IEnumerable<Test> tests, IBatchListener listener) { var batch = new BatchRunner(tests, listener, this); batch.Execute(); }
public virtual void RunTests(IEnumerable <Test> tests, IBatchListener listener) { var batch = new BatchRunner(tests, listener, this); batch.Execute(); }