Expectations

weaver.Expectations
See theExpectations companion object

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

Symbolic alias for and

Symbolic alias for and

Attributes

other

The second operand

Example:
   // success
   expect.eql("foo", "foo") &&
     expect.eql("bar", "bar")

Logical AND combinator for two Expectations

Logical AND combinator for two Expectations

Attributes

other

The second operand

Example:
   // success
   expect.eql("foo", "foo") and
     expect.eql("bar", "bar")
def failFast[F[_] : Sync]: F[Unit]

Logical OR combinator for two Expectations

Logical OR combinator for two Expectations

Attributes

other

The second operand

Example:
   // success
   expect.eql("foo", "bar") or
     expect.eql("alpha", "alpha")

Adds the specified location to the list of locations that will be reported if an expectation is failed.

Adds the specified location to the list of locations that will be reported if an expectation is failed.

Attributes

def xor(other: Expectations)(implicit loc: SourceLocation): Expectations

Logical XOR combinator for two Expectations

Logical XOR combinator for two Expectations

Attributes

other

The second operand

Example:
   // failure
   expect.eql("foo", "foo") xor
     expect.eql("bar", "bar")

Symbolic alias for or

Symbolic alias for or

Attributes

other

The second operand

Example:
   // success
   expect.eql("foo", "bar") ||
     expect.eql("alpha", "alpha")

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product