Specification

abstract class Specification extends SpecificationLike

Class for a Specification using the mutable DSL and thrown expectations

trait ShouldThrownMatchers
trait ShouldThrownExpectations
trait ShouldThrownExpectables
trait ThrownExpectations
trait ThrownStandardMatchResults
trait ThrownStandardResults
trait MustThrownMatchers
trait MustThrownExpectations
trait MustThrownExpectables
trait MustThrownExpectations1
trait MustThrownExpectationsCreation
trait ThrownExpectationsCreation
trait ThrownExpectables
trait ImplicitExecutionContexts
trait ImplicitExecutorServiceFromExecutionEnv
trait ImplicitExecutionContextFromExecutionEnv
trait Debug
trait StandardMatchResults
trait StandardResults
trait ShouldMatchers
trait ShouldExpectations
trait MustMatchers
trait MustExpectations
trait MustExpectations1
trait MustExpectationsCreation
trait Matchers
trait MatchersImplicits
trait SequenceMatchersCreation
trait MatchersCreation
trait ResultImplicits
trait MatchResultImplicits
trait MatcherZipOperators
trait MatchResultCombinators
trait ResultLogicalCombinators
trait Results
trait MatchResultLogicalCombinators
trait Expectations
trait ExpectationsDescription
trait TypedEqual
trait FutureMatchers
trait FutureBaseMatchers
trait EventuallyMatchers
trait EventuallyResults
trait TryMatchers
trait TryBeHaveMatchers
trait TryBaseMatchers
trait EitherMatchers
trait EitherBeHaveMatchers
trait EitherBaseMatchers
trait OptionMatchers
trait ValueChecks
trait ValueChecksBase
trait OptionBeHaveMatchers
trait OptionBaseMatchers
trait NumericMatchers
trait NumericBeHaveMatchers
trait NumericBaseMatchers
trait ExceptionMatchers
trait ExceptionBeHaveMatchers
trait ExceptionBaseMatchers
trait ExpectationsCreation
trait MatchResultStackTrace
trait StringMatchers
trait StringBeHaveMatchers
trait StringBaseMatchers
trait MapMatchers
trait MapBeHaveMatchers
trait MapBaseMatchers
trait TraversableMatchers
trait NumberOfTimes
trait ImplicitParameters
trait TraversableBaseMatchersLowImplicits
trait ValueChecksLowImplicits
trait TraversableBeHaveMatchers
trait LazyParameters
trait TraversableBaseMatchers
trait AnyMatchers
trait AnyBeHaveMatchers
trait BeHaveMatchers
trait AnyBaseMatchers
trait TagDsl
trait TitleDsl
trait ActionDsl
trait TextDsl
trait ExampleDsl1
trait ExampleDsl0
trait BlockDsl
trait BlockCreation
trait S2StringContext1
trait ArgumentsShortcuts
trait ArgumentsArgs
trait ArgProperties
trait ArgumentsCreation
trait TitleDsl
trait SpecStructureDslLowImplicits
trait AcceptanceDsl1
trait ActionDsl
trait TagDsl
trait SpecStructureDsl1
trait SpecificationStructure
class Object
trait Matchable
class Any

Type members

Inherited classlikes

implicit implicit class AdaptFunction[T, S](f: T => S)

this implicit provides an inverted syntax to adapt matchers to make the adaptation more readable in some cases:

this implicit provides an inverted syntax to adapt matchers to make the adaptation more readable in some cases:

  • def haveExtension(extension: =>String) = ((_:File).getPath) ^^ endWith(extension)
Inherited from:
MatchersCreation
class AnyBeHaveMatchers[T](result: MatchResult[T])
Inherited from:
AnyBeHaveMatchers
class AnyMatcherResult(result: MatchResult[AnyRef])
Inherited from:
AnyBeHaveMatchers
class AnyRefMatcherResult[T <: AnyRef](result: MatchResult[T])
Inherited from:
AnyBeHaveMatchers
class AnyWithEmptyMatchers[T](result: MatchResult[T])(implicit evidence$17: Sized[T])
Inherited from:
AnyBeHaveMatchers
class BangExample(d: String)
Inherited from:
ExampleDsl
class BeLikeResultMatcher[T](result: MatchResult[T])
Inherited from:
AnyBeHaveMatchers
class BlockExample(d: String) extends BlockExample0
Inherited from:
ExampleDsl1
class BlockExample0(d: String)
Inherited from:
ExampleDsl0
class ClassMatcherResult[T](result: MatchResult[Class[_]])(implicit evidence$15: ClassTag[T])
Inherited from:
AnyBeHaveMatchers
case class ContainSeqMatcherFunction[T](seq: Seq[T])
Inherited from:
MatcherZipOperators
class Debuggable[T](t: => T) extends ConsoleOutput
Inherited from:
Debug
class Descriptible[T](value: => T)
implicit implicit class EitherResultMatcher[L, R](result: MatchResult[Either[L, R]])(implicit evidence$3: Diffable[L], evidence$4: Diffable[R])
Inherited from:
EitherBeHaveMatchers
class ExceptionClassMatcher(klass: Class[_]) extends Matcher[Any]

Exception matcher checking the type of a thrown exception.

Exception matcher checking the type of a thrown exception.

Inherited from:
ExceptionBaseMatchers
class ExceptionMatcher[E <: Throwable](exception: E) extends Matcher[Any]

This matchers matches exception instances.

This matchers matches exception instances.

See also:

throwA

Inherited from:
ExceptionBaseMatchers
implicit implicit class ExceptionMatcherResult[T](result: MatchResult[T])
class ExpectationDescription(description: String)
class FindMatcher(t: => String) extends Matcher[String]

Matcher to find if the regexp a is found inside b. This matcher can be specialized to a FindMatcherWithGroups which will also check the found groups

Matcher to find if the regexp a is found inside b. This matcher can be specialized to a FindMatcherWithGroups which will also check the found groups

Inherited from:
StringBaseMatchers
class FindMatcherPattern(p: Pattern) extends FindMatcher

Matcher to find if the pattern p is found inside b.

Matcher to find if the pattern p is found inside b.

Inherited from:
StringBaseMatchers
class FindMatcherPatternWithGroups(p: Pattern, groups: String*) extends FindMatcherWithGroups

Matcher to find if the pattern p is found inside b.

Matcher to find if the pattern p is found inside b.

Inherited from:
StringBaseMatchers
class FindMatcherRegex(r: Regex) extends FindMatcherPattern

Matcher to find if the Regex r is found inside b.

Matcher to find if the Regex r is found inside b.

Inherited from:
StringBaseMatchers
class FindMatcherWithGroups(t: => String, groups: String*) extends Matcher[String]

Matcher to find if the regexp a is found inside b. This matcher checks if the found groups are really the ones expected

Matcher to find if the regexp a is found inside b. This matcher checks if the found groups are really the ones expected

Inherited from:
StringBaseMatchers
implicit implicit class FragmentTaggedAs(f: => Fragment)

This implicit allows to add tags and sections after the examples

This implicit allows to add tags and sections after the examples

Inherited from:
TagDsl
implicit implicit class FragmentsTaggedAs(fs: => Fragments)

This implicit allows to add tags and sections after the examples

This implicit allows to add tags and sections after the examples

Inherited from:
TagDsl
implicit implicit class FutureMatchable[T](m: Matcher[T])(implicit ee: ExecutionEnv)

add an await method to any matcher Matcher[T] so that it can be transformed into a Matcher[Future[T]]

add an await method to any matcher Matcher[T] so that it can be transformed into a Matcher[Future[T]]

Inherited from:
FutureMatchers
class HasSize[T](s: MatchResult[T])(implicit evidence$16: Sized[T])
implicit implicit class HiddenFragment(fragment: Fragment)
Inherited from:
FragmentsDsl
Inherited from:
ImplicitParameters
implicit implicit class InvariantMatcherFunction[T](f: T => Matcher[T])
class MapKeyResultMatcher[K](result: MatchResult[Iterable[(K, Any)]])
Inherited from:
MapBeHaveMatchers
class MapResultMatcher[K, V](result: MatchResult[Iterable[(K, V)]])
Inherited from:
MapBeHaveMatchers
class MapValueResultMatcher[V](result: MatchResult[Iterable[(Any, V)]])
Inherited from:
MapBeHaveMatchers
class MatchResultCombinator[T](mr: => MatchResult[T])
class MutableBangExample(d: String) extends BangExample
Inherited from:
ExampleDsl
class MutableTitleOps(s: String) extends TitleOps
Inherited from:
TitleDsl
implicit implicit class MutedFragment(fragment: Fragment)
Inherited from:
FragmentsDsl
class NeutralMatcherNumeric(result: NeutralMatcher[Any])
Inherited from:
NumericBeHaveMatchers
class NeutralMatcherOrdered(result: NeutralMatcher[Any])
Inherited from:
NumericBeHaveMatchers
class NeutralStringMatcher(result: NeutralMatcher[Any])
Inherited from:
StringBeHaveMatchers
class NotStringMatcher(result: NotMatcher[Any])
Inherited from:
StringBeHaveMatchers
class NumericResultMatcher[S](result: MatchResult[S])(implicit evidence$18: Numeric[S])
Inherited from:
NumericBeHaveMatchers
class OptionResultMatcher[T](result: MatchResult[Option[T]])
Inherited from:
OptionBeHaveMatchers
class OrderedResultMatcher[S](result: MatchResult[S])(implicit convert: S => Ordered[S])
Inherited from:
NumericBeHaveMatchers
class OrderedSeqMatchResult[T](result: MatchResult[Seq[T]])(implicit evidence$18: Ordering[T])
class PartialFunctionResultMatcher[K, V](result: MatchResult[PartialFunction[K, V]])
Inherited from:
MapBeHaveMatchers
class PendingUntilFixed[T](t: => T)(implicit evidence$4: AsResult[T])
Inherited from:
PendingUntilFixed
class ResultLogicalCombinator(res: => Result)
implicit implicit class SignificantFiguresSyntax(value: Int)

implicit definition to create significant figures for the beCloseTo matcher

implicit definition to create significant figures for the beCloseTo matcher

Inherited from:
NumericMatchers
implicit implicit class SignificantSyntax[N](target: N)(implicit evidence$6: Numeric[N])

implicit definition to create significant figures for the beCloseTo matcher

implicit definition to create significant figures for the beCloseTo matcher

Inherited from:
NumericMatchers
class StringResultMatcher(result: MatchResult[String])
Inherited from:
StringBeHaveMatchers
class TitleOps(s: String)
Inherited from:
TitleDsl
class TraversableBeHaveMatchers[T](s: MatchResult[Iterable[T]])
class TryResultMatcher[T](result: MatchResult[Try[T]])
Inherited from:
TryBeHaveMatchers
implicit implicit class TupleMatcher10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10))
Inherited from:
MatcherZipOperators
implicit implicit class TupleMatcher11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11))
Inherited from:
MatcherZipOperators
implicit implicit class TupleMatcher12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12))
Inherited from:
MatcherZipOperators
implicit implicit class TupleMatcher13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13))
Inherited from:
MatcherZipOperators
implicit implicit class TupleMatcher14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14))
Inherited from:
MatcherZipOperators
implicit implicit class TupleMatcher15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15))
Inherited from:
MatcherZipOperators
implicit implicit class TupleMatcher16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16))
Inherited from:
MatcherZipOperators
implicit implicit class TupleMatcher17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17))
Inherited from:
MatcherZipOperators
implicit implicit class TupleMatcher18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18))
Inherited from:
MatcherZipOperators
implicit implicit class TupleMatcher19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19))
Inherited from:
MatcherZipOperators
implicit implicit class TupleMatcher2[T1, T2](t: (T1, T2))
Inherited from:
MatcherZipOperators
implicit implicit class TupleMatcher20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20))
Inherited from:
MatcherZipOperators
implicit implicit class TupleMatcher21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21))
Inherited from:
MatcherZipOperators
implicit implicit class TupleMatcher22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22))
Inherited from:
MatcherZipOperators
implicit implicit class TupleMatcher3[T1, T2, T3](t: (T1, T2, T3))
Inherited from:
MatcherZipOperators
implicit implicit class TupleMatcher4[T1, T2, T3, T4](t: (T1, T2, T3, T4))
Inherited from:
MatcherZipOperators
implicit implicit class TupleMatcher5[T1, T2, T3, T4, T5](t: (T1, T2, T3, T4, T5))
Inherited from:
MatcherZipOperators
implicit implicit class TupleMatcher6[T1, T2, T3, T4, T5, T6](t: (T1, T2, T3, T4, T5, T6))
Inherited from:
MatcherZipOperators
implicit implicit class TupleMatcher7[T1, T2, T3, T4, T5, T6, T7](t: (T1, T2, T3, T4, T5, T6, T7))
Inherited from:
MatcherZipOperators
implicit implicit class TupleMatcher8[T1, T2, T3, T4, T5, T6, T7, T8](t: (T1, T2, T3, T4, T5, T6, T7, T8))
Inherited from:
MatcherZipOperators
implicit implicit class TupleMatcher9[T1, T2, T3, T4, T5, T6, T7, T8, T9](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9))
Inherited from:
MatcherZipOperators
class TypedEqualExpectation[T](t: => T)
Inherited from:
TypedEqual
class WarningForgottenOperator(s: String)
Inherited from:
BlockDsl
implicit implicit class appendSpecStructureToFragment(f: Fragment)
Inherited from:
SpecStructureDsl
implicit implicit class appendSpecStructureToFragments(fs: => Fragments)
implicit implicit class appendSpecStructureToSpecHeader(header: SpecHeader)
Inherited from:
SpecStructureDsl
implicit implicit class appendSpecStructureToSpecStructure(structure: SpecStructure)
Inherited from:
SpecStructureDsl
implicit implicit class appendSpecStructureToString(s: String)
Inherited from:
SpecStructureDsl
implicit implicit class appendToArguments(args: Arguments)
Inherited from:
SpecStructureDsl1
implicit implicit class appendToFragment(f: Fragment)
Inherited from:
FragmentsDsl
implicit implicit class appendToFragments(fs: Fragments)
Inherited from:
FragmentsDsl
implicit implicit class appendToString(s: String)
Inherited from:
FragmentsDsl
implicit implicit class describe(d: String)
Inherited from:
BlockDsl
implicit implicit class fragmentFormatting(f: => Fragment)
Inherited from:
TextDsl
implicit implicit class fragmentsFormatting(fs: => Fragments)
Inherited from:
TextDsl
implicit implicit class futureAsResult[T](f: => Future[T])(implicit ee: ExecutionEnv, asResult: AsResult[T]) extends FutureAsResult[T]

when a Future contains a result, it can be awaited to return this result

when a Future contains a result, it can be awaited to return this result

Inherited from:
FutureMatchers
implicit implicit class linkFragment(alias: String)
Inherited from:
ReferenceDsl
implicit implicit class mutableLinkFragment(alias: String) extends linkFragment
Inherited from:
ReferenceDsl
implicit implicit class mutableSeeFragment(alias: String) extends seeFragment
Inherited from:
ReferenceDsl
implicit implicit class resultFunction[T, R](f: T => R)(implicit evidence$2: AsResult[R])

Add functionalities to functions returning matchers so that they can be combined before taking a value and returning actual matchers

Add functionalities to functions returning matchers so that they can be combined before taking a value and returning actual matchers

Inherited from:
ResultImplicits
implicit implicit class seeFragment(alias: String)
Inherited from:
ReferenceDsl
implicit implicit class specificationInStringContext(sc: StringContext)
implicit implicit class textFragment(s: String)
Inherited from:
TextDsl

Value members

Inherited methods

def !=/(s: String): Matcher[Any]

matches if a.toLowerCase.trim != b.toLowerCase.trim

matches if a.toLowerCase.trim != b.toLowerCase.trim

Inherited from:
StringBaseMatchers
def !==[T : Diffable](t: => T): Matcher[T]

matches if a != b

matches if a != b

Inherited from:
AnyBaseMatchers
def <[S](n: S)(implicit convert: S => Ordered[S]): BeLessThan[S]

alias for beLessThan

alias for beLessThan

Inherited from:
NumericBaseMatchers
def <=[S](n: S)(implicit convert: S => Ordered[S]): BeLessThanOrEqualTo[S]

alias for beLessThanOrEqualTo

alias for beLessThanOrEqualTo

Inherited from:
NumericBaseMatchers
def ==/(s: String): AdaptableMatcher[Any]

matches if a.toLowerCase.trim = b.toLowerCase.trim

matches if a.toLowerCase.trim = b.toLowerCase.trim

Inherited from:
StringBaseMatchers
def ===[T : Diffable](t: => T): EqualityMatcher[T]

matches if a == b

matches if a == b

Inherited from:
AnyBaseMatchers
def ==~[T : Diffable, S](s: => S)(implicit evidence$7: Diffable[T], convert: S => T): Matcher[T]

matches if a == b after an implicit conversion

matches if a == b after an implicit conversion

Inherited from:
AnyBaseMatchers
def =~(r: Regex): BeMatchingRegex

alias for beMatching but matching just a fragment of the string

alias for beMatching but matching just a fragment of the string

Inherited from:
StringBaseMatchers
def =~(p: Pattern): BeMatchingPattern

alias for beMatching but matching just a fragment of the string

alias for beMatching but matching just a fragment of the string

Inherited from:
StringBaseMatchers
def =~(t: => String): BeMatching

alias for beMatching but matching just a fragment of the string

alias for beMatching but matching just a fragment of the string

Inherited from:
StringBaseMatchers
def >[S](n: S)(implicit convert: S => Ordered[S]): Matcher[S]

alias for beGreaterThan

alias for beGreaterThan

Inherited from:
NumericBaseMatchers
def >=[S](n: S)(implicit convert: S => Ordered[S]): Matcher[S]

alias for beGreaterThanOrEqualTo

alias for beGreaterThanOrEqualTo

Inherited from:
NumericBaseMatchers
def aFailedTry[T](t: Throwable): TryFailureCheckedMatcher[T]
Inherited from:
TryBaseMatchers
def aFailedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]
Inherited from:
TryBaseMatchers
def aFailedTry[T]: TryFailureMatcher[T]
Inherited from:
TryBaseMatchers
def aSuccessfulTry[T : Diffable](t: T): TrySuccessCheckedMatcher[T]
Inherited from:
TryBaseMatchers
def aSuccessfulTry[T](check: ValueCheck[T]): TrySuccessCheckedMatcher[T]
Inherited from:
TryBaseMatchers
def aSuccessfulTry[T]: TrySuccessMatcher[T]
Inherited from:
TryBaseMatchers
override def action(a: => Any): Fragment
Definition Classes
Inherited from:
ActionDsl
def addBacktab(n: Int): Fragment
Inherited from:
TextCreation
Inherited from:
TextCreation
def addBreak(n: Int): Fragment
Inherited from:
TextCreation
Inherited from:
TextCreation
def addFragment(fragment: Fragment): Fragment
Inherited from:
MutableFragmentBuilder
def addFragmentBlockWithText(text: String, f: => Fragment): Fragment
Inherited from:
BlockDsl
def addFragmentsBlockWithText(text: String, fs: => Fragments)(implicit p1: ImplicitParam1): Fragments
Inherited from:
BlockDsl
def addParagraph(s: String, n: Int): Fragment
Inherited from:
TextCreation
def addSections(): Unit
Inherited from:
MutableFragmentBuilder
def addTab(n: Int): Fragment
Inherited from:
TextCreation
Inherited from:
TextCreation
def addText(s: String): Fragment
Inherited from:
TextCreation
def allOf[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
override def anError: Error
Definition Classes
ThrownStandardResults -> StandardResults
Inherited from:
ThrownStandardResults
def anInstanceOf[T : ClassTag]: Matcher[AnyRef]
Inherited from:
AnyBeHaveMatchers
def anyOf[T](t: T*): Matcher[Any]
Inherited from:
AnyBeHaveMatchers
override def args(ex: ArgProperty[String], include: ArgProperty[String], exclude: ArgProperty[String], was: ArgProperty[String], plan: ArgProperty[Boolean], skipAll: ArgProperty[Boolean], stopOnFail: ArgProperty[Boolean], stopOnError: ArgProperty[Boolean], stopOnIssue: ArgProperty[Boolean], stopOnSkip: ArgProperty[Boolean], sequential: ArgProperty[Boolean], batchSize: ArgProperty[Int], asap: ArgProperty[Boolean], isolated: ArgProperty[Boolean], xonly: ArgProperty[Boolean], showOnly: ArgProperty[String], color: ArgProperty[Boolean]): Arguments

shorthand method to create an Arguments object

shorthand method to create an Arguments object

Definition Classes
ArgumentsCreation -> ArgumentsCreation
Inherited from:
ArgumentsCreation
def asNoneAs[T](other: => Option[T]): Matcher[Option[T]]
Inherited from:
OptionBaseMatchers
def asNullAs[T](a: => T): Matcher[Any]
Inherited from:
AnyBeHaveMatchers
def assignableFrom[T : ClassTag]: Matcher[Class[_]]
Inherited from:
AnyBeHaveMatchers
def atLeast[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def atLeastOnce[T](matcher: Matcher[T]): ContainWithResult[T]

apply a matcher atLeast one value

apply a matcher atLeast one value

Inherited from:
SequenceMatchersCreation
def atLeastOnce[T, R : AsResult](values: Iterable[T])(f: T => R): MatchResult[Iterable[T]]

verify the function f for at least one value

verify the function f for at least one value

Inherited from:
SequenceMatchersCreation
def atLeastOnceWhen[T, R : AsResult](values: Iterable[T])(f: PartialFunction[T, R]): MatchResult[Iterable[T]]

verify the function f for at least one value, where the PartialFunction is defined

verify the function f for at least one value, where the PartialFunction is defined

Inherited from:
SequenceMatchersCreation
def atMost[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def atMostOnce[T](matcher: Matcher[T]): ContainWithResult[T]

apply a matcher atLeast one value

apply a matcher atLeast one value

Inherited from:
SequenceMatchersCreation
def atMostOnce[T, R : AsResult](values: Iterable[T])(f: T => R): MatchResult[Iterable[T]]

verify the function f for at least one value

verify the function f for at least one value

Inherited from:
SequenceMatchersCreation
def atMostOnceWhen[T, R : AsResult](values: Iterable[T])(f: PartialFunction[T, R]): MatchResult[Iterable[T]]

verify the function f for at least one value, where the PartialFunction is defined

verify the function f for at least one value, where the PartialFunction is defined

Inherited from:
SequenceMatchersCreation
def await[T](m: Matcher[T])(retries: Int, timeout: FiniteDuration)(implicit ee: ExecutionEnv): Matcher[Future[T]]
Inherited from:
FutureBaseMatchers
def await[T](m: Matcher[T])(implicit ee: ExecutionEnv): Matcher[Future[T]]
Inherited from:
FutureBaseMatchers
def awaitFor[T](m: Matcher[T])(timeout: FiniteDuration)(implicit ee: ExecutionEnv): Matcher[Future[T]]
Inherited from:
FutureBaseMatchers
def batchSize(n: Int): Arguments
Returns:

arguments for a specification where examples must in a given batch size

Inherited from:
ArgumentsShortcuts
def be: NeutralMatcher[Any]
Inherited from:
BeHaveMatchers
def be[T <: AnyRef](t: => T): BeTheSameAs[T]

alias for beTheSameAs

alias for beTheSameAs

Inherited from:
AnyBaseMatchers
def beAFailedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]
Inherited from:
TryBaseMatchers
def beAFailedTry[T]: TryFailureMatcher[T]
Inherited from:
TryBaseMatchers
def beASuccessfulTry[T](check: ValueCheck[T]): TrySuccessCheckedMatcher[T]
Inherited from:
TryBaseMatchers
def beASuccessfulTry[T]: TrySuccessMatcher[T]
Inherited from:
TryBaseMatchers
def beAnInstanceOf[T : ClassTag]: Matcher[AnyRef]
Inherited from:
AnyBaseMatchers
def beAnyOf[T](t: T*): Matcher[T]

alias for beOneOf

alias for beOneOf

Inherited from:
AnyBaseMatchers
def beAsNoneAs[T](other: => Option[T]): Matcher[Option[T]]
Inherited from:
OptionBaseMatchers
def beAsNullAs[T](a: => T): Matcher[T]

matches if a is null when v is null and a is not null when v is not null

matches if a is null when v is null and a is not null when v is not null

Inherited from:
AnyBaseMatchers
def beAssignableFrom[T : ClassTag]: Matcher[Class[_]]

matches if v.isAssignableFrom(c)

matches if v.isAssignableFrom(c)

Inherited from:
AnyBaseMatchers
def beBetween[T](t1: T, t2: T)(implicit convert: T => Ordered[T]): BetweenMatcher[T]

matches if a value is between 2 others according to an Ordering

matches if a value is between 2 others according to an Ordering

Inherited from:
NumericBaseMatchers
def beCloseTo[S : Numeric](target: SignificantTarget[S]): Matcher[S]
Inherited from:
NumericBaseMatchers
def beCloseTo[S : Numeric](target: S, figures: SignificantFigures): Matcher[S]

matches if target - actual < 10 pow (log actual - significantDigits)

matches if target - actual < 10 pow (log actual - significantDigits)

Inherited from:
NumericBaseMatchers
def beCloseTo[S : Numeric](delta: PlusOrMinus[S]): Matcher[S]

matches if actual = n +/- delta

matches if actual = n +/- delta

Inherited from:
NumericBaseMatchers
def beCloseTo[S : Numeric](n: S, delta: S): Matcher[S]

matches if actual = n +/- delta

matches if actual = n +/- delta

Inherited from:
NumericBaseMatchers
def beDefinedAt[K](values: K*): Matcher[PartialFunction[K, Any]]

matches if the partial function is defined at those values

matches if the partial function is defined at those values

Inherited from:
MapBaseMatchers
def beDefinedBy[K, V](values: (K, V)*): Matcher[PartialFunction[K, V]]

matches if the partial function is defined at those values and return expected values

matches if the partial function is defined at those values and return expected values

Inherited from:
MapBaseMatchers
def beEmpty[T : Sized]: Matcher[T]

matches if a.isEmpty

matches if a.isEmpty

Inherited from:
AnyBaseMatchers
def beEqualTo[T](t: => T): BeEqualTo

matches if a == b

matches if a == b

Inherited from:
AnyBaseMatchers
def beFailedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]
Inherited from:
TryBaseMatchers
def beFailedTry[T]: TryFailureMatcher[T]
Inherited from:
TryBaseMatchers
def beFalse: Matcher[Boolean]

matches if a == false

matches if a == false

Inherited from:
AnyBaseMatchers
def beGreaterThan[S](n: S)(implicit convert: S => Ordered[S]): Matcher[S]

matches if x > n

matches if x > n

Inherited from:
NumericBaseMatchers
def beGreaterThanOrEqualTo[S](n: S)(implicit convert: S => Ordered[S]): Matcher[S]

matches if x >= n

matches if x >= n

Inherited from:
NumericBaseMatchers
def beLeft[T](implicit p: ImplicitParam): LeftMatcher[T]
Inherited from:
EitherBaseMatchers
def beLeft[T](t: ValueCheck[T]): LeftCheckedMatcher[T]
Inherited from:
EitherBaseMatchers
def beLessThan[S](n: S)(implicit convert: S => Ordered[S]): BeLessThan[S]

matches if x < n

matches if x < n

Inherited from:
NumericBaseMatchers
def beLessThanOrEqualTo[S](n: S)(implicit convert: S => Ordered[S]): BeLessThanOrEqualTo[S]

matches if x <= n

matches if x <= n

Inherited from:
NumericBaseMatchers
def beLike[T](pattern: PartialFunction[T, MatchResult[_]]): Matcher[T]

matches if the value returns a successful result when applied to a PartialFunction

matches if the value returns a successful result when applied to a PartialFunction

Inherited from:
AnyBaseMatchers
def beLikeA[T](pattern: => PartialFunction[T, MatchResult[_]]): Matcher[T]
Inherited from:
AnyBeHaveMatchers
def beMatching(a: Regex): BeMatchingRegex

matches if b matches the regex a

matches if b matches the regex a

Inherited from:
StringBaseMatchers
def beMatching(a: Pattern): BeMatchingPattern

matches if b matches the pattern a

matches if b matches the pattern a

Inherited from:
StringBaseMatchers
def beMatching(a: => String): BeMatching

matches if b matches the regular expression a

matches if b matches the regular expression a

Inherited from:
StringBaseMatchers
def beNone: Matcher[Option[Any]]
Inherited from:
OptionBaseMatchers
def beNull[T]: BeNull[T]

matches if the value is null

matches if the value is null

Inherited from:
AnyBaseMatchers
def beOneOf[T](t: T*): Matcher[T]

matches if t.toSeq.exists(_ == v)

matches if t.toSeq.exists(_ == v)

Inherited from:
AnyBaseMatchers
def beRight[T](implicit p: ImplicitParam): RightMatcher[T]
Inherited from:
EitherBaseMatchers
def beRight[T](t: ValueCheck[T]): RightCheckedMatcher[T]
Inherited from:
EitherBaseMatchers
def beSome[T](check: ValueCheck[T]): SomeCheckedMatcher[T]
Inherited from:
OptionBaseMatchers
def beSome[T : Diffable]: SomeMatcher[T]
Inherited from:
OptionBaseMatchers
def beSorted[T : Ordering]: OrderingMatcher[T]
Returns:

a matcher checking if the elements are ordered

Inherited from:
TraversableBaseMatchers
def beSuccessfulTry[T](check: ValueCheck[T]): TrySuccessCheckedMatcher[T]
Inherited from:
TryBaseMatchers
def beSuccessfulTry[T]: TrySuccessMatcher[T]
Inherited from:
TryBaseMatchers
def beTheSameAs[T <: AnyRef](t: => T): BeTheSameAs[T]

matches if a eq b

matches if a eq b

Inherited from:
AnyBaseMatchers
def beTrue: BeTrueMatcher

matches if a == true

matches if a == true

Inherited from:
AnyBaseMatchers
def beTypedEqualTo[T : Diffable](t: => T): EqualityMatcher[T]

matches if a == b

matches if a == b

Inherited from:
AnyBaseMatchers
def be[[T](t1: T, t2: T)(implicit convert: T => Ordered[T]): BetweenMatcher[T]

alias for the adventurous: 5 must (be[(2, 7)[`)

alias for the adventurous: 5 must (be[(2, 7)[`)

Inherited from:
NumericBaseMatchers
def be][T](t1: T, t2: T)(implicit convert: T => Ordered[T]): BetweenMatcher[T]

alias for the adventurous: 5 must (be](2, 7)[`)

alias for the adventurous: 5 must (be](2, 7)[`)

Inherited from:
NumericBaseMatchers
def be_!=[T](t: => T): Matcher[Any]

matches if a != b

matches if a != b

Inherited from:
AnyBaseMatchers
def be_!=/(a: String): Matcher[Any]

matches if a.toLowerCase.trim != b.toLowerCase.trim

matches if a.toLowerCase.trim != b.toLowerCase.trim

Inherited from:
StringBaseMatchers
def be_!==[T : Diffable](t: => T): Matcher[T]

matches if a != b

matches if a != b

Inherited from:
AnyBaseMatchers
def be_<[S](n: S)(implicit convert: S => Ordered[S]): BeLessThan[S]

alias for beLessThan

alias for beLessThan

Inherited from:
NumericBaseMatchers
def be_<=[S](n: S)(implicit convert: S => Ordered[S]): BeLessThanOrEqualTo[S]

alias for beLessThanOrEqualTo

alias for beLessThanOrEqualTo

Inherited from:
NumericBaseMatchers
def be_==[T](t: => T): BeEqualTo

matches if a == b

matches if a == b

Inherited from:
AnyBaseMatchers
def be_==/(a: String): AdaptableMatcher[Any]

matches if a.toLowerCase.trim = b.toLowerCase.trim

matches if a.toLowerCase.trim = b.toLowerCase.trim

Inherited from:
StringBaseMatchers
def be_===[T : Diffable](t: => T): EqualityMatcher[T]

matches if a == b

matches if a == b

Inherited from:
AnyBaseMatchers
def be_==~[T : Diffable, S](s: => S)(implicit evidence$6: Diffable[T], convert: S => T): Matcher[T]

matches if a == b after an implicit conversion

matches if a == b after an implicit conversion

Inherited from:
AnyBaseMatchers
def be_>[S](n: S)(implicit convert: S => Ordered[S]): Matcher[S]

alias for beGreaterThan

alias for beGreaterThan

Inherited from:
NumericBaseMatchers
def be_>=[S](n: S)(implicit convert: S => Ordered[S]): Matcher[S]

alias for beGreaterThanOrEqualTo

alias for beGreaterThanOrEqualTo

Inherited from:
NumericBaseMatchers
def between[T](t1: T, t2: T)(implicit convert: T => Ordered[T]): BetweenMatcher[T]
Inherited from:
NumericBaseMatchers
override def blockExample0(d: String): BlockExample0
Definition Classes
ExampleDsl1 -> ExampleDsl0
Inherited from:
ExampleDsl1
def booleanToSimpleResult(b: Boolean): Result
Inherited from:
Results
override def br: Fragment
override def bt(n: Int): Fragment
override def bt: Fragment
protected def checkFailure[T](m: MatchResult[T]): MatchResult[T]

this method can be overridden to throw exceptions when checking the match result

this method can be overridden to throw exceptions when checking the match result

Inherited from:
ExpectationsCreation
override protected def checkMatchResultFailure[T](m: MatchResult[T]): MatchResult[T]

this method can be overriden to throw exceptions when checking the match result

this method can be overriden to throw exceptions when checking the match result

Definition Classes
ThrownExpectables -> ExpectationsCreation
Inherited from:
ThrownExpectables
override protected def checkResultFailure(result: => Result): Result
Definition Classes
ThrownExpectables -> ExpectationsCreation
Inherited from:
ThrownExpectables
def closeTo[S : Numeric](target: SignificantTarget[S]): Matcher[S]
Inherited from:
NumericBaseMatchers
def closeTo[S : Numeric](target: S, figures: SignificantFigures): Matcher[S]
Inherited from:
NumericBaseMatchers
def closeTo[S : Numeric](delta: PlusOrMinus[S]): Matcher[S]
Inherited from:
NumericBaseMatchers
def closeTo[S : Numeric](n: S, delta: S): Matcher[S]
Inherited from:
NumericBaseMatchers
def colors(c: Colors): Arguments

shortcut to set new Colors

shortcut to set new Colors

Inherited from:
ArgumentsShortcuts
def contain[T, S](f: (=> T) => Matcher[S])(expected: => Seq[T]): Seq[S] => MatchResult[Seq[S]]
Inherited from:
MatcherZipOperators
def contain(t: Char): Matcher[String]

matches if (b contains a)

matches if (b contains a)

Inherited from:
StringBaseMatchers
def contain(t: String): Matcher[String]

matches if (b contains a)

matches if (b contains a)

Inherited from:
StringBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T], t20: ValueCheck[T], t21: ValueCheck[T], t22: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T], t20: ValueCheck[T], t21: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T], t20: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T]): ContainWithResultSeq[T]

Additional contain methods using to avoid automatic tuple conversions

Additional contain methods using to avoid automatic tuple conversions

Inherited from:
TraversableBaseMatchers
def contain[T](cm: ContainWithResultSeq[T]): ContainWithResultSeq[T]

COLLECTION MATCHERS

COLLECTION MATCHERS

Inherited from:
TraversableBaseMatchers
def contain[T](check: ValueCheck[T]): ContainWithResult[T]

ELEMENTS MATCHERS

ELEMENTS MATCHERS

Inherited from:
TraversableBaseMatchers
def containAllOf[T : Diffable](seq: Seq[T]): ContainWithResultSeq[T]

match if a traversable contains all the elements of seq (and maybe more)

match if a traversable contains all the elements of seq (and maybe more)

Inherited from:
TraversableBaseMatchers
def containAnyOf[T](seq: Seq[T]): ContainWithResult[T]

match if a traversable contains one of (t1, t2)

match if a traversable contains one of (t1, t2)

Inherited from:
TraversableBaseMatchers
def containMatch[T](t: => String): Matcher[Iterable[T]]

match if traversable contains (x matches .+t+.)

match if traversable contains (x matches .+t+.)

Inherited from:
TraversableBaseMatchers
def containPattern[T](t: => String): Matcher[Iterable[T]]

match if traversable contains (x matches p)

match if traversable contains (x matches p)

Inherited from:
TraversableBaseMatchers
def containTheSameElementsAs[T](seq: Seq[T], equality: (T, T) => Boolean): Matcher[Iterable[T]]

does a containAll comparison in both ways

does a containAll comparison in both ways

Inherited from:
TraversableBaseMatchers
def containing(s: String): Matcher[String]
Inherited from:
StringBeHaveMatchers
override def createExpectable[T](t: => T, alias: Option[String => String]): Expectable[T]
Definition Classes
ThrownExpectables -> ExpectationsCreation
Inherited from:
ThrownExpectables
def createExpectable[T](t: => T, alias: String => String): Expectable[T]
Returns:

an Expectable with a description function

Inherited from:
ExpectationsCreation
def createExpectable[T](t: => T, alias: => String): Expectable[T]
Returns:

an Expectable with a description

Inherited from:
ExpectationsCreation
def createExpectable[T](t: => T): Expectable[T]
Returns:

an Expectable

Inherited from:
ExpectationsCreation
override def createExpectableWithShowAs[T](t: => T, show: => String): Expectable[T]
Definition Classes
ThrownExpectables -> ExpectationsCreation
Inherited from:
ThrownExpectables
override protected def createMustExpectable[T](t: => T): MustExpectable[T]
Definition Classes
MustThrownExpectationsCreation -> MustExpectationsCreation
Inherited from:
MustThrownExpectationsCreation
override protected def createShouldExpectable[T](t: => T): ShouldExpectable[T]
Definition Classes
ShouldThrownExpectables -> ShouldExpectations
Inherited from:
ShouldThrownExpectables
def definedAt[K](values: K*): Matcher[PartialFunction[K, Any]]
Inherited from:
MapBeHaveMatchers
def definedBy[K, V](values: (K, V)*): Matcher[PartialFunction[K, Any]]
Inherited from:
MapBeHaveMatchers
def diffs(show: Boolean, separators: String, triggerSize: Int, diffRatio: Int, shortenSize: Int, full: Boolean, seqTriggerSize: Int, seqMaxSize: Int): Arguments

shortcut to display the differences with some specific parameters

shortcut to display the differences with some specific parameters

Inherited from:
ArgumentsShortcuts
def done: Success
Inherited from:
StandardResults
def eachOf[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def empty[T : Sized]: Matcher[T]
Inherited from:
AnyBeHaveMatchers
override def end: Fragment
def endWith(t: => String): Matcher[String]

matches if b.endsWith(a)

matches if b.endsWith(a)

Inherited from:
StringBaseMatchers
def endingWith(s: => String): Matcher[String]
Inherited from:
StringBeHaveMatchers
def equalTo[T](t: => T): BeEqualTo

matches if a == b

matches if a == b

Inherited from:
AnyBaseMatchers
def eventually[T](nested: => Matcher[T]): Matcher[T]
Returns:

a matcher that will retry the nested matcher 40 times

Inherited from:
EventuallyMatchers
def eventually[T](nested: => Matcher[T], retries: Int, sleep: Duration): Matcher[T]
Returns:

a matcher that will retry the nested matcher a given number of times

Inherited from:
EventuallyMatchers
def eventually[T](nested: => Matcher[T], retries: Int, sleep: Int => Duration): Matcher[T]
Value parameters:
sleep

the function applied on the retry number (first is 1)

Returns:

a matcher that will retry the nested matcher a given number of times

Inherited from:
EventuallyMatchers
def eventually[T : AsResult](result: => T): T
Returns:

a result that is retried at least 40 times until it's ok

Inherited from:
EventuallyResults
def eventually[T : AsResult](retries: Int, sleep: Duration)(result: => T): T
Returns:

a matcher that will retry the nested matcher a given number of times

Inherited from:
EventuallyResults
def eventually[T : AsResult](retries: Int, sleep: Int => Duration)(result: => T): T
Value parameters:
sleep

the function applied on the retry number (first is 1)

Returns:

a matcher that will retry the nested matcher a given number of times

eventually(retries = 2, sleep = _ * 100.milliseconds) {
 aResult
}
Inherited from:
EventuallyResults
def exactly[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def exclude(tags: String): Arguments

shortcut to exclude some tagged fragments

shortcut to exclude some tagged fragments

Inherited from:
ArgumentsShortcuts
def excludeAlsoTrace(patterns: String*): IncludeExcludeStackTraceFilter

shortcut to add exclude trace patterns

shortcut to add exclude trace patterns

Inherited from:
ArgumentsShortcuts
def excludeTrace(patterns: String*): IncludeExcludeStackTraceFilter

shortcut to create a stackTrace filter to exclude only some elements

shortcut to create a stackTrace filter to exclude only some elements

Inherited from:
ArgumentsShortcuts
def failedTry[T](t: Throwable): TryFailureCheckedMatcher[T]
Inherited from:
TryBaseMatchers
def failedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]
Inherited from:
TryBaseMatchers
def failedTry[T]: TryFailureMatcher[T]
Inherited from:
TryBaseMatchers
override def failure(m: String): Failure
Definition Classes
ThrownStandardResults -> StandardResults
Inherited from:
ThrownStandardResults
override def failure: Failure
Definition Classes
ThrownStandardResults -> StandardResults
Inherited from:
ThrownStandardResults
protected def failure(f: Failure): Failure
Inherited from:
ThrownStandardResults
def find(r: Regex): FindMatcherRegex

matches if the regexp r is found inside b

matches if the regexp r is found inside b

Inherited from:
StringBaseMatchers
def find(p: Pattern): FindMatcherPattern

matches if the pattern p is found inside b

matches if the pattern p is found inside b

Inherited from:
StringBaseMatchers
def find(a: => String): FindMatcher

matches if the regexp a is found inside b

matches if the regexp a is found inside b

Inherited from:
StringBaseMatchers
def forall[T](matcher: Matcher[T]): ContainWithResult[T]

apply a matcher for all values

apply a matcher for all values

Inherited from:
SequenceMatchersCreation
def forall[T, R : AsResult](values: Iterable[T])(f: T => R): MatchResult[Iterable[T]]

verify the function f for all the values, stopping after the first failure

verify the function f for all the values, stopping after the first failure

Inherited from:
SequenceMatchersCreation
def forallWhen[T, U](values: Iterable[T])(f: PartialFunction[T, MatchResult[U]]): MatchResult[Iterable[T]]

verify the function f for all the values, stopping after the first failure, where the PartialFunction is defined

verify the function f for all the values, stopping after the first failure, where the PartialFunction is defined

Inherited from:
SequenceMatchersCreation
def foreach[T](matcher: Matcher[T]): ContainWithResult[T]

apply a matcher foreach value

apply a matcher foreach value

Inherited from:
SequenceMatchersCreation
def foreach[T, R : AsResult](values: Iterable[T])(f: T => R): MatchResult[Iterable[T]]

verify the function f for all the values, and collect all failures

verify the function f for all the values, and collect all failures

Inherited from:
SequenceMatchersCreation
def foreachWhen[T, R : AsResult](values: Iterable[T])(f: PartialFunction[T, R]): MatchResult[Iterable[T]]

verify the function f for all the values, and collect all failures, where the PartialFunction is defined

verify the function f for all the values, and collect all failures, where the PartialFunction is defined

Inherited from:
SequenceMatchersCreation
Inherited from:
FragmentsFactory
def fragmentsBlock(fragments: Seq[Fragment], offset: Int): Fragments

create a block of new fragments where each of them is separated by a newline and there is a specific offset from the left margin

create a block of new fragments where each of them is separated by a newline and there is a specific offset from the left margin

Inherited from:
FragmentsDsl
def fullStackTrace: Arguments

shortcut to filter nothing

shortcut to filter nothing

Inherited from:
ArgumentsShortcuts
def greaterThan[S](n: S)(implicit convert: S => Ordered[S]): Matcher[S]
Inherited from:
NumericBaseMatchers
def greaterThanOrEqualTo[S](n: S)(implicit convert: S => Ordered[S]): Matcher[S]
Inherited from:
NumericBaseMatchers
Inherited from:
MutableFragmentBuilder
def have: NeutralMatcher[Any]
Inherited from:
BeHaveMatchers
def haveClass[T : ClassTag]: Matcher[AnyRef]

matches if v.getClass == c

matches if v.getClass == c

Inherited from:
AnyBaseMatchers
def haveInterface[T : ClassTag]: Matcher[AnyRef]

matches if x.getClass.getInterfaces.contains(T)

matches if x.getClass.getInterfaces.contains(T)

Inherited from:
AnyBaseMatchers
def haveKey[K](k: K): Matcher[Iterable[(Any, Any)]]

matches if map.contains(k)

matches if map.contains(k)

Inherited from:
MapBaseMatchers
def haveKeys[K](keys: K*): Matcher[Iterable[(K, Any)]]

matches if map.contains(k) forall key k

matches if map.contains(k) forall key k

Inherited from:
MapBaseMatchers
def haveLength[T : Sized](check: ValueCheck[Int]): SizedCheckedMatcher[T]

alias for haveSize

alias for haveSize

Inherited from:
TraversableBaseMatchers
def haveLength[T : Sized](n: Int): SizedMatcher[T]

alias for haveSize

alias for haveSize

Inherited from:
TraversableBaseMatchers
def havePair[K, V](p: (K, V)): Matcher[Iterable[(Any, Any)]]

matches if map contains a pair (key, value) == (k, v)

matches if map contains a pair (key, value) == (k, v)

Inherited from:
MapBaseMatchers
def havePairs[K, V](pairs: (K, V)*): Matcher[Iterable[(K, V)]]

matches if map contains all the specified pairs

matches if map contains all the specified pairs

Inherited from:
MapBaseMatchers
def haveSize[T : Sized](check: ValueCheck[Int]): SizedCheckedMatcher[T]

match if there is a way to size T

match if there is a way to size T

Inherited from:
TraversableBaseMatchers
def haveSize[T : Sized](n: Int): SizedMatcher[T]

match if there is a way to size T

match if there is a way to size T

Inherited from:
TraversableBaseMatchers
def haveSuperclass[T : ClassTag]: Matcher[AnyRef]

matches if c.isAssignableFrom(v.getClass.getSuperclass)

matches if c.isAssignableFrom(v.getClass.getSuperclass)

Inherited from:
AnyBaseMatchers
def haveValue[V](v: V): Matcher[Iterable[(Any, Any)]]

matches if map contains a pair (key, value) with value == v

matches if map contains a pair (key, value) with value == v

Inherited from:
MapBaseMatchers
def haveValues[V](values: V*): Matcher[Iterable[(Any, V)]]

matches if map contains a pair (key, value) with value == v for all value v

matches if map contains a pair (key, value) with value == v for all value v

Inherited from:
MapBaseMatchers
def include(tags: String): Arguments

shortcut to include only some tagged fragments

shortcut to include only some tagged fragments

Inherited from:
ArgumentsShortcuts
def includeAlsoTrace(patterns: String*): IncludeExcludeStackTraceFilter

shortcut to add include trace patterns

shortcut to add include trace patterns

Inherited from:
ArgumentsShortcuts
def includeTrace(patterns: String*): IncludeExcludeStackTraceFilter

shortcut to create a stackTrace filter to include only some elements

shortcut to create a stackTrace filter to include only some elements

Inherited from:
ArgumentsShortcuts
def interface[T : ClassTag]: Matcher[AnyRef]
Inherited from:
AnyBeHaveMatchers
def isolated: Arguments
Returns:

arguments for a specification where examples must be executed in their own specification

Inherited from:
ArgumentsShortcuts
def key[K](k: K): Matcher[Iterable[(Any, Any)]]
Inherited from:
MapBeHaveMatchers
def keys[K](ks: K*): Matcher[Iterable[(Any, Any)]]
Inherited from:
MapBeHaveMatchers
def klass[T : ClassTag]: Matcher[AnyRef]
Inherited from:
AnyBeHaveMatchers
def ko(m: String): MatchResult[Any]
Inherited from:
StandardMatchResults
def left[T](implicit p: ImplicitParam): LeftMatcher[Nothing]
Inherited from:
EitherBaseMatchers
def left[T](t: ValueCheck[T]): LeftCheckedMatcher[T]
Inherited from:
EitherBaseMatchers
def left[T : Diffable](t: T): LeftCheckedMatcher[T]
Inherited from:
EitherBaseMatchers
def length[T : Sized](check: ValueCheck[Int]): SizedCheckedMatcher[T]

alias for haveSize

alias for haveSize

Inherited from:
TraversableBaseMatchers
def length[T : Sized](n: Int): SizedMatcher[T]

alias for haveSize

alias for haveSize

Inherited from:
TraversableBaseMatchers
def lessThan[S](n: S)(implicit convert: S => Ordered[S]): BeLessThan[S]
Inherited from:
NumericBaseMatchers
def lessThanOrEqualTo[S](n: S)(implicit convert: S => Ordered[S]): BeLessThanOrEqualTo[S]

matches if x <= n

matches if x <= n

Inherited from:
NumericBaseMatchers
def like[T](pattern: => PartialFunction[T, MatchResult[_]]): Matcher[T]
Inherited from:
AnyBeHaveMatchers
def likeA[T](pattern: => PartialFunction[T, MatchResult[_]]): Matcher[T]
Inherited from:
AnyBeHaveMatchers
def map(fs: => Fragments, env: Env): Fragments

modify the fragments, using the current environment

modify the fragments, using the current environment

Inherited from:
SpecificationStructure
def map(fs: => Fragments): Fragments

modify the fragments

modify the fragments

Inherited from:
SpecificationStructure

modify the specification structure

modify the specification structure

Inherited from:
SpecificationStructure
protected def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]

this method can be overridden to intercept a MatchResult and change its message before it is thrown

this method can be overridden to intercept a MatchResult and change its message before it is thrown

Inherited from:
ExpectationsCreation
def matching(r: Regex): BeMatchingRegex
Inherited from:
StringBeHaveMatchers
def matching(t: Pattern): BeMatchingPattern
Inherited from:
StringBeHaveMatchers
def matching(t: => String): BeMatching
Inherited from:
StringBeHaveMatchers
def negate(r: Result): Result
Inherited from:
Results
def negateWhen(condition: Boolean)(r: Result): Result
Inherited from:
Results
def nocolor: Arguments

shortcut to avoid colored output

shortcut to avoid colored output

Inherited from:
ArgumentsShortcuts
def none: Matcher[Option[Any]]
Inherited from:
OptionBaseMatchers
def not: NotMatcher[Any]
Inherited from:
BeHaveMatchers
def not[T](m: Matcher[T]): Matcher[T]

negate a matcher

negate a matcher

Inherited from:
AnyBaseMatchers
def ok(m: String): MatchResult[Any]
Inherited from:
StandardMatchResults
def oneOf[T](t: T*): Matcher[Any]
Inherited from:
AnyBeHaveMatchers
def only(examples: String): Arguments

shortcut to execute and print only some examples

shortcut to execute and print only some examples

Inherited from:
ArgumentsShortcuts
override def p: Fragments
def pair[K, V](p: (K, V)): Matcher[Iterable[(Any, Any)]]
Inherited from:
MapBeHaveMatchers
def pairs[K, V](pairs: (K, V)*): Matcher[Iterable[(Any, Any)]]
Inherited from:
MapBeHaveMatchers
def pending[R : AsResult](r: => R): Pending
Inherited from:
StandardResults
override def pending: Pending
Definition Classes
ThrownStandardResults -> StandardResults
Inherited from:
ThrownStandardResults
override def pending(m: String): Pending
Definition Classes
ThrownStandardResults -> StandardResults
Inherited from:
ThrownStandardResults
protected def pending(p: Pending): Pending
Inherited from:
ThrownStandardResults
def pendingUntilFixed[T : AsResult](m: String)(t: => T): Result
Returns:

Pending unless the result is a success

Inherited from:
PendingUntilFixed
def pendingUntilFixed[T : AsResult](t: => T): Result
Returns:

Pending unless the result is a success

Inherited from:
PendingUntilFixed
def plan: Arguments

shortcut to show only the text without any execution

shortcut to show only the text without any execution

Inherited from:
ArgumentsShortcuts
def retry[T](m: Matcher[T])(retries: Int)(implicit ee: ExecutionEnv): Matcher[Future[T]]
Inherited from:
FutureBaseMatchers
def right[T](implicit p: ImplicitParam): RightMatcher[Nothing]
Inherited from:
EitherBaseMatchers
def right[T](t: ValueCheck[T]): RightCheckedMatcher[T]
Inherited from:
EitherBaseMatchers
def right[T : Diffable](t: T): RightCheckedMatcher[T]
Inherited from:
EitherBaseMatchers
override def s2(content: String, Yrangepos: Boolean, texts: Seq[String], textsStartPositions: Seq[String], textsEndPositions: Seq[String], variables: Seq[InterpolatedFragment], rangeExpressions: Seq[String]): Fragments

add fragments created with the s2 interpolated string

add fragments created with the s2 interpolated string

Definition Classes
Inherited from:
SpecificationCreation
override def sandboxMatchResult[T](mr: => MatchResult[T]): MatchResult[T]
Returns:

the value without any side-effects for expectations

Definition Classes
ThrownStandardMatchResults -> ExpectationsCreation
Inherited from:
ThrownStandardMatchResults
override def section(tag: NamedTag): Fragment
Definition Classes
Inherited from:
TagDsl
override def section(names: String*): Fragment
Definition Classes
Inherited from:
TagDsl
override def see(s: => SpecificationStructure): Fragment
Definition Classes
Inherited from:
ReferenceDsl
override def see(s: SpecStructure): Fragment
Definition Classes
Inherited from:
ReferenceDsl
def sequential: Arguments
Returns:

arguments for a specification where examples must be executed sequentially

Inherited from:
ArgumentsShortcuts
def setArguments(a: Arguments): Arguments
protected def setStacktrace[T](m: MatchResult[T]): MatchResult[T]

this method can be overridden to avoid filling-in a stacktrace indicating the location of the result

this method can be overridden to avoid filling-in a stacktrace indicating the location of the result

Inherited from:
MatchResultStackTrace
def setTitle(t: String): SpecHeader
Inherited from:
MutableHeaderBuilder
def showOnly(s: String): Arguments

shortcut to print only some statuses

shortcut to print only some statuses

Inherited from:
ArgumentsShortcuts
def size[T : Sized](check: ValueCheck[Int]): SizedCheckedMatcher[T]

alias for haveSize

alias for haveSize

Inherited from:
TraversableBaseMatchers
def size[T : Sized](n: Int): SizedMatcher[T]

alias for haveSize

alias for haveSize

Inherited from:
TraversableBaseMatchers
def skipAll: Arguments

shortcut to skip all examples

shortcut to skip all examples

Inherited from:
ArgumentsShortcuts
def skipAllIf(condition: => Boolean): Arguments

shortcut to skip all examples when a condition is true. if the condition throws an exception, its stacktrace is not printed and all the examples are skipped

shortcut to skip all examples when a condition is true. if the condition throws an exception, its stacktrace is not printed and all the examples are skipped

Inherited from:
ArgumentsShortcuts
def skipAllUnless(condition: => Boolean): Arguments

shortcut to skip all examples when a condition is false.

shortcut to skip all examples when a condition is false.

Inherited from:
ArgumentsShortcuts
def skipped[R : AsResult](r: => R): Skipped
Inherited from:
StandardResults
override def skipped: Skipped
Definition Classes
ThrownStandardResults -> StandardResults
Inherited from:
ThrownStandardResults
override def skipped(m: String): Skipped
Definition Classes
ThrownStandardResults -> StandardResults
Inherited from:
ThrownStandardResults
protected def skipped(s: Skipped): Skipped
Inherited from:
ThrownStandardResults
def some[T](check: ValueCheck[T]): SomeCheckedMatcher[T]
Inherited from:
OptionBaseMatchers
def some[T : Diffable]: SomeMatcher[T]
Inherited from:
OptionBaseMatchers
def sorted[T : Ordering]: OrderingMatcher[T]

alias for beSorted

alias for beSorted

Inherited from:
TraversableBaseMatchers
def startWith(a: String): Matcher[String]

matches if b.startsWith(a)

matches if b.startsWith(a)

Inherited from:
StringBaseMatchers
def startingWith(s: => String): Matcher[String]
Inherited from:
StringBeHaveMatchers
override def step(a: => Any, global: Boolean): Fragment
Definition Classes
Inherited from:
ActionDsl
override def step(a: => Any): Fragment
Definition Classes
Inherited from:
ActionDsl
def stopOnFail: Arguments

shortcut to stop after the first failure or error

shortcut to stop after the first failure or error

Inherited from:
ArgumentsShortcuts
def stopOnSkip: Arguments

shortcut to stop after the first skipped result

shortcut to stop after the first skipped result

Inherited from:
ArgumentsShortcuts
def stopWhen(f: Result => Boolean): Fragment
Inherited from:
ActionDsl
def stopWhen(r: Result): Fragment
Inherited from:
ActionDsl
def stopWhenFail(when: => Boolean): Fragment
Inherited from:
ActionDsl
Inherited from:
ActionDsl
def stopWhenSkipped(when: => Boolean): Fragment
Inherited from:
ActionDsl
protected def success(m: String): Success
Inherited from:
ThrownStandardResults
def successfulTry[T : Diffable](t: T): TrySuccessCheckedMatcher[T]
Inherited from:
TryBaseMatchers
def successfulTry[T](check: ValueCheck[T]): TrySuccessCheckedMatcher[T]
Inherited from:
TryBaseMatchers
def successfulTry[T]: TrySuccessMatcher[T]
Inherited from:
TryBaseMatchers
def superClass[T : ClassTag]: Matcher[AnyRef]
Inherited from:
AnyBeHaveMatchers
override def t(n: Int): Fragment
override def t: Fragment
override def tag(tag: NamedTag): Fragment
Definition Classes
Inherited from:
TagDsl
override def tag(names: String*): Fragment
Definition Classes
Inherited from:
TagDsl
def throwA[E <: Throwable](e: E): ExceptionMatcher[E]
Returns:

a matcher checking the value of an Exception

Inherited from:
ExceptionBaseMatchers
def throwA[E <: Throwable](message: String)(implicit m: ClassTag[E]): Matcher[Any]
Returns:

a matcher checking the type of an Exception and its message (as a regexp)

Inherited from:
ExceptionBaseMatchers
def throwA[E <: Throwable](implicit m: ClassTag[E]): ExceptionClassMatcher
Returns:

a matcher checking the type of an Exception

Inherited from:
ExceptionBaseMatchers
def throwAn[E <: Throwable](e: E): ExceptionMatcher[E]

alias for throwA

alias for throwA

Inherited from:
ExceptionBaseMatchers
def throwAn[E <: Throwable](message: String)(implicit m: ClassTag[E]): Matcher[Any]

alias for throwA

alias for throwA

Inherited from:
ExceptionBaseMatchers
def throwAn[E <: Throwable](implicit m: ClassTag[E]): ExceptionClassMatcher

alias for throwA

alias for throwA

Inherited from:
ExceptionBaseMatchers
override def todo: Pending
Definition Classes
ThrownStandardResults -> StandardResults
Inherited from:
ThrownStandardResults
def typedEqualTo[T](t: => T): EqualityMatcher[T]

matches if a == b

matches if a == b

Inherited from:
AnyBaseMatchers
def unbatched: Arguments
Returns:

arguments for a specification where examples must be executed inside just one big batch

Inherited from:
ArgumentsShortcuts
def updateArguments(a: Arguments): Arguments
def value[V](v: V): Matcher[Iterable[(Any, Any)]]
Inherited from:
MapBeHaveMatchers
def valueIsTypedValueCheck[T](expected: T)(implicit di: Diffable[T]): ValueCheck[T]

an expected value can be used to check another value

an expected value can be used to check another value

Inherited from:
ValueChecksBase
def values[V](vs: V*): Matcher[Iterable[(Any, Any)]]
Inherited from:
MapBeHaveMatchers
def was(s: String): Arguments

shortcut to include only examples with some previous statuses

shortcut to include only examples with some previous statuses

Inherited from:
ArgumentsShortcuts
def wontdo: Success
Inherited from:
StandardResults
def xonly: Arguments

shortcut to print only failures and errors

shortcut to print only failures and errors

Inherited from:
ArgumentsShortcuts
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19, S20, S21, S22](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15], m16: (=> T16) => Matcher[S16], m17: (=> T17) => Matcher[S17], m18: (=> T18) => Matcher[S18], m19: (=> T19) => Matcher[S19], m20: (=> T20) => Matcher[S20], m21: (=> T21) => Matcher[S21], m22: (=> T22) => Matcher[S22]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19, S20, S21, S22)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19, S20, S21](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15], m16: (=> T16) => Matcher[S16], m17: (=> T17) => Matcher[S17], m18: (=> T18) => Matcher[S18], m19: (=> T19) => Matcher[S19], m20: (=> T20) => Matcher[S20], m21: (=> T21) => Matcher[S21]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19, S20, S21)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19, S20](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15], m16: (=> T16) => Matcher[S16], m17: (=> T17) => Matcher[S17], m18: (=> T18) => Matcher[S18], m19: (=> T19) => Matcher[S19], m20: (=> T20) => Matcher[S20]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19, S20)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15], m16: (=> T16) => Matcher[S16], m17: (=> T17) => Matcher[S17], m18: (=> T18) => Matcher[S18], m19: (=> T19) => Matcher[S19]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15], m16: (=> T16) => Matcher[S16], m17: (=> T17) => Matcher[S17], m18: (=> T18) => Matcher[S18]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15], m16: (=> T16) => Matcher[S16], m17: (=> T17) => Matcher[S17]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15], m16: (=> T16) => Matcher[S16]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, S1, S2, S3, S4, S5, S6, S7, S8, S9](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, S1, S2, S3, S4, S5, S6, S7, S8](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8]): (=> (T1, T2, T3, T4, T5, T6, T7, T8)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, S1, S2, S3, S4, S5, S6, S7](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7]): (=> (T1, T2, T3, T4, T5, T6, T7)) => Matcher[(S1, S2, S3, S4, S5, S6, S7)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, S1, S2, S3, S4, S5, S6](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6]): (=> (T1, T2, T3, T4, T5, T6)) => Matcher[(S1, S2, S3, S4, S5, S6)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, S1, S2, S3, S4, S5](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5]): (=> (T1, T2, T3, T4, T5)) => Matcher[(S1, S2, S3, S4, S5)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, S1, S2, S3, S4](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4]): (=> (T1, T2, T3, T4)) => Matcher[(S1, S2, S3, S4)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, S1, S2, S3](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3]): (=> (T1, T2, T3)) => Matcher[(S1, S2, S3)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, S1, S2](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2]): (=> (T1, T2)) => Matcher[(S1, S2)]
Inherited from:
MatcherZipOperators
def ~[S : Numeric](delta: PlusOrMinus[S]): Matcher[S]

alias for beCloseTo

alias for beCloseTo

Inherited from:
NumericBaseMatchers
def ~[S : Numeric](n: S)(delta: S): Matcher[S]

alias for beCloseTo

alias for beCloseTo

Inherited from:
NumericBaseMatchers

Inherited fields

lazy override val args: ArgumentsNamespaceMutable
Inherited from:
ArgumentsCreation
lazy override val ko: MatchResult[Any]
Inherited from:
ThrownStandardMatchResults
lazy val ok: MatchResult[Any]
Inherited from:
StandardMatchResults
lazy override val success: Success
Inherited from:
ThrownStandardResults

Implicits

Inherited implicits

final implicit def AdaptFunction[T, S](f: T => S): AdaptFunction[T, S]

this implicit provides an inverted syntax to adapt matchers to make the adaptation more readable in some cases:

this implicit provides an inverted syntax to adapt matchers to make the adaptation more readable in some cases:

  • def haveExtension(extension: =>String) = ((_:File).getPath) ^^ endWith(extension)
Inherited from:
MatchersCreation
final implicit def EitherResultMatcher[L : Diffable, R : Diffable](result: MatchResult[Either[L, R]]): EitherResultMatcher[L, R]
Inherited from:
EitherBeHaveMatchers
final implicit def ExceptionMatcherResult[T](result: MatchResult[T]): ExceptionMatcherResult[T]
Inherited from:
ExceptionBeHaveMatchers
final implicit def FragmentTaggedAs(f: => Fragment): FragmentTaggedAs

This implicit allows to add tags and sections after the examples

This implicit allows to add tags and sections after the examples

Inherited from:
TagDsl
final implicit def FragmentsTaggedAs(fs: => Fragments): FragmentsTaggedAs

This implicit allows to add tags and sections after the examples

This implicit allows to add tags and sections after the examples

Inherited from:
TagDsl
final implicit def FutureMatchable[T](m: Matcher[T])(implicit ee: ExecutionEnv): FutureMatchable[T]

add an await method to any matcher Matcher[T] so that it can be transformed into a Matcher[Future[T]]

add an await method to any matcher Matcher[T] so that it can be transformed into a Matcher[Future[T]]

Inherited from:
FutureMatchers
final implicit def HiddenFragment(fragment: Fragment): HiddenFragment
Inherited from:
FragmentsDsl
final implicit def InvariantMatcherFunction[T](f: T => Matcher[T]): InvariantMatcherFunction[T]
Inherited from:
SequenceMatchersCreation
final implicit def MutedFragment(fragment: Fragment): MutedFragment
Inherited from:
FragmentsDsl
final implicit def SignificantFiguresSyntax(value: Int): SignificantFiguresSyntax

implicit definition to create significant figures for the beCloseTo matcher

implicit definition to create significant figures for the beCloseTo matcher

Inherited from:
NumericMatchers
final implicit def SignificantSyntax[N : Numeric](target: N): SignificantSyntax[N]

implicit definition to create significant figures for the beCloseTo matcher

implicit definition to create significant figures for the beCloseTo matcher

Inherited from:
NumericMatchers
implicit def ToDelta[S : Numeric](n: S): CanHaveDelta[S]

implicit definition to create delta for the beCloseTo matcher

implicit definition to create delta for the beCloseTo matcher

Inherited from:
NumericMatchers
final implicit def TupleMatcher10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)): TupleMatcher10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)): TupleMatcher11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)): TupleMatcher12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)): TupleMatcher13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)): TupleMatcher14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)): TupleMatcher15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)): TupleMatcher16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)): TupleMatcher17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)): TupleMatcher18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)): TupleMatcher19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher2[T1, T2](t: (T1, T2)): TupleMatcher2[T1, T2]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)): TupleMatcher20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21)): TupleMatcher21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22)): TupleMatcher22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher3[T1, T2, T3](t: (T1, T2, T3)): TupleMatcher3[T1, T2, T3]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher4[T1, T2, T3, T4](t: (T1, T2, T3, T4)): TupleMatcher4[T1, T2, T3, T4]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher5[T1, T2, T3, T4, T5](t: (T1, T2, T3, T4, T5)): TupleMatcher5[T1, T2, T3, T4, T5]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher6[T1, T2, T3, T4, T5, T6](t: (T1, T2, T3, T4, T5, T6)): TupleMatcher6[T1, T2, T3, T4, T5, T6]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher7[T1, T2, T3, T4, T5, T6, T7](t: (T1, T2, T3, T4, T5, T6, T7)): TupleMatcher7[T1, T2, T3, T4, T5, T6, T7]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher8[T1, T2, T3, T4, T5, T6, T7, T8](t: (T1, T2, T3, T4, T5, T6, T7, T8)): TupleMatcher8[T1, T2, T3, T4, T5, T6, T7, T8]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher9[T1, T2, T3, T4, T5, T6, T7, T8, T9](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9)): TupleMatcher9[T1, T2, T3, T4, T5, T6, T7, T8, T9]
Inherited from:
MatcherZipOperators
> result ***-e97" data-f-keywords="implicit" data-f-inherited="BlockDsl">> result ***-e97" class="documentableAnchor">

adding a conflicting implicit to warn the user when a >> was forgotten

adding a conflicting implicit to warn the user when a >> was forgotten

Inherited from:
> result ***-e97">BlockDsl
implicit override def akaMust[T](tm: Expectable[T]): MustExpectable[T]
Definition Classes
MustThrownExpectables -> MustExpectations
Inherited from:
MustThrownExpectables
implicit override def akaShould[T](tm: Expectable[T]): ShouldExpectable[T]
Definition Classes
ShouldThrownExpectables -> ShouldExpectations
Inherited from:
ShouldThrownExpectables
implicit def anyAsResultIsInterpolatedFragment(r: => Function0Result): InterpolatedFragment
Inherited from:
S2StringContext
implicit def anyBeHaveMatcher[T](result: MatchResult[T]): AnyBeHaveMatchers[T]
Inherited from:
AnyBeHaveMatchers
implicit def anyToArgProperty[T](t: => T): ArgProperty[T]
Inherited from:
ArgProperties
implicit def anyWithEmpty[T : Sized](result: MatchResult[T]): AnyWithEmptyMatchers[T]
Inherited from:
AnyBeHaveMatchers
Inherited from:
SpecStructureDslLowImplicits
Inherited from:
SpecStructureDsl
final implicit def appendToArguments(args: Arguments): appendToArguments
Inherited from:
SpecStructureDsl1
Inherited from:
FragmentsDsl
Inherited from:
FragmentsDsl
final implicit def appendToString(s: String): appendToString
Inherited from:
FragmentsDsl
implicit def asResult[T](r: MatchResult[T]): Result

implicit definition to transform any MatchResult to a Result

implicit definition to transform any MatchResult to a Result

Inherited from:
MatchResultImplicits
implicit def asResultIsInterpolatedFragment[R : AsResult](r: => R): InterpolatedFragment
Inherited from:
S2StringContext1
implicit override def bangExample(d: String): BangExample
Definition Classes
Inherited from:
ExampleDsl
implicit def blockExample(d: String): BlockExample
Inherited from:
ExampleDsl1
implicit def checkableSeqIsContainCheckSeq[T](seq: Seq[T])(implicit to: T => ValueCheck[T]): Seq[ValueCheck[T]]
Inherited from:
TraversableBaseMatchersLowImplicits
implicit def combineBoolean(b: => Boolean): ResultLogicalCombinator
Inherited from:
ResultLogicalCombinators
implicit def combineMatchResult[T](m: => MatchResult[T]): MatchResultCombinator[T]
Inherited from:
MatchResultLogicalCombinators
implicit def combineResult(r: => Result): ResultLogicalCombinator
Inherited from:
ResultLogicalCombinators
implicit def debug[T](t: => T): Debuggable[T]
Inherited from:
Debug
implicit def describe[T](t: => T): Descriptible[T]

describe a value with the aka method

describe a value with the aka method

Inherited from:
ExpectationsDescription
final implicit def describe(d: String): describe
Inherited from:
BlockDsl
implicit def describeExpectation(description: String): ExpectationDescription
Inherited from:
ExpectationsDescription
implicit def downcastBeEqualTypedValueCheck[T, S >: T](check: BeEqualTypedValueCheck[T]): ValueCheck[S]

a check of type T can be downcasted implicitly to a check of type S >: T

a check of type T can be downcasted implicitly to a check of type S >: T

Inherited from:
ValueChecks
implicit def executionEnvToExecutionContext(implicit ee: ExecutionEnv): ExecutionContext

if an implicit execution environment is in scope, it can be used as an execution context

if an implicit execution environment is in scope, it can be used as an execution context

Inherited from:
ImplicitExecutionContextFromExecutionEnv
implicit def executionEnvToExecutorService(implicit ee: ExecutionEnv): ExecutorService

if an implicit execution environment is in scope, it can be used as an executor service

if an implicit execution environment is in scope, it can be used as an executor service

Inherited from:
ImplicitExecutorServiceFromExecutionEnv
Inherited from:
TextDsl
Inherited from:
S2StringContext1
Inherited from:
FragmentsDsl
Inherited from:
SpecStructureDsl1
Inherited from:
TextDsl
implicit def fromMatchResult(r: => MatchResult[_]): Boolean

implicit definition to accept any MatchResult as a Boolean value. It is true if the MatchResult is not an Error or a Failure

implicit definition to accept any MatchResult as a Boolean value. It is true if the MatchResult is not an Error or a Failure

Inherited from:
MatchResultImplicits
implicit def functionAndKoMessageToMatcher[T](f: (T => Boolean, T => String)): Matcher[T]

This method transforms a function to a Matcher

This method transforms a function to a Matcher

Inherited from:
MatchersCreation
implicit def functionAndMessagesToMatcher[T](f: (T => Boolean, T => String, T => String)): Matcher[T]

This method transforms a function, with function descriptors to a Matcher

This method transforms a function, with function descriptors to a Matcher

Inherited from:
MatchersCreation
implicit def functionIsValueCheck[T, R : AsResult](f: T => R): ValueCheck[T]

a function returning an object having an AsResult instance can check a value

a function returning an object having an AsResult instance can check a value

Inherited from:
ValueChecksLowImplicits
implicit def functionToMatcher[T](f: (T => Boolean, String)): Matcher[T]

This method transforms a function to a Matcher

This method transforms a function to a Matcher

Inherited from:
MatchersCreation
implicit def functionToMatcher2[T](f: (T => Boolean, String, String)): Matcher[T]

This method transforms a function to a Matcher

This method transforms a function to a Matcher

Inherited from:
MatchersCreation
final implicit def futureAsResult[T](f: => Future[T])(implicit ee: ExecutionEnv, asResult: AsResult[T]): futureAsResult[T]

when a Future contains a result, it can be awaited to return this result

when a Future contains a result, it can be awaited to return this result

Inherited from:
FutureMatchers
implicit lazy val implicitParameter: ImplicitParam
Inherited from:
ImplicitParameters
Inherited from:
ImplicitParameters
Inherited from:
ImplicitParameters
Inherited from:
ImplicitParameters
Inherited from:
ImplicitParameters
Inherited from:
ImplicitParameters
Inherited from:
ImplicitParameters
Inherited from:
ImplicitParameters
Inherited from:
ImplicitParameters
Inherited from:
ImplicitParameters
Inherited from:
ImplicitParameters
implicit def lazyParameter[T](value: => T): LazyParameter[T]

transform a value to a zero-arg function returning that value

transform a value to a zero-arg function returning that value

Inherited from:
LazyParameters
final implicit def linkFragment(alias: String): linkFragment
Inherited from:
ReferenceDsl
implicit def matchResultFunctionToMatcher[T, R : AsResult](f: T => R): Matcher[T]

This method transforms a function returning a Result to a Matcher

This method transforms a function returning a Result to a Matcher

Inherited from:
MatchersCreation
implicit def matcherIsValueCheck[T](m: Matcher[T]): ValueCheck[T]

a Matcher[T] can check a value

a Matcher[T] can check a value

Inherited from:
ValueChecksBase
implicit def matcherSeqIsContainCheckSeq[T](seq: Seq[Matcher[T]]): Seq[ValueCheck[T]]
Inherited from:
TraversableBaseMatchersLowImplicits
final implicit def mutableLinkFragment(alias: String): mutableLinkFragment
Inherited from:
ReferenceDsl
final implicit def mutableSeeFragment(alias: String): mutableSeeFragment
Inherited from:
ReferenceDsl
implicit def orderedSeqMatchResult[T : Ordering](result: MatchResult[Seq[T]]): OrderedSeqMatchResult[T]
Inherited from:
TraversableBeHaveMatchers
implicit def pairFunctionToMatcher[T](f: T => (Boolean, String)): Matcher[T]

This method transforms a function returning a pair (Boolean, String for ko message) to a Matcher

This method transforms a function returning a pair (Boolean, String for ko message) to a Matcher

Inherited from:
MatchersCreation
implicit def partialfunctionIsValueCheck[T, R : AsResult](f: PartialFunction[T, R]): ValueCheck[T]

a partial function returning an object having an AsResult instance can check a value

a partial function returning an object having an AsResult instance can check a value

Inherited from:
ValueChecks
implicit def resultAsSpecStructure[R : AsResult](r: => R): SpecStructure
Inherited from:
SpecStructureDslLowImplicits
final implicit def resultFunction[T, R : AsResult](f: T => R): resultFunction[T, R]

Add functionalities to functions returning matchers so that they can be combined before taking a value and returning actual matchers

Add functionalities to functions returning matchers so that they can be combined before taking a value and returning actual matchers

Inherited from:
ResultImplicits
final implicit def seeFragment(alias: String): seeFragment
Inherited from:
ReferenceDsl
implicit def seqToResult[T](r: Seq[MatchResult[T]]): Result

implicit definition to transform a Seq of MatchResults to a Result

implicit definition to transform a Seq of MatchResults to a Result

Inherited from:
MatchResultImplicits
implicit def sized[T : Sized](s: MatchResult[T]): HasSize[T]
Inherited from:
TraversableBeHaveMatchers
Inherited from:
SpecStructureDsl
final implicit def specificationInStringContext(sc: StringContext): specificationInStringContext
Inherited from:
S2StringContext
implicit def stringAsSpecStructure(s: String): SpecStructure
Inherited from:
SpecStructureDsl
implicit def stringFunctionIsInterpolatedFragment[R : AsResult](f: String => R): InterpolatedFragment
Inherited from:
S2StringContext
Inherited from:
S2StringContext
implicit def stringMatcher(m: AdaptableMatcher[Any]): StringMatcher

adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher

adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher

Inherited from:
StringMatchers
implicit def stringMatcherFunctionToBynameMatcherFunction[T, R](f: T => Matcher[R]): (=> T) => Matcher[R]

this allows a function returning a matcher to be used where the same function with a byname parameter is expected

this allows a function returning a matcher to be used where the same function with a byname parameter is expected

Inherited from:
MatchersCreation
final implicit def textFragment(s: String): textFragment
Inherited from:
TextDsl
implicit def theBlock(t: => Nothing): MustExpectable[Nothing]
Inherited from:
MustExpectations
implicit def theValue[T](t: => T): MustExpectable[T]
Inherited from:
MustExpectations1
implicit def thisBlock(t: => Nothing): ShouldExpectable[Nothing]
Inherited from:
ShouldExpectations
implicit def thisValue[T](t: => T): ShouldExpectable[T]
Inherited from:
ShouldExpectations
implicit def timesFor(n: Int): Times

This implicit definition allows to declare a number of times 3.times

This implicit definition allows to declare a number of times 3.times

Inherited from:
NumberOfTimes
implicit override def title(s: String): MutableTitleOps
Definition Classes
Inherited from:
TitleDsl
implicit def toAnyMatcherResult(result: MatchResult[AnyRef]): AnyMatcherResult
Inherited from:
AnyBeHaveMatchers
implicit def toAnyRefMatcherResult[T <: AnyRef](result: MatchResult[T]): AnyRefMatcherResult[T]
Inherited from:
AnyBeHaveMatchers
implicit def toBeLikeResultMatcher[T](result: MatchResult[T]): BeLikeResultMatcher[T]
Inherited from:
AnyBeHaveMatchers
implicit def toClassMatcherResult[T : ClassTag](result: MatchResult[Class[_]]): ClassMatcherResult[T]
Inherited from:
AnyBeHaveMatchers
Inherited from:
MatcherZipOperators
implicit def toMapKeyResultMatcher[K](result: MatchResult[Iterable[(K, Any)]]): MapKeyResultMatcher[K]
Inherited from:
MapBeHaveMatchers
implicit def toMapResultMatcher[K, V](result: MatchResult[Iterable[(K, V)]]): MapResultMatcher[K, V]
Inherited from:
MapBeHaveMatchers
implicit def toMapValueResultMatcher[V](result: MatchResult[Iterable[(Any, V)]]): MapValueResultMatcher[V]
Inherited from:
MapBeHaveMatchers
implicit def toNeutralMatcherNumeric(result: NeutralMatcher[Any]): NeutralMatcherNumeric
Inherited from:
NumericBeHaveMatchers
implicit def toNeutralMatcherOrdered(result: NeutralMatcher[Any]): NeutralMatcherOrdered
Inherited from:
NumericBeHaveMatchers
implicit def toNeutralStringMatcher(result: NeutralMatcher[Any]): NeutralStringMatcher
Inherited from:
StringBeHaveMatchers
implicit def toNotStringMatcher(result: NotMatcher[Any]): NotStringMatcher
Inherited from:
StringBeHaveMatchers
implicit def toNumericResultMatcher[S : Numeric](result: MatchResult[S]): NumericResultMatcher[S]
Inherited from:
NumericBeHaveMatchers
implicit def toOptionResultMatcher[T](result: MatchResult[Option[T]]): OptionResultMatcher[T]
Inherited from:
OptionBeHaveMatchers
implicit def toOrderedResultMatcher[S](result: MatchResult[S])(implicit convert: S => Ordered[S]): OrderedResultMatcher[S]

matcher aliases and implicits to use with be + matcher

matcher aliases and implicits to use with be + matcher

Inherited from:
NumericBeHaveMatchers
implicit def toPartialFunctionResultMatcher[K, V](result: MatchResult[PartialFunction[K, V]]): PartialFunctionResultMatcher[K, V]
Inherited from:
MapBeHaveMatchers
implicit def toPendingUntilFixed[T : AsResult](t: => T): PendingUntilFixed[T]
Inherited from:
PendingUntilFixed
implicit def toResult(b: Boolean): Result

implicit definition to accept any boolean value as a Result This avoids writing b must beTrue

implicit definition to accept any boolean value as a Result This avoids writing b must beTrue

Inherited from:
Results
implicit def toStringResultMatcher(result: MatchResult[String]): StringResultMatcher
Inherited from:
StringBeHaveMatchers
implicit def toTryResultMatcher[T](result: MatchResult[Try[T]]): TryResultMatcher[T]
Inherited from:
TryBeHaveMatchers
implicit def traversable[T](s: MatchResult[Iterable[T]]): TraversableBeHaveMatchers[T]
Inherited from:
TraversableBeHaveMatchers
implicit def tripletFunctionToMatcher[T](f: T => (Boolean, String, String)): Matcher[T]

This method transforms a function returning a triplet (Boolean, String for ok message, String for ko message) to a Matcher

This method transforms a function returning a triplet (Boolean, String for ok message, String for ko message) to a Matcher

Inherited from:
MatchersCreation
implicit def typedEqualExpectation[T](t: => T): TypedEqualExpectation[T]

A value can be tested against another with the === operator. It is equivalent to writing a must_== b

A value can be tested against another with the === operator. It is equivalent to writing a must_== b

Inherited from:
TypedEqual