(testResult: dataform.ITestResult)
| 268 | } |
| 269 | |
| 270 | export function printTestResult(testResult: dataform.ITestResult) { |
| 271 | writeStdOut( |
| 272 | `${testResult.name}: ${testResult.successful ? successOutput("passed") : errorOutput("failed")}` |
| 273 | ); |
| 274 | if (!testResult.successful) { |
| 275 | testResult.messages.forEach(message => writeStdErr(message, 1)); |
| 276 | } |
| 277 | } |
| 278 | |
| 279 | export function printExecutionGraph(executionGraph: dataform.ExecutionGraph, asJson: boolean) { |
| 280 | if (asJson) { |
no test coverage detected