override protected def withFixture()

in app/com/gu/contentapi/sanity/support/CloudWatchReportingSupport.scala [20:28]


  override protected def withFixture(test: NoArgTest): Outcome = {
    val outcome = super.withFixture(test)
    outcome match {
      case Failed(e) => cloudWatchReporter.reportFailedTest()
      case Succeeded => cloudWatchReporter.reportSuccessfulTest()
      case _ => // do nothing
    }
    outcome
  }