Trait

org.specs2.mutable

SpecLike

Related Doc: package mutable

Permalink

trait SpecLike extends SpecificationStructure with ExampleDsl0 with ArgumentsCreation with ArgumentsShortcuts with TextCreation with ActionDsl with MustThrownMatchers1 with FormattingFragments with StandardResults

Linear Supertypes
FormattingFragments, MustThrownMatchers1, MustThrownExpectations1, MustThrownExpectationsCreation, ThrownExpectationsCreation, StandardMatchResults, StandardResults, MustExpectations1, MustExpectationsCreation, Matchers1, ValueChecksBase, ValueChecksLowImplicits, FutureBaseMatchers, EventuallyMatchers, EventuallyResults, TryBaseMatchers, EitherBaseMatchers, OptionBaseMatchers, NumericBaseMatchers, ExceptionBaseMatchers, ExpectationsCreation, MatchResultStackTrace, StringBaseMatchers, TraversableBaseMatchers, AnyBaseMatchers, ActionDsl, ActionDsl, TextCreation, ArgumentsShortcuts, ArgumentsCreation, ArgumentsCreation, ExampleDsl0, BlockCreation, SpecificationStructure, MutableFragmentBuilder, MutableHeaderBuilder, MutableArgumentsBuilder, FragmentsFactory, FragmentBuilder, SpecificationStructure, ContextualSpecificationStructure, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SpecLike
  2. FormattingFragments
  3. MustThrownMatchers1
  4. MustThrownExpectations1
  5. MustThrownExpectationsCreation
  6. ThrownExpectationsCreation
  7. StandardMatchResults
  8. StandardResults
  9. MustExpectations1
  10. MustExpectationsCreation
  11. Matchers1
  12. ValueChecksBase
  13. ValueChecksLowImplicits
  14. FutureBaseMatchers
  15. EventuallyMatchers
  16. EventuallyResults
  17. TryBaseMatchers
  18. EitherBaseMatchers
  19. OptionBaseMatchers
  20. NumericBaseMatchers
  21. ExceptionBaseMatchers
  22. ExpectationsCreation
  23. MatchResultStackTrace
  24. StringBaseMatchers
  25. TraversableBaseMatchers
  26. AnyBaseMatchers
  27. ActionDsl
  28. ActionDsl
  29. TextCreation
  30. ArgumentsShortcuts
  31. ArgumentsCreation
  32. ArgumentsCreation
  33. ExampleDsl0
  34. BlockCreation
  35. SpecificationStructure
  36. MutableFragmentBuilder
  37. MutableHeaderBuilder
  38. MutableArgumentsBuilder
  39. FragmentsFactory
  40. FragmentBuilder
  41. SpecificationStructure
  42. ContextualSpecificationStructure
  43. AnyRef
  44. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. class BlockExample extends AnyRef

    Permalink
    Definition Classes
    ExampleDsl0
  2. class ExceptionClassMatcher extends Matcher[Any]

    Permalink

    Exception matcher checking the type of a thrown exception.

    Exception matcher checking the type of a thrown exception.

    Definition Classes
    ExceptionBaseMatchers
  3. class ExceptionMatcher[E <: Throwable] extends Matcher[Any]

    Permalink

    This matchers matches exception instances.

    This matchers matches exception instances.

    Definition Classes
    ExceptionBaseMatchers
    See also

    throwA

  4. class FindMatcher extends Matcher[String]

    Permalink

    Matcher to find if the regexp a is found inside b.

    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

    Definition Classes
    StringBaseMatchers
  5. class FindMatcherPattern extends FindMatcher

    Permalink

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

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

    Definition Classes
    StringBaseMatchers
  6. class FindMatcherPatternWithGroups extends FindMatcherWithGroups

    Permalink

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

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

    Definition Classes
    StringBaseMatchers
  7. class FindMatcherRegex extends FindMatcherPattern

    Permalink

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

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

    Definition Classes
    StringBaseMatchers
  8. class FindMatcherWithGroups extends Matcher[String]

    Permalink

    Matcher to find if the regexp a is found inside b.

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

    Definition Classes
    StringBaseMatchers
  9. trait TraversableMatcher[T] extends Matcher[GenTraversableOnce[T]]

    Permalink
    Definition Classes
    TraversableBaseMatchers

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. def !=/(s: String): Matcher[Any]

    Permalink

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

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

    Definition Classes
    StringBaseMatchers
  3. def !==[T](t: ⇒ T): Matcher[T]

    Permalink

    matches if a != b

    matches if a != b

    Definition Classes
    AnyBaseMatchers
  4. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  5. def <[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    Permalink

    alias for beLessThan

    alias for beLessThan

    Definition Classes
    NumericBaseMatchers
  6. def <=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]

    Permalink

    alias for beLessThanOrEqualTo

    alias for beLessThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  7. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def ==/(s: String): AdaptableMatcher[Any]

    Permalink

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

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

    Definition Classes
    StringBaseMatchers
  9. def ===[T](t: ⇒ T): BeTypedEqualTo[T]

    Permalink

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  10. def ==~[T, S](s: ⇒ S)(implicit convert: (S) ⇒ T): Matcher[T]

    Permalink

    matches if a == b after an implicit conversion

    matches if a == b after an implicit conversion

    Definition Classes
    AnyBaseMatchers
  11. def =~(r: Regex): BeMatchingRegex

    Permalink

    alias for beMatching but matching just a fragment of the string

    alias for beMatching but matching just a fragment of the string

    Definition Classes
    StringBaseMatchers
  12. def =~(p: Pattern): BeMatchingPattern

    Permalink

    alias for beMatching but matching just a fragment of the string

    alias for beMatching but matching just a fragment of the string

    Definition Classes
    StringBaseMatchers
  13. def =~(t: ⇒ String): BeMatching

    Permalink

    alias for beMatching but matching just a fragment of the string

    alias for beMatching but matching just a fragment of the string

    Definition Classes
    StringBaseMatchers
  14. def >[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Permalink

    alias for beGreaterThan

    alias for beGreaterThan

    Definition Classes
    NumericBaseMatchers
  15. def >=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Permalink

    alias for beGreaterThanOrEqualTo

    alias for beGreaterThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  16. def aFailedTry[T](t: Throwable): TryFailureCheckedMatcher[T]

    Permalink
    Definition Classes
    TryBaseMatchers
  17. def aFailedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]

    Permalink
    Definition Classes
    TryBaseMatchers
  18. def aFailedTry[T]: TryFailureMatcher[T]

    Permalink
    Definition Classes
    TryBaseMatchers
  19. def aSuccessfulTry[T](t: T): TrySuccessCheckedMatcher[T]

    Permalink
    Definition Classes
    TryBaseMatchers
  20. def aSuccessfulTry[T](check: ValueCheck[T]): TrySuccessCheckedMatcher[T]

    Permalink
    Definition Classes
    TryBaseMatchers
  21. def aSuccessfulTry[T]: TrySuccessMatcher[T]

    Permalink
    Definition Classes
    TryBaseMatchers
  22. def action(a: ⇒ Any): Fragment

    Permalink
    Definition Classes
    ActionDslActionDsl
  23. def addBacktab(n: Int): Fragment

    Permalink
    Definition Classes
    TextCreation
  24. def addBacktab: Fragment

    Permalink
    Definition Classes
    TextCreation
  25. def addBreak(n: Int): Fragment

    Permalink
    Definition Classes
    TextCreation
  26. def addBreak: Fragment

    Permalink
    Definition Classes
    TextCreation
  27. def addFragment(fragment: Fragment): Fragment

    Permalink
  28. def addFragmentBlock(f: ⇒ Fragment): Fragment

    Permalink
  29. def addFragments(fragments: Fragments): Fragments

    Permalink
  30. def addFragmentsBlock(fs: ⇒ Fragments): Fragments

    Permalink
  31. def addParagraph(s: String, n: Int = 2): Fragment

    Permalink
    Definition Classes
    TextCreation
  32. def addTab(n: Int): Fragment

    Permalink
    Definition Classes
    TextCreation
  33. def addTab: Fragment

    Permalink
    Definition Classes
    TextCreation
  34. def addText(s: String): Fragment

    Permalink
    Definition Classes
    TextCreation
  35. def allOf[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  36. def anError: Error

    Permalink
  37. def args(ex: ArgProperty[String] = ArgProperty[String](), include: ArgProperty[String] = ArgProperty[String](), exclude: ArgProperty[String] = ArgProperty[String](), was: ArgProperty[String] = ArgProperty[String](), plan: ArgProperty[Boolean] = ArgProperty[Boolean](), skipAll: ArgProperty[Boolean] = ArgProperty[Boolean](), stopOnFail: ArgProperty[Boolean] = ArgProperty[Boolean](), stopOnSkip: ArgProperty[Boolean] = ArgProperty[Boolean](), sequential: ArgProperty[Boolean] = ArgProperty[Boolean](), asap: ArgProperty[Boolean] = ArgProperty[Boolean](), isolated: ArgProperty[Boolean] = ArgProperty[Boolean](), xonly: ArgProperty[Boolean] = ArgProperty[Boolean](), showOnly: ArgProperty[String] = ArgProperty[String](), color: ArgProperty[Boolean] = ArgProperty[Boolean]()): Arguments

    Permalink

    shorthand method to create an Arguments object

    shorthand method to create an Arguments object

    Definition Classes
    ArgumentsCreationArgumentsCreation
  38. lazy val args: ArgumentsNamespaceMutable

    Permalink
    Definition Classes
    ArgumentsCreationArgumentsCreation
  39. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  40. def asNoneAs[T](other: ⇒ Option[T]): Matcher[Option[T]]

    Permalink
    Definition Classes
    OptionBaseMatchers
  41. def atLeast[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  42. def atMost[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  43. def await[T](m: Matcher[T])(retries: Int, timeout: FiniteDuration)(implicit ee: ExecutionEnv): Matcher[Future[T]]

    Permalink
    Definition Classes
    FutureBaseMatchers
  44. def await[T](m: Matcher[T])(implicit ee: ExecutionEnv): Matcher[Future[T]]

    Permalink
    Definition Classes
    FutureBaseMatchers
  45. def awaitFor[T](m: Matcher[T])(timeout: FiniteDuration)(implicit ee: ExecutionEnv): Matcher[Future[T]]

    Permalink
    Definition Classes
    FutureBaseMatchers
  46. def be[T <: AnyRef](t: ⇒ T): BeTheSameAs[T]

    Permalink

    alias for beTheSameAs

    alias for beTheSameAs

    Definition Classes
    AnyBaseMatchers
  47. def beAFailedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]

    Permalink
    Definition Classes
    TryBaseMatchers
  48. def beAFailedTry[T]: TryFailureMatcher[T]

    Permalink
    Definition Classes
    TryBaseMatchers
  49. def beASuccessfulTry[T](check: ValueCheck[T]): TrySuccessCheckedMatcher[T]

    Permalink
    Definition Classes
    TryBaseMatchers
  50. def beASuccessfulTry[T]: TrySuccessMatcher[T]

    Permalink
    Definition Classes
    TryBaseMatchers
  51. def beAnInstanceOf[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]

    Permalink
    Definition Classes
    AnyBaseMatchers
  52. def beAnyOf[T](t: T*): Matcher[T]

    Permalink

    alias for beOneOf

    alias for beOneOf

    Definition Classes
    AnyBaseMatchers
  53. def beAsNoneAs[T](other: ⇒ Option[T]): Matcher[Option[T]]

    Permalink
    Definition Classes
    OptionBaseMatchers
  54. def beAsNullAs[T](a: ⇒ T): Matcher[T]

    Permalink

    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

    Definition Classes
    AnyBaseMatchers
  55. def beAssignableFrom[T](implicit arg0: ClassTag[T]): Matcher[Class[_]]

    Permalink

    matches if v.isAssignableFrom(c)

    matches if v.isAssignableFrom(c)

    Definition Classes
    AnyBaseMatchers
  56. def beBetween[T](t1: T, t2: T)(implicit arg0: (T) ⇒ Ordered[T]): BetweenMatcher[T]

    Permalink

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

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

    Definition Classes
    NumericBaseMatchers
  57. def beCloseTo[S](target: SignificantTarget[S])(implicit arg0: Numeric[S]): Matcher[S]

    Permalink
    Definition Classes
    NumericBaseMatchers
  58. def beCloseTo[S](target: S, figures: SignificantFigures)(implicit arg0: Numeric[S]): Matcher[S]

    Permalink

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

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

    Definition Classes
    NumericBaseMatchers
  59. def beCloseTo[S](delta: PlusOrMinus[S])(implicit arg0: Numeric[S]): Matcher[S]

    Permalink

    matches if x = n +/- delta

    matches if x = n +/- delta

    Definition Classes
    NumericBaseMatchers
  60. def beCloseTo[S](n: S, delta: S)(implicit arg0: Numeric[S]): Matcher[S]

    Permalink

    matches if x = n +/- delta

    matches if x = n +/- delta

    Definition Classes
    NumericBaseMatchers
  61. def beEmpty[T](implicit arg0: (T) ⇒ Any { def isEmpty: Boolean }): Matcher[T]

    Permalink

    matches if a.isEmpty

    matches if a.isEmpty

    Definition Classes
    AnyBaseMatchers
  62. def beEqualTo[T](t: ⇒ T): BeEqualTo

    Permalink

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  63. def beFailedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]

    Permalink
    Definition Classes
    TryBaseMatchers
  64. def beFailedTry[T]: TryFailureMatcher[T]

    Permalink
    Definition Classes
    TryBaseMatchers
  65. def beFalse: Matcher[Boolean]

    Permalink

    matches if a == false

    matches if a == false

    Definition Classes
    AnyBaseMatchers
  66. def beGreaterThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Permalink

    matches if x > n

    matches if x > n

    Definition Classes
    NumericBaseMatchers
  67. def beGreaterThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Permalink

    matches if x >= n

    matches if x >= n

    Definition Classes
    NumericBaseMatchers
  68. def beLeft[T]: LeftMatcher[T]

    Permalink
    Definition Classes
    EitherBaseMatchers
  69. def beLeft[T](t: ValueCheck[T]): LeftCheckedMatcher[T]

    Permalink
    Definition Classes
    EitherBaseMatchers
  70. def beLessThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    Permalink

    matches if x < n

    matches if x < n

    Definition Classes
    NumericBaseMatchers
  71. def beLessThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]

    Permalink

    matches if x <= n

    matches if x <= n

    Definition Classes
    NumericBaseMatchers
  72. def beLike[T](pattern: PartialFunction[T, MatchResult[_]]): Matcher[T]

    Permalink

    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

    Definition Classes
    AnyBaseMatchers
  73. def beMatching(a: Regex): BeMatchingRegex

    Permalink

    matches if b matches the regex a

    matches if b matches the regex a

    Definition Classes
    StringBaseMatchers
  74. def beMatching(a: Pattern): BeMatchingPattern

    Permalink

    matches if b matches the pattern a

    matches if b matches the pattern a

    Definition Classes
    StringBaseMatchers
  75. def beMatching(a: ⇒ String): BeMatching

    Permalink

    matches if b matches the regular expression a

    matches if b matches the regular expression a

    Definition Classes
    StringBaseMatchers
  76. def beNone: Matcher[Option[Any]]

    Permalink
    Definition Classes
    OptionBaseMatchers
  77. def beNull[T]: BeNull[T]

    Permalink

    matches if the value is null

    matches if the value is null

    Definition Classes
    AnyBaseMatchers
  78. def beOneOf[T](t: T*): Matcher[T]

    Permalink

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

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

    Definition Classes
    AnyBaseMatchers
  79. def beRight[T]: RightMatcher[T]

    Permalink
    Definition Classes
    EitherBaseMatchers
  80. def beRight[T](t: ValueCheck[T]): RightCheckedMatcher[T]

    Permalink
    Definition Classes
    EitherBaseMatchers
  81. def beSome[T]: SomeMatcher[T]

    Permalink
    Definition Classes
    OptionBaseMatchers
  82. def beSome[T](check: ValueCheck[T]): SomeCheckedMatcher[T]

    Permalink
    Definition Classes
    OptionBaseMatchers
  83. def beSorted[T](implicit arg0: Ordering[T]): OrderingMatcher[T]

    Permalink

    returns

    a matcher checking if the elements are ordered

    Definition Classes
    TraversableBaseMatchers
  84. def beSuccessfulTry[T](check: ValueCheck[T]): TrySuccessCheckedMatcher[T]

    Permalink
    Definition Classes
    TryBaseMatchers
  85. def beSuccessfulTry[T]: TrySuccessMatcher[T]

    Permalink
    Definition Classes
    TryBaseMatchers
  86. def beTheSameAs[T <: AnyRef](t: ⇒ T): BeTheSameAs[T]

    Permalink

    matches if a eq b

    matches if a eq b

    Definition Classes
    AnyBaseMatchers
  87. def beTrue: BeTrueMatcher

    Permalink

    matches if a == true

    matches if a == true

    Definition Classes
    AnyBaseMatchers
  88. def beTypedEqualTo[T](t: ⇒ T, equality: (T, T) ⇒ Boolean = (t1:T, t2:T) => t1 == t2): BeTypedEqualTo[T]

    Permalink

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  89. def be[[T](t1: T, t2: T)(implicit arg0: (T) ⇒ Ordered[T]): BetweenMatcher[T]

    Permalink

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

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

    Definition Classes
    NumericBaseMatchers
  90. def be][T](t1: T, t2: T)(implicit arg0: (T) ⇒ Ordered[T]): BetweenMatcher[T]

    Permalink

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

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

    Definition Classes
    NumericBaseMatchers
  91. def be_!=[T](t: ⇒ T): Matcher[Any]

    Permalink

    matches if a != b

    matches if a != b

    Definition Classes
    AnyBaseMatchers
  92. def be_!=/(a: String): Matcher[Any]

    Permalink

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

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

    Definition Classes
    StringBaseMatchers
  93. def be_!==[T](t: ⇒ T): Matcher[T]

    Permalink

    matches if a != b

    matches if a != b

    Definition Classes
    AnyBaseMatchers
  94. def be_<[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    Permalink

    alias for beLessThan

    alias for beLessThan

    Definition Classes
    NumericBaseMatchers
  95. def be_<=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]

    Permalink

    alias for beLessThanOrEqualTo

    alias for beLessThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  96. def be_==[T](t: ⇒ T): BeEqualTo

    Permalink

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  97. def be_==/(a: String): AdaptableMatcher[Any]

    Permalink

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

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

    Definition Classes
    StringBaseMatchers
  98. def be_===[T](t: ⇒ T): BeTypedEqualTo[T]

    Permalink

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  99. def be_==~[T, S](s: ⇒ S)(implicit convert: (S) ⇒ T): Matcher[T]

    Permalink

    matches if a == b after an implicit conversion

    matches if a == b after an implicit conversion

    Definition Classes
    AnyBaseMatchers
  100. def be_>[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Permalink

    alias for beGreaterThan

    alias for beGreaterThan

    Definition Classes
    NumericBaseMatchers
  101. def be_>=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Permalink

    alias for beGreaterThanOrEqualTo

    alias for beGreaterThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  102. def between[T](t1: T, t2: T)(implicit arg0: (T) ⇒ Ordered[T]): BetweenMatcher[T]

    Permalink
    Definition Classes
    NumericBaseMatchers
  103. implicit def blockExample(d: String): BlockExample

    Permalink
    Definition Classes
    ExampleDsl0
  104. def br: Fragment

    Permalink
    Definition Classes
    FormattingFragments
  105. def bt(n: Int): Fragment

    Permalink
    Definition Classes
    FormattingFragments
  106. def bt: Fragment

    Permalink
    Definition Classes
    FormattingFragments
  107. def checkFailure[T](m: MatchResult[T]): MatchResult[T]

    Permalink

    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

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  108. def checkMatchResultFailure[T](m: MatchResult[T]): MatchResult[T]

    Permalink

    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

    Attributes
    protected
    Definition Classes
    ThrownExpectationsCreationExpectationsCreation
  109. def checkResultFailure(result: ⇒ Result): Result

    Permalink

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

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

    Attributes
    protected
    Definition Classes
    ThrownExpectationsCreationExpectationsCreation
  110. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  111. def closeTo[S](target: SignificantTarget[S])(implicit arg0: Numeric[S]): Matcher[S]

    Permalink
    Definition Classes
    NumericBaseMatchers
  112. def closeTo[S](target: S, figures: SignificantFigures)(implicit arg0: Numeric[S]): Matcher[S]

    Permalink
    Definition Classes
    NumericBaseMatchers
  113. def closeTo[S](delta: PlusOrMinus[S])(implicit arg0: Numeric[S]): Matcher[S]

    Permalink
    Definition Classes
    NumericBaseMatchers
  114. def closeTo[S](n: S, delta: S)(implicit arg0: Numeric[S]): Matcher[S]

    Permalink
    Definition Classes
    NumericBaseMatchers
  115. def colors(c: Colors): Arguments

    Permalink

    shortcut to set new Colors

    shortcut to set new Colors

    Definition Classes
    ArgumentsShortcuts
  116. def contain(t: Char): Matcher[String]

    Permalink

    matches if (b contains a)

    matches if (b contains a)

    Definition Classes
    StringBaseMatchers
  117. def contain(t: String): Matcher[String]

    Permalink

    matches if (b contains a)

    matches if (b contains a)

    Definition Classes
    StringBaseMatchers
  118. 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]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  119. 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]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  120. 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]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  121. 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]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  122. 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]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  123. 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]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  124. 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]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  125. 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]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  126. 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]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  127. 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]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  128. 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]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  129. 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]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  130. 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]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  131. 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]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  132. 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]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  133. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T]): ContainWithResultSeq[T]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  134. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T]): ContainWithResultSeq[T]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  135. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T]): ContainWithResultSeq[T]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  136. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T]): ContainWithResultSeq[T]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  137. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T]): ContainWithResultSeq[T]

    Permalink

    Additional contain methods using to avoid automatic tuple conversions

    Additional contain methods using to avoid automatic tuple conversions

    Definition Classes
    TraversableBaseMatchers
  138. def contain[T](cm: ContainWithResultSeq[T]): ContainWithResultSeq[T]

    Permalink

    COLLECTION MATCHERS

    COLLECTION MATCHERS

    Definition Classes
    TraversableBaseMatchers
  139. def contain[T](check: ValueCheck[T]): ContainWithResult[T]

    Permalink

    ELEMENTS MATCHERS

    ELEMENTS MATCHERS

    Definition Classes
    TraversableBaseMatchers
  140. def containAllOf[T](seq: Seq[T]): ContainWithResultSeq[T]

    Permalink

    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)

    Definition Classes
    TraversableBaseMatchers
  141. def containAnyOf[T](seq: Seq[T]): ContainWithResult[T]

    Permalink

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

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

    Definition Classes
    TraversableBaseMatchers
  142. def containMatch[T](t: ⇒ String): Matcher[GenTraversableOnce[T]]

    Permalink

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

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

    Definition Classes
    TraversableBaseMatchers
  143. def containPattern[T](t: ⇒ String): Matcher[GenTraversableOnce[T]]

    Permalink

    match if traversable contains (x matches p)

    match if traversable contains (x matches p)

    Definition Classes
    TraversableBaseMatchers
  144. def containTheSameElementsAs[T](seq: Seq[T], equality: (T, T) ⇒ Boolean = (_:T) == (_:T)): Matcher[Traversable[T]]

    Permalink

    does a containAll comparison in both ways

    does a containAll comparison in both ways

    Definition Classes
    TraversableBaseMatchers
  145. def createExpectable[T](t: ⇒ T, alias: Option[(String) ⇒ String]): Expectable[T]

    Permalink

    returns

    an Expectable with a description function

    Definition Classes
    ThrownExpectationsCreationExpectationsCreation
  146. def createExpectable[T](t: ⇒ T, alias: (String) ⇒ String): Expectable[T]

    Permalink

    returns

    an Expectable with a description function

    Definition Classes
    ExpectationsCreation
  147. def createExpectable[T](t: ⇒ T, alias: ⇒ String): Expectable[T]

    Permalink

    returns

    an Expectable with a description

    Definition Classes
    ExpectationsCreation
  148. def createExpectable[T](t: ⇒ T): Expectable[T]

    Permalink

    returns

    an Expectable

    Definition Classes
    ExpectationsCreation
  149. def createExpectableWithShowAs[T](t: ⇒ T, show: ⇒ String): Expectable[T]

    Permalink

    returns

    an Expectable with a function to show the element T

    Definition Classes
    ThrownExpectationsCreationExpectationsCreation
  150. def createMustExpectable[T](t: ⇒ T): MustExpectable[T]

    Permalink
    Attributes
    protected
    Definition Classes
    MustThrownExpectationsCreation → MustExpectationsCreation
  151. def decorate(is: SpecStructure, env: Env): SpecStructure

    Permalink
    Definition Classes
    SpecificationStructure
  152. def diffs(show: Boolean = true, separators: String = "[]", triggerSize: Int = 20, diffRatio: Int = 30, shortenSize: Int = 5, full: Boolean = false, seqTriggerSize: Int = 0, seqMaxSize: Int = 1000000): Arguments

    Permalink

    shortcut to display the differences with some specific parameters

    shortcut to display the differences with some specific parameters

    Definition Classes
    ArgumentsShortcuts
  153. def done: Success

    Permalink
    Definition Classes
    StandardResults
  154. def eachOf[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  155. def end: Fragment

    Permalink
    Definition Classes
    FormattingFragments
  156. def endWith(t: ⇒ String): Matcher[String]

    Permalink

    matches if b.endsWith(a)

    matches if b.endsWith(a)

    Definition Classes
    StringBaseMatchers
  157. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  158. def equalTo[T](t: ⇒ T): BeEqualTo

    Permalink

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  159. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  160. def eventually[T](nested: ⇒ Matcher[T]): Matcher[T]

    Permalink

    returns

    a matcher that will retry the nested matcher 40 times

    Definition Classes
    EventuallyMatchers
  161. def eventually[T](nested: ⇒ Matcher[T], retries: Int, sleep: Duration): Matcher[T]

    Permalink

    returns

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

    Definition Classes
    EventuallyMatchers
  162. def eventually[T](result: ⇒ T)(implicit arg0: AsResult[T]): T

    Permalink

    returns

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

    Definition Classes
    EventuallyResults
  163. def eventually[T](retries: Int, sleep: Duration)(result: ⇒ T)(implicit arg0: AsResult[T]): T

    Permalink

    returns

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

    Definition Classes
    EventuallyResults
  164. def exactly[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  165. def exclude(tags: String): Arguments

    Permalink

    shortcut to exclude some tagged fragments

    shortcut to exclude some tagged fragments

    Definition Classes
    ArgumentsShortcuts
  166. def excludeAlsoTrace(patterns: String*): IncludeExcludeStackTraceFilter

    Permalink

    shortcut to add exclude trace patterns

    shortcut to add exclude trace patterns

    Definition Classes
    ArgumentsShortcuts
  167. def excludeTrace(patterns: String*): IncludeExcludeStackTraceFilter

    Permalink

    shortcut to create a stackTrace filter to exclude only some elements

    shortcut to create a stackTrace filter to exclude only some elements

    Definition Classes
    ArgumentsShortcuts
  168. def failedTry[T](t: Throwable): TryFailureCheckedMatcher[T]

    Permalink
    Definition Classes
    TryBaseMatchers
  169. def failedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]

    Permalink
    Definition Classes
    TryBaseMatchers
  170. def failedTry[T]: TryFailureMatcher[T]

    Permalink
    Definition Classes
    TryBaseMatchers
  171. def failure(f: Failure): Failure

    Permalink
    Attributes
    protected
    Definition Classes
    ThrownExpectationsCreation
  172. def failure(m: String): Failure

    Permalink
    Attributes
    protected
    Definition Classes
    ThrownExpectationsCreation
  173. def failure: Failure

    Permalink
  174. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  175. def find(r: Regex): FindMatcherRegex

    Permalink

    matches if the regexp r is found inside b

    matches if the regexp r is found inside b

    Definition Classes
    StringBaseMatchers
  176. def find(p: Pattern): FindMatcherPattern

    Permalink

    matches if the pattern p is found inside b

    matches if the pattern p is found inside b

    Definition Classes
    StringBaseMatchers
  177. def find(a: ⇒ String): FindMatcher

    Permalink

    matches if the regexp a is found inside b

    matches if the regexp a is found inside b

    Definition Classes
    StringBaseMatchers
  178. def fragmentFactory: FragmentFactory

    Permalink
    Attributes
    protected
    Definition Classes
    FragmentsFactory
  179. def fragments: (Env) ⇒ Fragments

    Permalink
  180. def fullStackTrace: Arguments

    Permalink

    shortcut to filter nothing

    shortcut to filter nothing

    Definition Classes
    ArgumentsShortcuts
  181. implicit def functionIsValueCheck[T, R](f: (T) ⇒ R)(implicit arg0: AsResult[R]): ValueCheck[T]

    Permalink

    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

    Definition Classes
    ValueChecksLowImplicits
  182. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  183. def greaterThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Permalink
    Definition Classes
    NumericBaseMatchers
  184. def greaterThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Permalink
    Definition Classes
    NumericBaseMatchers
  185. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  186. def haveClass[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]

    Permalink

    matches if v.getClass == c

    matches if v.getClass == c

    Definition Classes
    AnyBaseMatchers
  187. def haveInterface[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]

    Permalink

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

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

    Definition Classes
    AnyBaseMatchers
  188. def haveLength[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]

    Permalink

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  189. def haveLength[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]

    Permalink

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  190. def haveSize[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]

    Permalink

    match if there is a way to size T

    match if there is a way to size T

    Definition Classes
    TraversableBaseMatchers
  191. def haveSize[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]

    Permalink

    match if there is a way to size T

    match if there is a way to size T

    Definition Classes
    TraversableBaseMatchers
  192. def haveSuperclass[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]

    Permalink

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

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

    Definition Classes
    AnyBaseMatchers
  193. def include(tags: String): Arguments

    Permalink

    shortcut to include only some tagged fragments

    shortcut to include only some tagged fragments

    Definition Classes
    ArgumentsShortcuts
  194. def includeAlsoTrace(patterns: String*): IncludeExcludeStackTraceFilter

    Permalink

    shortcut to add include trace patterns

    shortcut to add include trace patterns

    Definition Classes
    ArgumentsShortcuts
  195. def includeTrace(patterns: String*): IncludeExcludeStackTraceFilter

    Permalink

    shortcut to create a stackTrace filter to include only some elements

    shortcut to create a stackTrace filter to include only some elements

    Definition Classes
    ArgumentsShortcuts
  196. def is: SpecStructure

    Permalink
    Definition Classes
    SpecificationStructure → SpecificationStructure
  197. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  198. def isolated: Arguments

    Permalink

    returns

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

    Definition Classes
    ArgumentsShortcuts
  199. def ko(m: String): MatchResult[Any]

    Permalink
    Definition Classes
    StandardMatchResults
  200. lazy val ko: MatchResult[Any]

    Permalink
  201. def left[T]: LeftMatcher[Nothing]

    Permalink
    Definition Classes
    EitherBaseMatchers
  202. def left[T](t: ValueCheck[T]): LeftCheckedMatcher[T]

    Permalink
    Definition Classes
    EitherBaseMatchers
  203. def left[T](t: T): LeftCheckedMatcher[T]

    Permalink
    Definition Classes
    EitherBaseMatchers
  204. def length[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]

    Permalink

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  205. def length[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]

    Permalink

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  206. def lessThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    Permalink
    Definition Classes
    NumericBaseMatchers
  207. def lessThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]

    Permalink

    matches if x <= n

    matches if x <= n

    Definition Classes
    NumericBaseMatchers
  208. def map(fs: ⇒ Fragments, env: Env): Fragments

    Permalink

    modify the fragments, using the current environment

    modify the fragments, using the current environment

    Definition Classes
    SpecificationStructure
  209. def map(fs: ⇒ Fragments): Fragments

    Permalink

    modify the fragments

    modify the fragments

    Definition Classes
    SpecificationStructure
  210. def map(structure: SpecStructure): SpecStructure

    Permalink

    modify the specification structure

    modify the specification structure

    Definition Classes
    SpecificationStructure
  211. def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]

    Permalink

    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

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  212. implicit def matcherIsValueCheck[T](m: Matcher[T]): ValueCheck[T]

    Permalink

    a Matcher[T] can check a value

    a Matcher[T] can check a value

    Definition Classes
    ValueChecksBase
  213. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  214. def nocolor: Arguments

    Permalink

    shortcut to avoid colored output

    shortcut to avoid colored output

    Definition Classes
    ArgumentsShortcuts
  215. def none: Matcher[Option[Any]]

    Permalink
    Definition Classes
    OptionBaseMatchers
  216. def not[T](m: Matcher[T]): Matcher[T]

    Permalink

    negate a matcher

    negate a matcher

    Definition Classes
    AnyBaseMatchers
  217. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  218. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  219. def ok(m: String): MatchResult[Any]

    Permalink
    Definition Classes
    StandardMatchResults
  220. lazy val ok: MatchResult[Any]

    Permalink
    Definition Classes
    StandardMatchResults
  221. def only(examples: String): Arguments

    Permalink

    shortcut to execute and print only some examples

    shortcut to execute and print only some examples

    Definition Classes
    ArgumentsShortcuts
  222. def p: Fragments

    Permalink
    Definition Classes
    FormattingFragments
  223. def pending(p: Pending): Pending

    Permalink
    Attributes
    protected
    Definition Classes
    ThrownExpectationsCreation
  224. def pending(m: String): Pending

    Permalink
  225. def pending: Pending

    Permalink
  226. def pending[R](r: ⇒ R)(implicit arg0: AsResult[R]): Pending

    Permalink
    Definition Classes
    StandardResults
  227. def plan: Arguments

    Permalink

    shortcut to show only the text without any execution

    shortcut to show only the text without any execution

    Definition Classes
    ArgumentsShortcuts
  228. def retry[T](m: Matcher[T])(retries: Int)(implicit ee: ExecutionEnv): Matcher[Future[T]]

    Permalink
    Definition Classes
    FutureBaseMatchers
  229. def right[T]: RightMatcher[Nothing]

    Permalink
    Definition Classes
    EitherBaseMatchers
  230. def right[T](t: ValueCheck[T]): RightCheckedMatcher[T]

    Permalink
    Definition Classes
    EitherBaseMatchers
  231. def right[T](t: T): RightCheckedMatcher[T]

    Permalink
    Definition Classes
    EitherBaseMatchers
  232. def sandboxMatchResult[T](mr: ⇒ MatchResult[T]): MatchResult[T]

    Permalink

    returns

    the value without any side-effects for expectations

    Definition Classes
    ThrownExpectationsCreationExpectationsCreation
  233. def sequential: Arguments

    Permalink

    returns

    arguments for a specification where examples must be executed sequentially

    Definition Classes
    ArgumentsShortcuts
  234. def setArguments(a: Arguments): Arguments

    Permalink
    Definition Classes
    MutableArgumentsBuilder
  235. def setStacktrace[T](m: MatchResult[T]): MatchResult[T]

    Permalink

    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

    Attributes
    protected
    Definition Classes
    MatchResultStackTrace
  236. def setTitle(t: String): SpecHeader

    Permalink
    Definition Classes
    MutableHeaderBuilder
  237. def showOnly(s: String): Arguments

    Permalink

    shortcut to print only some statuses

    shortcut to print only some statuses

    Definition Classes
    ArgumentsShortcuts
  238. def size[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]

    Permalink

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  239. def size[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]

    Permalink

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  240. def skipAll: Arguments

    Permalink

    shortcut to skip all examples

    shortcut to skip all examples

    Definition Classes
    ArgumentsShortcuts
  241. def skipAllIf(condition: ⇒ Boolean): Arguments

    Permalink

    shortcut to skip all examples when a condition is true.

    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

    Definition Classes
    ArgumentsShortcuts
  242. def skipAllUnless(condition: ⇒ Boolean): Arguments

    Permalink

    shortcut to skip all examples when a condition is false.

    shortcut to skip all examples when a condition is false.

    Definition Classes
    ArgumentsShortcuts
  243. def skipped(s: Skipped): Skipped

    Permalink
    Attributes
    protected
    Definition Classes
    ThrownExpectationsCreation
  244. def skipped(m: String): Skipped

    Permalink
  245. def skipped: Skipped

    Permalink
  246. def skipped[R](r: ⇒ R)(implicit arg0: AsResult[R]): Skipped

    Permalink
    Definition Classes
    StandardResults
  247. def some[T]: SomeMatcher[T]

    Permalink
    Definition Classes
    OptionBaseMatchers
  248. def some[T](check: ValueCheck[T]): SomeCheckedMatcher[T]

    Permalink
    Definition Classes
    OptionBaseMatchers
  249. def some[T](t: T): SomeCheckedMatcher[T]

    Permalink
    Definition Classes
    OptionBaseMatchers
  250. def sorted[T](implicit arg0: Ordering[T]): OrderingMatcher[T]

    Permalink

    alias for beSorted

    alias for beSorted

    Definition Classes
    TraversableBaseMatchers
  251. def specificationFragments: (Env) ⇒ Fragments

    Permalink
    Definition Classes
    MutableFragmentBuilder
  252. def specificationStructure: (Env) ⇒ SpecStructure

    Permalink
    Definition Classes
    MutableFragmentBuilder
  253. def startWith(t: String): Matcher[String]

    Permalink

    matches if b.startsWith(a)

    matches if b.startsWith(a)

    Definition Classes
    StringBaseMatchers
  254. def step(a: ⇒ Any, global: Boolean): Fragment

    Permalink
    Definition Classes
    ActionDslActionDsl
  255. def step(a: ⇒ Any): Fragment

    Permalink
    Definition Classes
    ActionDslActionDsl
  256. def stopOnFail: Arguments

    Permalink

    shortcut to stop after the first failure or error

    shortcut to stop after the first failure or error

    Definition Classes
    ArgumentsShortcuts
  257. def stopOnSkip: Arguments

    Permalink

    shortcut to stop after the first skipped result

    shortcut to stop after the first skipped result

    Definition Classes
    ArgumentsShortcuts
  258. def stopWhen(f: (Result) ⇒ Boolean): Fragment

    Permalink
    Definition Classes
    ActionDsl
  259. def stopWhen(r: Result): Fragment

    Permalink
    Definition Classes
    ActionDsl
  260. def stopWhenFail(when: ⇒ Boolean): Fragment

    Permalink
    Definition Classes
    ActionDsl
  261. def stopWhenFail: Fragment

    Permalink
    Definition Classes
    ActionDsl
  262. def stopWhenSkipped(when: ⇒ Boolean): Fragment

    Permalink
    Definition Classes
    ActionDsl
  263. def stopWhenSkipped: Fragment

    Permalink
    Definition Classes
    ActionDsl
  264. def structure: (Env) ⇒ SpecStructure

    Permalink
  265. def success(m: String): Success

    Permalink
    Attributes
    protected
    Definition Classes
    ThrownExpectationsCreation
  266. lazy val success: Success

    Permalink
  267. def successfulTry[T](t: T): TrySuccessCheckedMatcher[T]

    Permalink
    Definition Classes
    TryBaseMatchers
  268. def successfulTry[T](check: ValueCheck[T]): TrySuccessCheckedMatcher[T]

    Permalink
    Definition Classes
    TryBaseMatchers
  269. def successfulTry[T]: TrySuccessMatcher[T]

    Permalink
    Definition Classes
    TryBaseMatchers
  270. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  271. def t(n: Int): Fragment

    Permalink
    Definition Classes
    FormattingFragments
  272. def t: Fragment

    Permalink
    Definition Classes
    FormattingFragments
  273. implicit def theValue[T](t: ⇒ T): MustExpectable[T]

    Permalink
    Definition Classes
    MustExpectations1
  274. def throwA[E <: Throwable](e: E): ExceptionMatcher[E]

    Permalink

    returns

    a matcher checking the value of an Exception

    Definition Classes
    ExceptionBaseMatchers
  275. def throwA[E <: Throwable](message: String = ".*")(implicit m: ClassTag[E]): Matcher[Any]

    Permalink

    returns

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

    Definition Classes
    ExceptionBaseMatchers
  276. def throwA[E <: Throwable](implicit m: ClassTag[E]): ExceptionClassMatcher

    Permalink

    returns

    a matcher checking the type of an Exception

    Definition Classes
    ExceptionBaseMatchers
  277. def throwAn[E <: Throwable](e: E): ExceptionMatcher[E]

    Permalink

    alias for throwA

    alias for throwA

    Definition Classes
    ExceptionBaseMatchers
  278. def throwAn[E <: Throwable](message: String = ".*")(implicit m: ClassTag[E]): Matcher[Any]

    Permalink

    alias for throwA

    alias for throwA

    Definition Classes
    ExceptionBaseMatchers
  279. def throwAn[E <: Throwable](implicit m: ClassTag[E]): ExceptionClassMatcher

    Permalink

    alias for throwA

    alias for throwA

    Definition Classes
    ExceptionBaseMatchers
  280. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  281. def todo: Pending

    Permalink
  282. def typedEqualTo[T](t: ⇒ T, equality: (T, T) ⇒ Boolean = (t1:T, t2:T) => t1 == t2): BeTypedEqualTo[T]

    Permalink

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  283. def updateArguments(a: Arguments): Arguments

    Permalink
    Definition Classes
    MutableArgumentsBuilder
  284. def valueIsTypedValueCheck[T](expected: T): BeEqualTypedValueCheck[T]

    Permalink

    an expected value can be used to check another value

    an expected value can be used to check another value

    Definition Classes
    ValueChecksBase
  285. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  286. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  287. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  288. def was(s: String): Arguments

    Permalink

    shortcut to include only examples with some previous statuses

    shortcut to include only examples with some previous statuses

    Definition Classes
    ArgumentsShortcuts
  289. def wontdo: Success

    Permalink
    Definition Classes
    StandardResults
  290. def xonly: Arguments

    Permalink

    shortcut to print only failures and errors

    shortcut to print only failures and errors

    Definition Classes
    ArgumentsShortcuts
  291. def ~[S](delta: PlusOrMinus[S])(implicit arg0: Numeric[S]): Matcher[S]

    Permalink

    alias for beCloseTo

    alias for beCloseTo

    Definition Classes
    NumericBaseMatchers
  292. def ~[S](n: S)(delta: S)(implicit arg0: Numeric[S]): Matcher[S]

    Permalink

    alias for beCloseTo

    alias for beCloseTo

    Definition Classes
    NumericBaseMatchers

Inherited from FormattingFragments

Inherited from MustThrownMatchers1

Inherited from MustThrownExpectations1

Inherited from StandardMatchResults

Inherited from StandardResults

Inherited from MustExpectations1

Inherited from MustExpectationsCreation

Inherited from Matchers1

Inherited from ValueChecksBase

Inherited from ValueChecksLowImplicits

Inherited from FutureBaseMatchers

Inherited from EventuallyMatchers

Inherited from EventuallyResults

Inherited from TryBaseMatchers

Inherited from EitherBaseMatchers

Inherited from OptionBaseMatchers

Inherited from NumericBaseMatchers

Inherited from ExceptionBaseMatchers

Inherited from ExpectationsCreation

Inherited from MatchResultStackTrace

Inherited from StringBaseMatchers

Inherited from TraversableBaseMatchers

Inherited from AnyBaseMatchers

Inherited from ActionDsl

Inherited from ActionDsl

Inherited from TextCreation

Inherited from ArgumentsShortcuts

Inherited from ArgumentsCreation

Inherited from ArgumentsCreation

Inherited from ExampleDsl0

Inherited from BlockCreation

Inherited from SpecificationStructure

Inherited from MutableFragmentBuilder

Inherited from MutableHeaderBuilder

Inherited from MutableArgumentsBuilder

Inherited from FragmentsFactory

Inherited from FragmentBuilder

Inherited from SpecificationStructure

Inherited from AnyRef

Inherited from Any

Ungrouped