(t TestReport)
| 403 | } |
| 404 | |
| 405 | func OutputAppstudioReport(t TestReport) { |
| 406 | out, err := json.Marshal(t) |
| 407 | if err != nil { |
| 408 | // Unlikely |
| 409 | panic(err) |
| 410 | } |
| 411 | fmt.Printf("%s\n", out) |
| 412 | } |
| 413 | |
| 414 | func AppstudioReportForError(prefix string, err error) TestReport { |
| 415 | return TestReport{ |
no test coverage detected