akka/akka-http

Provide testkit support for utest

Aperta

#3399 aperta il 28 lug 2020

 (2 commenti) (0 reazioni) (0 assegnatari)Scala (598 fork)batch import
1 - triagedhackathonhelp wantedsmallt:testing

Metriche repository

Star
 (1311 stelle)
Metriche merge PR
 (Merge medio 1g 10h) (2 PR mergiate in 30 g)

Descrizione

@chunt noted:

Unsure where to document this, but since upgrading to 2.6, and given that I use utest, I had to do the following for my tests:

 override def testExceptionHandler: ExceptionHandler = ExceptionHandler {
   case e: AssertionError => throw e
 }

Guida contributor