/// <summary> /// Passed the test. /// </summary> public void PassedTest() { this.TestStatus = Enums.TestStatus.Completed; this.ErrorMessage = "None"; this.EndTime = DateTime.Now; this.smokeGenerateReport.AddItem(this); }
/// <summary> /// Failed the test. /// </summary> /// <param name="error">The error.</param> public void FailedTest(string error) { this.TestStatus = Enums.TestStatus.Failed; this.ErrorMessage = error; this.EndTime = DateTime.Now; this.smokeGenerateReport.AddItem(this); }