Package

org.typelevel

scalatest

Permalink

package scalatest

Visibility
  1. Public
  2. All

Type Members

  1. trait DisjunctionMatchers extends AnyRef

    Permalink
  2. trait DisjunctionValues extends AnyRef

    Permalink
  3. trait ValidationMatchers extends AnyRef

    Permalink
  4. trait ValidationValues extends AnyRef

    Permalink

Value Members

  1. object DisjunctionValues extends DisjunctionValues

    Permalink

    Companion object for easy importing – rather than mixing in – to allow DisjunctionValues operations.

    Companion object for easy importing – rather than mixing in – to allow DisjunctionValues operations.

    This will permit you to invoke a value method on an instance of a scalaz.\/, which attempts to unwrap the right disjunction

    Similar to org.scalatest.OptionValues.Valuable

    Meant to allow you to make statements like:

      result.value should be > 15
    

    Where it only matches if result is \/-(9)

    Otherwise your test will fail, indicating that it was left instead of right

    See also

    org.scalatest.OptionValues.Valuable

  2. object ValidationMatchers extends ValidationMatchers

    Permalink

    Import singleton in case you prefer to import rather than mix in

  3. object ValidationValues extends ValidationValues

    Permalink

    Companion object for easy importing – rather than mixing in – to allow ValidationValues operations.

    Companion object for easy importing – rather than mixing in – to allow ValidationValues operations.

    This will permit you to invoke a value method on an instance of a scalaz.Validation, which attempts to unwrap the right validation

    Similar to org.scalatest.OptionValues.Valuable

    Meant to allow you to make statements like:

      result.value should be > 15
    

    Where it only matches if result is Success(9)

    Otherwise your test will fail, indicating that it was left instead of right

    See also

    org.scalatest.OptionValues.Valuable

Ungrouped