Suite
Attributes
- Graph
-
- Supertypes
-
trait Helperstrait BaseCatsSuitetrait Provider[IO]trait EffectSuite[IO]trait Heretrait Suite[IO]trait BaseSuiteClassclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited types
Attributes
- Inherited from:
- EffectSuite
Value members
Abstract methods
Inherited methods
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
Used to investigate failures in expect
or assert
statements.
Used to investigate failures in expect
or assert
statements.
Surround a value with a call to clue
to display it on failure.
Attributes
- Inherited from:
- ClueHelpers (hidden)
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
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
-
EffectSuite -> Suite
- Inherited from:
- EffectSuite
Attributes
- Inherited from:
- Helpers
Attributes
- Inherited from:
- EffectSuite
Attributes
- Inherited from:
- Helpers
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
Implicits
Attributes
- Definition Classes
-
EffectSuite