cats-effect-testing
cats-effect-testing copied to clipboard
Implement ScalaTest ioRetrying with a generic effect type
In order to use the ioRetrying defined below, we need a concrete IO. I think it would better for this to take a generic effect type (even though it would use IO in the base trait), so that helper traits don't need to be tied to IO.
https://github.com/typelevel/cats-effect-testing/blob/0dbc4c3190e7970c4db37a5005aaad02e8c7e2af/scalatest/jvm/src/main/scala/cats/effect/testing/scalatest/AsyncIOSpec.scala#L31