FunSuiteIO
Attributes
- Graph
- Supertypes
- trait Helperstrait BaseFunIOSuitetrait BaseCatsSuitetrait Provider[IO]class FunSuiteF[IO]trait FunSuiteAuxclass RunnableSuite[IO]trait EffectSuite[IO]trait Heretrait Suite[IO]trait BaseSuiteClassclass Objecttrait Matchableclass Any
Members list
Type members
Inherited classlikes
Inherited types
Attributes
- Inherited from:
- EffectSuite
Value members
Inherited methods
Attributes
- Inherited from:
- Helpers
Raise an error that leads to the running test being tagged as "cancelled".
Raise an error that leads to the running test being tagged as "cancelled".
Attributes
- Inherited from:
- EffectSuite
Checks that an assertion is true for at least one element in a foldable. Fails if the foldable is empty.
Checks that an assertion is true for at least one element in a foldable. Fails if the foldable is empty.
Attributes
- Example:
val xs = List("foo", "bar") // success exists(xs)(s => expect.eql("foo", s)
- Inherited from:
- Helpers
Expect macros
Expect macros
Attributes
- Inherited from:
- Helpers
Attributes
- Inherited from:
- Helpers
Attributes
- Inherited from:
- Helpers
Checks that an assertion is true for all elements in a foldable. Succeeds if the foldable is empty.
Checks that an assertion is true for all elements in a foldable. Succeeds if the foldable is empty.
Attributes
- Example:
val xs = List("foo", "bar") // success forEach(xs)(s => expect.eql(3, s.length)
- Inherited from:
- Helpers
Attributes
- Inherited from:
- BaseFunIOSuite
Pulls source location without being affected by implicit scope.
Pulls source location without being affected by implicit scope.
Attributes
- Inherited from:
- Here
Raises an error that leads to the running test being tagged as "ignored"
Raises an error that leads to the running test being tagged as "ignored"
Attributes
- Inherited from:
- EffectSuite
Alias for forEach
Alias for forEach
Attributes
- Inherited from:
- Helpers
Checks that a given expression matches a certain pattern; fails otherwise.
Checks that a given expression matches a certain pattern; fails otherwise.
Attributes
- Example:
matches(Option(4)) { case Some(x) => expect.eql(4, x) }
- Inherited from:
- Helpers
Attributes
- Definition Classes
- FunSuiteF -> EffectSuite -> Suite
- Inherited from:
- FunSuiteF
Attributes
- Inherited from:
- Helpers
Attributes
- Inherited from:
- EffectSuite
Attributes
- Definition Classes
- FunSuiteF -> RunnableSuite
- Inherited from:
- FunSuiteF
Attributes
- Definition Classes
- FunSuiteF -> Suite
- Inherited from:
- FunSuiteF
Attributes
- Inherited from:
- Helpers
Attributes
- Definition Classes
- FunSuiteF -> FunSuiteAux
- Inherited from:
- FunSuiteF
Attributes
- Inherited from:
- Helpers
Attributes
- Inherited from:
- Helpers
Checks that an ApplicativeError
(like Either
) is successful
Checks that an ApplicativeError
(like Either
) is successful
Attributes
- Example:
val res: Either[String, Int] = Right(4) whenSuccess(res) { n => expect.eql(4, n) }
- Inherited from:
- Helpers
Inherited fields
Attributes
- Inherited from:
- Helpers
Implicits
Inherited implicits
Attributes
- Inherited from:
- BaseFunIOSuite