Helpers

object Helpers extends Helpers
Companion:
class
trait Helpers
class Object
trait Matchable
class Any
Helpers.type

Type members

Inherited classlikes

implicit class StringOps(str: String)
Inherited from:
Helpers

Value members

Inherited methods

Inherited from:
Helpers
def exists[L[_], A](la: L[A])(f: A => Expectations)(implicit foldable: Foldable[L], pos: SourceLocation): Expectations

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.

Inherited from:
Helpers

Expect macros

Expect macros

Inherited from:
Helpers
def fail[A](hint: String)(implicit pos: SourceLocation): A => Expectations
Inherited from:
Helpers
def failure(hint: String)(implicit pos: SourceLocation): Expectations
Inherited from:
Helpers
def forEach[L[_], A](la: L[A])(f: A => Expectations)(implicit L: Foldable[L]): Expectations

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.

Inherited from:
Helpers
def inEach[L[_], A](la: L[A])(f: A => Expectations)(implicit L: Foldable[L]): Expectations

Alias to forall

Alias to forall

Inherited from:
Helpers
def not(assertion: Expectations)(implicit pos: SourceLocation): Expectations
Inherited from:
Helpers
def succeed[A]: A => Expectations
Inherited from:
Helpers
def verify(condition: Boolean)(implicit pos: SourceLocation): Expectations
Inherited from:
Helpers
def verify(condition: Boolean, hint: String)(implicit pos: SourceLocation): Expectations
Inherited from:
Helpers

Inherited fields

Inherited from:
Helpers

Implicits

Inherited implicits

final implicit def StringOps(str: String): StringOps
Inherited from:
Helpers