p
root package
package root
Type Members
- trait MonixTaskSpec extends AssertingSyntax
The code has been copied from
cats-effect-testing
andfs2
effect test support, with the difference it provides support for Task instead of IO.
The code has been copied from cats-effect-testing
and fs2
effect test support,
with the difference it provides support for Task instead of IO.
The code has been copied from
cats-effect-testing
andfs2
effect test support, with the difference it provides support for Task instead of IO.https://github.com/typelevel/cats-effect-testing https://github.com/typelevel/cats-effect-testing/blob/series/1.x/scalatest/shared/src/main/scala/cats/effect/testing/scalatest/AsyncIOSpec.scala https://github.com/functional-streams-for-scala/fs2/blob/188a37883d7bbdf22bc4235a3a1223b14dc10b6c/core/shared/src/test/scala/fs2/EffectTestSupport.scala Provides support for testing Monix Task with scalatest AsyncTestSuite. It provides a set of implicit conversions to convert Task to Future, so the user does not need to do it for every test.
Example