printResult prints the simple output form of a TestReault
(r TestResult)
| 83 | |
| 84 | // printResult prints the simple output form of a TestReault |
| 85 | func (w *OutputWriter) printResult(r TestResult) { |
| 86 | if !r.Success { |
| 87 | w.fprintf(w.au.Red(w.template.testResult(r))) |
| 88 | return |
| 89 | } |
| 90 | w.fprintf(w.template.testResult(r)) |
| 91 | } |
| 92 | |
| 93 | func (w *OutputWriter) printSkip(r TestResult) { |
| 94 | w.fprintf(fmt.Sprintf("- [%s] %s, was skipped", r.Node, r.Title)) |
no test coverage detected