예제 #1
0
 public override void BuildErrorList(ReportBuilder builder, Test test)
 {
     builder.AppendLine(String.Format("\t({0}) {1}",test.Result.Failure.Number, test.Name));
     builder.AppendLine("\t #Reason");
     builder.AppendLine("\t\t" + test.Result.Failure.ExceptionMessage);
     builder.AppendLine();
     builder.AppendLine("\t #StackTrace");
     foreach(String trace in test.Result.Failure.ExceptionStackFrames)
     {
         builder.AppendLine("\t\t" + trace);
     }
 }
예제 #2
0
 public virtual void BuildTestSuccess(ReportBuilder builder, Test test)
 {
 }
예제 #3
0
 public virtual void BuildTestSkipped(ReportBuilder builder, Test test)
 {
 }
예제 #4
0
 public virtual void BuildTestSeparator(ReportBuilder builder)
 {
 }
예제 #5
0
 public virtual void BuildTestFailure(ReportBuilder builder, Test test)
 {
 }
예제 #6
0
 public virtual void BuildHeader(ReportBuilder builder)
 {
 }
예제 #7
0
 public virtual void BuildFooter(ReportBuilder builder, TestRunner runner)
 {
 }
예제 #8
0
 public override void BuildErrorListHeader(ReportBuilder builder, TestRunner runner)
 {
     builder.AppendLine("##Failed Test Reasons")
         .AppendLine();
 }
예제 #9
0
 public virtual void BuildErrorList(ReportBuilder builder, Test test)
 {
 }
예제 #10
0
 public Reporter()
 {
     ReportBuilder = new ReportBuilder();
 }
예제 #11
0
 public override void BuildTestSuiteHeader(ReportBuilder builder, TestSuite suite)
 {
     builder.AppendLine("#" + suite.Name);
 }
예제 #12
0
 public override void BuildTestSuccess(ReportBuilder builder, Test test)
 {
     builder.AppendLine("\t✔ " + test.Name + "(" + test.Result.TimeTaken + "ms)");
 }
예제 #13
0
 public override void BuildTestSkipped(ReportBuilder builder, Test test)
 {
     builder.AppendLine("\t∼ " + test.Name);
 }
예제 #14
0
 public override void BuildTestFailure(ReportBuilder builder, Test test)
 {
     builder.AppendLine(String.Format("\t✖ ({0}) {1}",test.Result.Failure.Number, test.Name));
 }
예제 #15
0
 public override void BuildHeader(ReportBuilder builder)
 {
     builder.AppendLine("##Test Results")
         .AppendLine();
 }
예제 #16
0
 public virtual void BuildTestSuiteHeader(ReportBuilder builder, TestSuite suite)
 {
 }
예제 #17
0
 public virtual void BuildTestSuiteSeperator(ReportBuilder builder)
 {
 }
예제 #18
0
 public virtual void BuildErrorListHeader(ReportBuilder builder, TestRunner runner)
 {
 }