public TestBatch Create() { this.batch = new TestBatch(); foreach (Assembly assembly in this.TestAssemblies) { TestAssembly testAssembly = CreateTestAssembly(assembly); this.batch.TestAssemblies.Add(testAssembly); } return this.batch; }
public TestBatch Create() { this.batch = new TestBatch(); foreach (Assembly assembly in this.TestAssemblies) { TestAssembly testAssembly = CreateTestAssembly(assembly); this.batch.TestAssemblies.Add(testAssembly); } return(this.batch); }
public override void AfterBatch(TestBatch batch) { base.AfterBatch(batch); if (silent) return; this.Out.WriteLine(); this.Out.WriteLine("{0}: Tests finished", DateTime.Now.ToLongTimeString()); this.Out.Flush(); }
public override void BeforeBatch(TestBatch batch) { base.BeforeBatch(batch); if (silent) return; this.Out.WriteLine("{0}: Starting tests", DateTime.Now.ToLongTimeString()); this.Out.Flush(); }
public virtual void AfterBatch(TestBatch batch) { }
public virtual void BeforeBatch(TestBatch batch) { this.counter = new TestCounter(batch.GetTestCount()); }
public void AfterBatch(TestBatch batch) { if (this.testBatch != null) { this.testBatch.EndTime = DateTime.Now.ToString("u"); this.testBatch.UpdateCounter(); } }
public void BeforeBatch(TestBatch batch) { this.testBatch.SetMainAssembly(batch.MainTestAssembly.Assembly); if (this.testBatchSearcher!=null) this.testBatch.HasHistory = true; this.testBatch.StartTime = DateTime.Now.ToString("u"); }