コード例 #1
0
        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);
        }
コード例 #2
0
ファイル: TestRunner.cs プロジェクト: adymitruk/storyteller
 public virtual void RunTests(IEnumerable<Test> tests, IBatchListener listener)
 {
     var batch = new BatchRunner(tests, listener, this);
     batch.Execute();
 }
コード例 #3
0
        public virtual void RunTests(IEnumerable <Test> tests, IBatchListener listener)
        {
            var batch = new BatchRunner(tests, listener, this);

            batch.Execute();
        }