Class

org.specs2

SpecWithJUnit

Related Doc: package specs2

Permalink

abstract class SpecWithJUnit extends Spec

This class must be inherited to allow a Specification to be executed as a JUnit test

Annotations
@RunWith()
Linear Supertypes
Spec, SpecLike, StandardMatchResults, StandardResults, FormattingFragments, ArgumentsShortcuts, ArgumentsCreation, MustMatchers1, MustExpectations1, MustExpectationsCreation, Matchers1, ValueChecksBase, ValueChecksLowImplicits, FutureBaseMatchers, EventuallyMatchers, EventuallyResults, TryBaseMatchers, EitherBaseMatchers, OptionBaseMatchers, NumericBaseMatchers, ExceptionBaseMatchers, ExpectationsCreation, MatchResultStackTrace, StringBaseMatchers, TraversableBaseMatchers, AnyBaseMatchers, AcceptanceDsl1, ActionDsl, TagDsl, ReferenceCreation, SpecStructureDsl1, S2StringContext1, S2StringContextCreation, FragmentsFactory, ImmutableSpecificationStructure, SpecificationStructure, ContextualSpecificationStructure, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SpecWithJUnit
  2. Spec
  3. SpecLike
  4. StandardMatchResults
  5. StandardResults
  6. FormattingFragments
  7. ArgumentsShortcuts
  8. ArgumentsCreation
  9. MustMatchers1
  10. MustExpectations1
  11. MustExpectationsCreation
  12. Matchers1
  13. ValueChecksBase
  14. ValueChecksLowImplicits
  15. FutureBaseMatchers
  16. EventuallyMatchers
  17. EventuallyResults
  18. TryBaseMatchers
  19. EitherBaseMatchers
  20. OptionBaseMatchers
  21. NumericBaseMatchers
  22. ExceptionBaseMatchers
  23. ExpectationsCreation
  24. MatchResultStackTrace
  25. StringBaseMatchers
  26. TraversableBaseMatchers
  27. AnyBaseMatchers
  28. AcceptanceDsl1
  29. ActionDsl
  30. TagDsl
  31. ReferenceCreation
  32. SpecStructureDsl1
  33. S2StringContext1
  34. S2StringContextCreation
  35. FragmentsFactory
  36. ImmutableSpecificationStructure
  37. SpecificationStructure
  38. ContextualSpecificationStructure
  39. AnyRef
  40. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SpecWithJUnit()

    Permalink

Type Members

  1. 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
  2. class ExceptionMatcher[E <: Throwable] extends Matcher[Any]

    Permalink

    This matchers matches exception instances.

    This matchers matches exception instances.

    Definition Classes
    ExceptionBaseMatchers
    See also

    throwA

  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. trait TraversableMatcher[T] extends Matcher[GenTraversableOnce[T]]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  9. implicit class appendToArguments extends AnyRef

    Permalink
    Definition Classes
    SpecStructureDsl1
  10. implicit class specificationInStringContext extends AnyRef

    Permalink
    Definition Classes
    S2StringContextCreation

Abstract Value Members

  1. abstract def is: SpecStructure

    Permalink
    Definition Classes
    SpecificationStructure

Concrete 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
    ActionDsl
  23. def allOf[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  24. def anError: Error

    Permalink
    Definition Classes
    StandardResults
  25. 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
    ArgumentsCreation
  26. lazy val args: ArgumentsNamespace

    Permalink
    Definition Classes
    ArgumentsCreation
  27. final def asInstanceOf[T0]: T0

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

    Permalink
    Definition Classes
    OptionBaseMatchers
  29. implicit def asResultIsInterpolatedFragment[R](r: ⇒ R)(implicit arg0: AsResult[R]): InterpolatedFragment

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

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

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

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

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

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

    Permalink

    alias for beTheSameAs

    alias for beTheSameAs

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

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

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

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

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

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

    Permalink

    alias for beOneOf

    alias for beOneOf

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

    Permalink
    Definition Classes
    OptionBaseMatchers
  43. 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
  44. def beAssignableFrom[T](implicit arg0: ClassTag[T]): Matcher[Class[_]]

    Permalink

    matches if v.isAssignableFrom(c)

    matches if v.isAssignableFrom(c)

    Definition Classes
    AnyBaseMatchers
  45. 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
  46. def beCloseTo[S](target: SignificantTarget[S])(implicit arg0: Numeric[S]): Matcher[S]

    Permalink
    Definition Classes
    NumericBaseMatchers
  47. 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
  48. 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
  49. 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
  50. def beEmpty[T](implicit arg0: (T) ⇒ Any { def isEmpty: Boolean }): Matcher[T]

    Permalink

    matches if a.isEmpty

    matches if a.isEmpty

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

    Permalink

    matches if a == b

    matches if a == b

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

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

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

    Permalink

    matches if a == false

    matches if a == false

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

    Permalink

    matches if x > n

    matches if x > n

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

    Permalink

    matches if x >= n

    matches if x >= n

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

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

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

    Permalink

    matches if x < n

    matches if x < n

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

    Permalink

    matches if x <= n

    matches if x <= n

    Definition Classes
    NumericBaseMatchers
  61. 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
  62. def beMatching(a: Regex): BeMatchingRegex

    Permalink

    matches if b matches the regex a

    matches if b matches the regex a

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

    Permalink

    matches if b matches the pattern a

    matches if b matches the pattern a

    Definition Classes
    StringBaseMatchers
  64. 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
  65. def beNone: Matcher[Option[Any]]

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

    Permalink

    matches if the value is null

    matches if the value is null

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

    Permalink

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

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

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

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

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

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

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

    Permalink

    returns

    a matcher checking if the elements are ordered

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

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

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

    Permalink

    matches if a eq b

    matches if a eq b

    Definition Classes
    AnyBaseMatchers
  76. def beTrue: BeTrueMatcher

    Permalink

    matches if a == true

    matches if a == true

    Definition Classes
    AnyBaseMatchers
  77. 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
  78. 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
  79. 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
  80. def be_!=[T](t: ⇒ T): Matcher[Any]

    Permalink

    matches if a != b

    matches if a != b

    Definition Classes
    AnyBaseMatchers
  81. 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
  82. def be_!==[T](t: ⇒ T): Matcher[T]

    Permalink

    matches if a != b

    matches if a != b

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

    Permalink

    alias for beLessThan

    alias for beLessThan

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

    Permalink

    alias for beLessThanOrEqualTo

    alias for beLessThanOrEqualTo

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

    Permalink

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  86. 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
  87. def be_===[T](t: ⇒ T): BeTypedEqualTo[T]

    Permalink

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  88. 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
  89. def be_>[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Permalink

    alias for beGreaterThan

    alias for beGreaterThan

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

    Permalink

    alias for beGreaterThanOrEqualTo

    alias for beGreaterThanOrEqualTo

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

    Permalink
    Definition Classes
    NumericBaseMatchers
  92. def br: Fragment

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

    Permalink
    Definition Classes
    FormattingFragments
  94. def bt: Fragment

    Permalink
    Definition Classes
    FormattingFragments
  95. 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
  96. def checkMatchResultFailure[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
  97. def checkResultFailure(r: ⇒ 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
    ExpectationsCreation
  98. def clone(): AnyRef

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

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

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

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

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

    Permalink

    shortcut to set new Colors

    shortcut to set new Colors

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

    Permalink

    matches if (b contains a)

    matches if (b contains a)

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

    Permalink

    matches if (b contains a)

    matches if (b contains a)

    Definition Classes
    StringBaseMatchers
  106. 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
  107. 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
  108. 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
  109. 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
  110. 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
  111. 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
  112. 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
  113. 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
  114. 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
  115. 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
  116. 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
  117. 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
  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]): 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]): 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]): 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]): 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]): ContainWithResultSeq[T]

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

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

    Permalink
    Definition Classes
    TraversableBaseMatchers
  125. 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
  126. def contain[T](cm: ContainWithResultSeq[T]): ContainWithResultSeq[T]

    Permalink

    COLLECTION MATCHERS

    COLLECTION MATCHERS

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

    Permalink

    ELEMENTS MATCHERS

    ELEMENTS MATCHERS

    Definition Classes
    TraversableBaseMatchers
  128. 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
  129. 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
  130. 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
  131. 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
  132. 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
  133. def createExecutionInterpolatedFragment(execution: Execution): InterpolatedFragment

    Permalink
    Definition Classes
    S2StringContextCreation
  134. def createExpectable[T](t: ⇒ T, alias: Option[(String) ⇒ String]): Expectable[T]

    Permalink

    returns

    an Expectable with a description function

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

    Permalink

    returns

    an Expectable with a description function

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

    Permalink

    returns

    an Expectable with a description

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

    Permalink

    returns

    an Expectable

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

    Permalink

    returns

    an Expectable with a function to show the element T

    Definition Classes
    ExpectationsCreation
  139. def createMustExpectable[T](t: ⇒ T): MustExpectable[T]

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

    Permalink
    Definition Classes
    SpecificationStructure
  141. 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
  142. def done: Success

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

    Permalink
    Definition Classes
    TraversableBaseMatchers
  144. def end: Fragment

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

    Permalink

    matches if b.endsWith(a)

    matches if b.endsWith(a)

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

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

    Permalink

    matches if a == b

    matches if a == b

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

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

    Permalink

    returns

    a matcher that will retry the nested matcher 40 times

    Definition Classes
    EventuallyMatchers
  150. 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
  151. 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
  152. 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
  153. def exactly[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]

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

    Permalink

    shortcut to exclude some tagged fragments

    shortcut to exclude some tagged fragments

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

    Permalink

    shortcut to add exclude trace patterns

    shortcut to add exclude trace patterns

    Definition Classes
    ArgumentsShortcuts
  156. 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
  157. def failedTry[T](t: Throwable): TryFailureCheckedMatcher[T]

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

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

    Permalink
    Definition Classes
    TryBaseMatchers
  160. def failure: Failure

    Permalink
    Definition Classes
    StandardResults
  161. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  162. 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
  163. 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
  164. 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
  165. def fragmentFactory: FragmentFactory

    Permalink
    Attributes
    protected
    Definition Classes
    FragmentsFactory
  166. implicit def fragmentIsInterpolatedFragment(f: ⇒ Fragment): InterpolatedFragment

    Permalink
    Definition Classes
    S2StringContext1
  167. def fragments: (Env) ⇒ Fragments

    Permalink
  168. implicit def fragmentsAsSpecStructure(fs: ⇒ Fragments): SpecStructure

    Permalink
    Definition Classes
    SpecStructureDsl1
  169. def fullStackTrace: Arguments

    Permalink

    shortcut to filter nothing

    shortcut to filter nothing

    Definition Classes
    ArgumentsShortcuts
  170. 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
  171. final def getClass(): Class[_]

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

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

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

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

    Permalink

    matches if v.getClass == c

    matches if v.getClass == c

    Definition Classes
    AnyBaseMatchers
  176. 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
  177. def haveLength[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]

    Permalink

    alias for haveSize

    alias for haveSize

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

    Permalink

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  179. 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
  180. 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
  181. 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
  182. def include(tags: String): Arguments

    Permalink

    shortcut to include only some tagged fragments

    shortcut to include only some tagged fragments

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

    Permalink

    shortcut to add include trace patterns

    shortcut to add include trace patterns

    Definition Classes
    ArgumentsShortcuts
  184. 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
  185. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  186. def isolated: Arguments

    Permalink

    returns

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

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

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

    Permalink
    Definition Classes
    StandardMatchResults
  189. def left[T]: LeftMatcher[Nothing]

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

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

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

    Permalink

    alias for haveSize

    alias for haveSize

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

    Permalink

    alias for haveSize

    alias for haveSize

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

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

    Permalink

    matches if x <= n

    matches if x <= n

    Definition Classes
    NumericBaseMatchers
  196. def link(s: ⇒ SpecificationStructure): Fragment

    Permalink
    Definition Classes
    ReferenceCreation
  197. def link(s: SpecStructure): Fragment

    Permalink
    Definition Classes
    ReferenceCreation
  198. 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
  199. def map(fs: ⇒ Fragments): Fragments

    Permalink

    modify the fragments

    modify the fragments

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

    Permalink

    modify the specification structure

    modify the specification structure

    Definition Classes
    SpecificationStructure
  201. 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
  202. 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
  203. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  204. def nocolor: Arguments

    Permalink

    shortcut to avoid colored output

    shortcut to avoid colored output

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

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

    Permalink

    negate a matcher

    negate a matcher

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

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

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

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

    Permalink
    Definition Classes
    StandardMatchResults
  211. 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
  212. def p: Fragments

    Permalink
    Definition Classes
    FormattingFragments
  213. def pending[R](r: ⇒ R)(implicit arg0: AsResult[R]): Pending

    Permalink
    Definition Classes
    StandardResults
  214. def pending: Pending

    Permalink
    Definition Classes
    StandardResults
  215. def pending(message: String): Pending

    Permalink
    Definition Classes
    StandardResults
  216. 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
  217. def retry[T](m: Matcher[T])(retries: Int)(implicit ee: ExecutionEnv): Matcher[Future[T]]

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

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

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

    Permalink
    Definition Classes
    EitherBaseMatchers
  221. def s2(content: String, Yrangepos: Boolean, texts: Seq[String], textsStartPositions: Seq[String], textsEndPositions: Seq[String], variables: Seq[InterpolatedFragment], rangeExpressions: Seq[String]): Fragments

    Permalink

    based on the interpolated variables and the expressions captured with the macro, create the appropriate fragments

    based on the interpolated variables and the expressions captured with the macro, create the appropriate fragments

    if the Yrangepos scalac option is not set then we use an approximated method to find the expressions texts

    Definition Classes
    S2StringContextCreation
  222. def sandboxMatchResult[T](mr: ⇒ MatchResult[T]): MatchResult[T]

    Permalink

    returns

    the match result without any side-effects

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  223. def section(tag: NamedTag): Fragment

    Permalink
    Definition Classes
    TagDsl
  224. def section(names: String*): Fragment

    Permalink
    Definition Classes
    TagDsl
  225. def see(s: ⇒ SpecificationStructure): Fragment

    Permalink
    Definition Classes
    ReferenceCreation
  226. def see(s: SpecStructure): Fragment

    Permalink
    Definition Classes
    ReferenceCreation
  227. def sequential: Arguments

    Permalink

    returns

    arguments for a specification where examples must be executed sequentially

    Definition Classes
    ArgumentsShortcuts
  228. 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
  229. def showOnly(s: String): Arguments

    Permalink

    shortcut to print only some statuses

    shortcut to print only some statuses

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

    Permalink

    alias for haveSize

    alias for haveSize

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

    Permalink

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  232. def skipAll: Arguments

    Permalink

    shortcut to skip all examples

    shortcut to skip all examples

    Definition Classes
    ArgumentsShortcuts
  233. 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
  234. 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
  235. def skipped[R](r: ⇒ R)(implicit arg0: AsResult[R]): Skipped

    Permalink
    Definition Classes
    StandardResults
  236. def skipped: Skipped

    Permalink
    Definition Classes
    StandardResults
  237. def skipped(message: String): Skipped

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

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

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

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

    Permalink

    alias for beSorted

    alias for beSorted

    Definition Classes
    TraversableBaseMatchers
  242. def startWith(t: String): Matcher[String]

    Permalink

    matches if b.startsWith(a)

    matches if b.startsWith(a)

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

    Permalink
    Definition Classes
    ActionDsl
  244. def step(a: ⇒ Any): Fragment

    Permalink
    Definition Classes
    ActionDsl
  245. 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
  246. def stopOnSkip: Arguments

    Permalink

    shortcut to stop after the first skipped result

    shortcut to stop after the first skipped result

    Definition Classes
    ArgumentsShortcuts
  247. def structure: (Env) ⇒ SpecStructure

    Permalink
  248. def success: Success

    Permalink
    Definition Classes
    StandardResults
  249. def successfulTry[T](t: T): TrySuccessCheckedMatcher[T]

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

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

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

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

    Permalink
    Definition Classes
    FormattingFragments
  254. def t: Fragment

    Permalink
    Definition Classes
    FormattingFragments
  255. def tag(tag: NamedTag): Fragment

    Permalink
    Definition Classes
    TagDsl
  256. def tag(names: String*): Fragment

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

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

    Permalink

    returns

    a matcher checking the value of an Exception

    Definition Classes
    ExceptionBaseMatchers
  259. 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
  260. def throwA[E <: Throwable](implicit m: ClassTag[E]): ExceptionClassMatcher

    Permalink

    returns

    a matcher checking the type of an Exception

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

    Permalink

    alias for throwA

    alias for throwA

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

    Permalink

    alias for throwA

    alias for throwA

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

    Permalink

    alias for throwA

    alias for throwA

    Definition Classes
    ExceptionBaseMatchers
  264. def toString(): String

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

    Permalink
    Definition Classes
    StandardResults
  266. 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
  267. 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
  268. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  271. 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
  272. def wontdo: Success

    Permalink
    Definition Classes
    StandardResults
  273. def xonly: Arguments

    Permalink

    shortcut to print only failures and errors

    shortcut to print only failures and errors

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

    Permalink

    alias for beCloseTo

    alias for beCloseTo

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

    Permalink

    alias for beCloseTo

    alias for beCloseTo

    Definition Classes
    NumericBaseMatchers

Inherited from Spec

Inherited from SpecLike

Inherited from StandardMatchResults

Inherited from StandardResults

Inherited from FormattingFragments

Inherited from ArgumentsShortcuts

Inherited from ArgumentsCreation

Inherited from MustMatchers1

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 AcceptanceDsl1

Inherited from ActionDsl

Inherited from TagDsl

Inherited from ReferenceCreation

Inherited from SpecStructureDsl1

Inherited from S2StringContext1

Inherited from S2StringContextCreation

Inherited from FragmentsFactory

Inherited from SpecificationStructure

Inherited from AnyRef

Inherited from Any

Ungrouped