type DeprecatedReporter … // ReportViaDeprecatedReporter takes a V1 custom reporter and a V2 report and // calls the custom reporter's methods with appropriately transformed data from the V2 report. // // ReportViaDeprecatedReporter should be called in a `ReportAfterSuite()` // // Deprecated: ReportViaDeprecatedReporter method exists to help developer bridge between deprecated V1 functionality and the new // reporting support in V2. It will be removed in a future minor version of Ginkgo. func ReportViaDeprecatedReporter(reporter DeprecatedReporter, report types.Report) { … } func failureFor(spec types.SpecReport) types.DeprecatedSpecFailure { … }