Matchers for working with cats data types:
-
the
org.specs2.matcher.IOMatchers
trait provides synchronous matchers for checkingIO
values -
the
org.specs2.matcher.IOExecution
trait allows to return anyIO[T]
in a specs2 example provided there is an implicitorg.specs2.execute.AsResult
instance in scope (this is the case forBoolean
,org.specs2.execute.Result
for example). This is the preferred way of executingIO
values since they execute asynchronously when the example runs -
the
org.specs2.matcher.ValidatedMatchers
trait provides matchers forValidated[T]
values -
the
org.specs2.matcher.NonEmptyMatchers
trait provideshaveSize
matchers forNonEmpty(List, Chain, Vector)
values
Go to specs2.org to learn more about specs2!