writeReport

fun writeReport(metadata: TestMetadata, testReport: StageReport, file: File): Result<Unit>
fun writeReport(metadata: TestMetadata, testReport: StageReport, outputStream: OutputStream): Result<Unit>