trait SpecLike extends SpecificationStructure with ExampleDsl0 with ArgumentsCreation with ArgumentsShortcuts with TextCreation with ActionDsl with MustThrownMatchers1 with FormattingFragments with StandardResults
- Alphabetic
- By Inheritance
- SpecLike
- FormattingFragments
- MustThrownMatchers1
- MustThrownExpectations1
- StandardMatchResults
- StandardResults
- MustThrownExpectationsCreation
- ThrownExpectationsCreation
- ThrownExpectables
- 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
- Hide All
- Show All
- Public
- All
Type Members
-
class
BlockExample0 extends AnyRef
- Definition Classes
- ExampleDsl0
-
class
ExceptionClassMatcher extends Matcher[Any]
Exception matcher checking the type of a thrown exception.
Exception matcher checking the type of a thrown exception.
- Definition Classes
- ExceptionBaseMatchers
-
class
ExceptionMatcher[E <: Throwable] extends Matcher[Any]
This matchers matches exception instances.
This matchers matches exception instances.
- Definition Classes
- ExceptionBaseMatchers
- See also
throwA
-
class
FindMatcher extends Matcher[String]
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
-
class
FindMatcherPattern extends FindMatcher
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
-
class
FindMatcherPatternWithGroups extends FindMatcherWithGroups
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
-
class
FindMatcherRegex extends FindMatcherPattern
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
-
class
FindMatcherWithGroups extends Matcher[String]
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
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
!=/(s: String): Matcher[Any]
matches if a.toLowerCase.trim != b.toLowerCase.trim
matches if a.toLowerCase.trim != b.toLowerCase.trim
- Definition Classes
- StringBaseMatchers
-
def
!==[T](t: ⇒ T)(implicit arg0: Diffable[T]): Matcher[T]
matches if a != b
matches if a != b
- Definition Classes
- AnyBaseMatchers
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
<[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]
alias for beLessThan
alias for beLessThan
- Definition Classes
- NumericBaseMatchers
-
def
<=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]
alias for beLessThanOrEqualTo
alias for beLessThanOrEqualTo
- Definition Classes
- NumericBaseMatchers
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
==/(s: String): AdaptableMatcher[Any]
matches if a.toLowerCase.trim = b.toLowerCase.trim
matches if a.toLowerCase.trim = b.toLowerCase.trim
- Definition Classes
- StringBaseMatchers
-
def
===[T](t: ⇒ T)(implicit arg0: Diffable[T]): EqualityMatcher[T]
matches if a == b
matches if a == b
- Definition Classes
- AnyBaseMatchers
-
def
==~[T, S](s: ⇒ S)(implicit arg0: Diffable[T], convert: (S) ⇒ T): Matcher[T]
matches if a == b after an implicit conversion
matches if a == b after an implicit conversion
- Definition Classes
- AnyBaseMatchers
-
def
=~(r: Regex): BeMatchingRegex
alias for beMatching but matching just a fragment of the string
alias for beMatching but matching just a fragment of the string
- Definition Classes
- StringBaseMatchers
-
def
=~(p: Pattern): BeMatchingPattern
alias for beMatching but matching just a fragment of the string
alias for beMatching but matching just a fragment of the string
- Definition Classes
- StringBaseMatchers
-
def
=~(t: ⇒ String): BeMatching
alias for beMatching but matching just a fragment of the string
alias for beMatching but matching just a fragment of the string
- Definition Classes
- StringBaseMatchers
-
def
>[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]
alias for beGreaterThan
alias for beGreaterThan
- Definition Classes
- NumericBaseMatchers
-
def
>=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]
alias for beGreaterThanOrEqualTo
alias for beGreaterThanOrEqualTo
- Definition Classes
- NumericBaseMatchers
-
def
aFailedTry[T](t: Throwable): TryFailureCheckedMatcher[T]
- Definition Classes
- TryBaseMatchers
-
def
aFailedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]
- Definition Classes
- TryBaseMatchers
-
def
aFailedTry[T]: TryFailureMatcher[T]
- Definition Classes
- TryBaseMatchers
-
def
aSuccessfulTry[T](t: T)(implicit arg0: Diffable[T]): TrySuccessCheckedMatcher[T]
- Definition Classes
- TryBaseMatchers
-
def
aSuccessfulTry[T](check: ValueCheck[T]): TrySuccessCheckedMatcher[T]
- Definition Classes
- TryBaseMatchers
-
def
aSuccessfulTry[T]: TrySuccessMatcher[T]
- Definition Classes
- TryBaseMatchers
- def action(a: ⇒ Any): Fragment
-
def
addBacktab(n: Int): Fragment
- Definition Classes
- TextCreation
-
def
addBacktab: Fragment
- Definition Classes
- TextCreation
-
def
addBreak(n: Int): Fragment
- Definition Classes
- TextCreation
-
def
addBreak: Fragment
- Definition Classes
- TextCreation
-
def
addFragment(fragment: Fragment): Fragment
- Definition Classes
- MutableFragmentBuilder → FragmentBuilder
-
def
addFragmentBlock(f: ⇒ Fragment): Fragment
- Definition Classes
- MutableFragmentBuilder → FragmentBuilder
-
def
addFragments(fragments: Fragments): Fragments
- Definition Classes
- MutableFragmentBuilder → FragmentBuilder
-
def
addFragmentsBlock(fs: ⇒ Fragments): Fragments
- Definition Classes
- MutableFragmentBuilder → FragmentBuilder
-
def
addParagraph(s: String, n: Int = 2): Fragment
- Definition Classes
- TextCreation
-
def
addSections(): Unit
- Definition Classes
- MutableFragmentBuilder → FragmentBuilder
-
def
addTab(n: Int): Fragment
- Definition Classes
- TextCreation
-
def
addTab: Fragment
- Definition Classes
- TextCreation
-
def
addText(s: String): Fragment
- Definition Classes
- TextCreation
-
def
allOf[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
anError: Error
- Definition Classes
- StandardResults
-
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](), stopOnError: ArgProperty[Boolean] = ArgProperty[Boolean](), stopOnIssue: ArgProperty[Boolean] = ArgProperty[Boolean](), stopOnSkip: ArgProperty[Boolean] = ArgProperty[Boolean](), sequential: ArgProperty[Boolean] = ArgProperty[Boolean](), batchSize: ArgProperty[Int] = ArgProperty[Int](), 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
shorthand method to create an Arguments object
shorthand method to create an Arguments object
- Definition Classes
- ArgumentsCreation → ArgumentsCreation
-
lazy val
args: ArgumentsNamespaceMutable
- Definition Classes
- ArgumentsCreation → ArgumentsCreation
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asNoneAs[T](other: ⇒ Option[T]): Matcher[Option[T]]
- Definition Classes
- OptionBaseMatchers
-
def
atLeast[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
atMost[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
await[T](m: Matcher[T])(retries: Int, timeout: FiniteDuration)(implicit ee: ExecutionEnv): Matcher[Future[T]]
- Definition Classes
- FutureBaseMatchers
-
def
await[T](m: Matcher[T])(implicit ee: ExecutionEnv): Matcher[Future[T]]
- Definition Classes
- FutureBaseMatchers
-
def
awaitFor[T](m: Matcher[T])(timeout: FiniteDuration)(implicit ee: ExecutionEnv): Matcher[Future[T]]
- Definition Classes
- FutureBaseMatchers
-
def
batchSize(n: Int): Arguments
- returns
arguments for a specification where examples must in a given batch size
- Definition Classes
- ArgumentsShortcuts
-
def
be[T <: AnyRef](t: ⇒ T): BeTheSameAs[T]
alias for beTheSameAs
alias for beTheSameAs
- Definition Classes
- AnyBaseMatchers
-
def
beAFailedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]
- Definition Classes
- TryBaseMatchers
-
def
beAFailedTry[T]: TryFailureMatcher[T]
- Definition Classes
- TryBaseMatchers
-
def
beASuccessfulTry[T](check: ValueCheck[T]): TrySuccessCheckedMatcher[T]
- Definition Classes
- TryBaseMatchers
-
def
beASuccessfulTry[T]: TrySuccessMatcher[T]
- Definition Classes
- TryBaseMatchers
-
def
beAnInstanceOf[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]
- Definition Classes
- AnyBaseMatchers
-
def
beAnyOf[T](t: T*): Matcher[T]
alias for beOneOf
alias for beOneOf
- Definition Classes
- AnyBaseMatchers
-
def
beAsNoneAs[T](other: ⇒ Option[T]): Matcher[Option[T]]
- Definition Classes
- OptionBaseMatchers
-
def
beAsNullAs[T](a: ⇒ T): Matcher[T]
matches if a is null when v is null and a is not null when v is not null
matches if a is null when v is null and a is not null when v is not null
- Definition Classes
- AnyBaseMatchers
-
def
beAssignableFrom[T](implicit arg0: ClassTag[T]): Matcher[Class[_]]
matches if v.isAssignableFrom(c)
matches if v.isAssignableFrom(c)
- Definition Classes
- AnyBaseMatchers
-
def
beBetween[T](t1: T, t2: T)(implicit arg0: (T) ⇒ Ordered[T]): BetweenMatcher[T]
matches if a value is between 2 others according to an Ordering
matches if a value is between 2 others according to an Ordering
- Definition Classes
- NumericBaseMatchers
-
def
beCloseTo[S](target: SignificantTarget[S])(implicit arg0: Numeric[S]): Matcher[S]
- Definition Classes
- NumericBaseMatchers
-
def
beCloseTo[S](target: S, figures: SignificantFigures)(implicit arg0: Numeric[S]): Matcher[S]
matches if target - actual < 10 pow (log x - significantDigits)
matches if target - actual < 10 pow (log x - significantDigits)
- Definition Classes
- NumericBaseMatchers
-
def
beCloseTo[S](delta: PlusOrMinus[S])(implicit arg0: Numeric[S]): Matcher[S]
matches if x = n +/- delta
matches if x = n +/- delta
- Definition Classes
- NumericBaseMatchers
-
def
beCloseTo[S](n: S, delta: S)(implicit arg0: Numeric[S]): Matcher[S]
matches if x = n +/- delta
matches if x = n +/- delta
- Definition Classes
- NumericBaseMatchers
-
def
beEmpty[T](implicit arg0: (T) ⇒ Any { def isEmpty: Boolean }): Matcher[T]
matches if a.isEmpty
matches if a.isEmpty
- Definition Classes
- AnyBaseMatchers
-
def
beEqualTo[T](t: ⇒ T): BeEqualTo
matches if a == b
matches if a == b
- Definition Classes
- AnyBaseMatchers
-
def
beFailedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]
- Definition Classes
- TryBaseMatchers
-
def
beFailedTry[T]: TryFailureMatcher[T]
- Definition Classes
- TryBaseMatchers
-
def
beFalse: Matcher[Boolean]
matches if a == false
matches if a == false
- Definition Classes
- AnyBaseMatchers
-
def
beGreaterThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]
matches if x > n
matches if x > n
- Definition Classes
- NumericBaseMatchers
-
def
beGreaterThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]
matches if x >= n
matches if x >= n
- Definition Classes
- NumericBaseMatchers
-
def
beLeft[T](implicit p: control.ImplicitParameters.ImplicitParam = implicitParameter): LeftMatcher[T]
- Definition Classes
- EitherBaseMatchers
-
def
beLeft[T](t: ValueCheck[T]): LeftCheckedMatcher[T]
- Definition Classes
- EitherBaseMatchers
-
def
beLessThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]
matches if x < n
matches if x < n
- Definition Classes
- NumericBaseMatchers
-
def
beLessThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]
matches if x <= n
matches if x <= n
- Definition Classes
- NumericBaseMatchers
-
def
beLike[T](pattern: PartialFunction[T, MatchResult[_]]): Matcher[T]
matches if the value returns a successful result when applied to a PartialFunction
matches if the value returns a successful result when applied to a PartialFunction
- Definition Classes
- AnyBaseMatchers
-
def
beMatching(a: Regex): BeMatchingRegex
matches if b matches the regex a
matches if b matches the regex a
- Definition Classes
- StringBaseMatchers
-
def
beMatching(a: Pattern): BeMatchingPattern
matches if b matches the pattern a
matches if b matches the pattern a
- Definition Classes
- StringBaseMatchers
-
def
beMatching(a: ⇒ String): BeMatching
matches if b matches the regular expression a
matches if b matches the regular expression a
- Definition Classes
- StringBaseMatchers
-
def
beNone: Matcher[Option[Any]]
- Definition Classes
- OptionBaseMatchers
-
def
beNull[T]: BeNull[T]
matches if the value is null
matches if the value is null
- Definition Classes
- AnyBaseMatchers
-
def
beOneOf[T](t: T*): Matcher[T]
matches if t.toSeq.exists(_ == v)
matches if t.toSeq.exists(_ == v)
- Definition Classes
- AnyBaseMatchers
-
def
beRight[T](implicit p: control.ImplicitParameters.ImplicitParam = implicitParameter): RightMatcher[T]
- Definition Classes
- EitherBaseMatchers
-
def
beRight[T](t: ValueCheck[T]): RightCheckedMatcher[T]
- Definition Classes
- EitherBaseMatchers
-
def
beSome[T](implicit p: control.ImplicitParameters.ImplicitParam = implicitParameter): SomeMatcher[T]
- Definition Classes
- OptionBaseMatchers
-
def
beSome[T](check: ValueCheck[T]): SomeCheckedMatcher[T]
- Definition Classes
- OptionBaseMatchers
-
def
beSorted[T](implicit arg0: Ordering[T]): OrderingMatcher[T]
- returns
a matcher checking if the elements are ordered
- Definition Classes
- TraversableBaseMatchers
-
def
beSuccessfulTry[T](check: ValueCheck[T]): TrySuccessCheckedMatcher[T]
- Definition Classes
- TryBaseMatchers
-
def
beSuccessfulTry[T]: TrySuccessMatcher[T]
- Definition Classes
- TryBaseMatchers
-
def
beTheSameAs[T <: AnyRef](t: ⇒ T): BeTheSameAs[T]
matches if a eq b
matches if a eq b
- Definition Classes
- AnyBaseMatchers
-
def
beTrue: BeTrueMatcher
matches if a == true
matches if a == true
- Definition Classes
- AnyBaseMatchers
-
def
beTypedEqualTo[T](t: ⇒ T)(implicit arg0: Diffable[T]): EqualityMatcher[T]
matches if a == b
matches if a == b
- Definition Classes
- AnyBaseMatchers
-
def
be[[T](t1: T, t2: T)(implicit arg0: (T) ⇒ Ordered[T]): BetweenMatcher[T]
alias for the adventurous: 5 must (
be[(2, 7)
[)
alias for the adventurous: 5 must (
be[(2, 7)
[)
- Definition Classes
- NumericBaseMatchers
-
def
be][T](t1: T, t2: T)(implicit arg0: (T) ⇒ Ordered[T]): BetweenMatcher[T]
alias for the adventurous: 5 must (
be](2, 7)
[)
alias for the adventurous: 5 must (
be](2, 7)
[)
- Definition Classes
- NumericBaseMatchers
-
def
be_!=[T](t: ⇒ T): Matcher[Any]
matches if a != b
matches if a != b
- Definition Classes
- AnyBaseMatchers
-
def
be_!=/(a: String): Matcher[Any]
matches if a.toLowerCase.trim != b.toLowerCase.trim
matches if a.toLowerCase.trim != b.toLowerCase.trim
- Definition Classes
- StringBaseMatchers
-
def
be_!==[T](t: ⇒ T)(implicit arg0: Diffable[T]): Matcher[T]
matches if a != b
matches if a != b
- Definition Classes
- AnyBaseMatchers
-
def
be_<[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]
alias for beLessThan
alias for beLessThan
- Definition Classes
- NumericBaseMatchers
-
def
be_<=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]
alias for beLessThanOrEqualTo
alias for beLessThanOrEqualTo
- Definition Classes
- NumericBaseMatchers
-
def
be_==[T](t: ⇒ T): BeEqualTo
matches if a == b
matches if a == b
- Definition Classes
- AnyBaseMatchers
-
def
be_==/(a: String): AdaptableMatcher[Any]
matches if a.toLowerCase.trim = b.toLowerCase.trim
matches if a.toLowerCase.trim = b.toLowerCase.trim
- Definition Classes
- StringBaseMatchers
-
def
be_===[T](t: ⇒ T)(implicit arg0: Diffable[T]): EqualityMatcher[T]
matches if a == b
matches if a == b
- Definition Classes
- AnyBaseMatchers
-
def
be_==~[T, S](s: ⇒ S)(implicit arg0: Diffable[T], convert: (S) ⇒ T): Matcher[T]
matches if a == b after an implicit conversion
matches if a == b after an implicit conversion
- Definition Classes
- AnyBaseMatchers
-
def
be_>[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]
alias for beGreaterThan
alias for beGreaterThan
- Definition Classes
- NumericBaseMatchers
-
def
be_>=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]
alias for beGreaterThanOrEqualTo
alias for beGreaterThanOrEqualTo
- Definition Classes
- NumericBaseMatchers
-
def
between[T](t1: T, t2: T)(implicit arg0: (T) ⇒ Ordered[T]): BetweenMatcher[T]
- Definition Classes
- NumericBaseMatchers
-
implicit
def
blockExample0(d: String): BlockExample0
- Definition Classes
- ExampleDsl0
-
def
br: Fragment
- Definition Classes
- FormattingFragments
-
def
bt(n: Int): Fragment
- Definition Classes
- FormattingFragments
-
def
bt: Fragment
- Definition Classes
- FormattingFragments
-
def
checkFailure[T](m: MatchResult[T]): MatchResult[T]
this method can be overridden to throw exceptions when checking the match result
this method can be overridden to throw exceptions when checking the match result
- Attributes
- protected
- Definition Classes
- ExpectationsCreation
-
def
checkMatchResultFailure[T](m: MatchResult[T]): MatchResult[T]
this method can be overriden to throw exceptions when checking the match result
this method can be overriden to throw exceptions when checking the match result
- Attributes
- protected
- Definition Classes
- ThrownExpectables → ExpectationsCreation
-
def
checkResultFailure(result: ⇒ Result): Result
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
- ThrownExpectables → ExpectationsCreation
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
closeTo[S](target: SignificantTarget[S])(implicit arg0: Numeric[S]): Matcher[S]
- Definition Classes
- NumericBaseMatchers
-
def
closeTo[S](target: S, figures: SignificantFigures)(implicit arg0: Numeric[S]): Matcher[S]
- Definition Classes
- NumericBaseMatchers
-
def
closeTo[S](delta: PlusOrMinus[S])(implicit arg0: Numeric[S]): Matcher[S]
- Definition Classes
- NumericBaseMatchers
-
def
closeTo[S](n: S, delta: S)(implicit arg0: Numeric[S]): Matcher[S]
- Definition Classes
- NumericBaseMatchers
-
def
colors(c: Colors): Arguments
shortcut to set new Colors
shortcut to set new Colors
- Definition Classes
- ArgumentsShortcuts
-
def
contain(t: Char): Matcher[String]
matches if (b contains a)
matches if (b contains a)
- Definition Classes
- StringBaseMatchers
-
def
contain(t: String): Matcher[String]
matches if (b contains a)
matches if (b contains a)
- Definition Classes
- StringBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T], t20: ValueCheck[T], t21: ValueCheck[T], t22: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T], t20: ValueCheck[T], t21: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T], t20: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T]): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](t1: ValueCheck[T], t2: ValueCheck[T]): ContainWithResultSeq[T]
Additional contain methods using to avoid automatic tuple conversions
Additional contain methods using to avoid automatic tuple conversions
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](cm: ContainWithResultSeq[T]): ContainWithResultSeq[T]
COLLECTION MATCHERS
COLLECTION MATCHERS
- Definition Classes
- TraversableBaseMatchers
-
def
contain[T](check: ValueCheck[T]): ContainWithResult[T]
ELEMENTS MATCHERS
ELEMENTS MATCHERS
- Definition Classes
- TraversableBaseMatchers
-
def
containAllOf[T](seq: Seq[T])(implicit arg0: Diffable[T]): ContainWithResultSeq[T]
match if a traversable contains all the elements of seq (and maybe more)
match if a traversable contains all the elements of seq (and maybe more)
- Definition Classes
- TraversableBaseMatchers
-
def
containAnyOf[T](seq: Seq[T]): ContainWithResult[T]
match if a traversable contains one of (t1, t2)
match if a traversable contains one of (t1, t2)
- Definition Classes
- TraversableBaseMatchers
-
def
containMatch[T](t: ⇒ String): Matcher[Traversable[T]]
match if traversable contains (x matches .*+t+.*)
match if traversable contains (x matches .*+t+.*)
- Definition Classes
- TraversableBaseMatchers
-
def
containPattern[T](t: ⇒ String): Matcher[Traversable[T]]
match if traversable contains (x matches p)
match if traversable contains (x matches p)
- Definition Classes
- TraversableBaseMatchers
-
def
containTheSameElementsAs[T](seq: Seq[T], equality: (T, T) ⇒ Boolean = (_:T) == (_:T)): Matcher[Traversable[T]]
does a containAll comparison in both ways
does a containAll comparison in both ways
- Definition Classes
- TraversableBaseMatchers
-
def
createExpectable[T](t: ⇒ T, alias: Option[(String) ⇒ String]): Expectable[T]
- returns
an Expectable with a description function
- Definition Classes
- ThrownExpectables → ExpectationsCreation
-
def
createExpectable[T](t: ⇒ T, alias: (String) ⇒ String): Expectable[T]
- returns
an Expectable with a description function
- Definition Classes
- ExpectationsCreation
-
def
createExpectable[T](t: ⇒ T, alias: ⇒ String): Expectable[T]
- returns
an Expectable with a description
- Definition Classes
- ExpectationsCreation
-
def
createExpectable[T](t: ⇒ T): Expectable[T]
- returns
an Expectable
- Definition Classes
- ExpectationsCreation
-
def
createExpectableWithShowAs[T](t: ⇒ T, show: ⇒ String): Expectable[T]
- returns
an Expectable with a function to show the element T
- Definition Classes
- ThrownExpectables → ExpectationsCreation
-
def
createMustExpectable[T](t: ⇒ T): MustExpectable[T]
- Attributes
- protected
- Definition Classes
- MustThrownExpectationsCreation → MustExpectationsCreation
-
def
decorate(is: SpecStructure, env: Env): SpecStructure
- Definition Classes
- SpecificationStructure
-
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
shortcut to display the differences with some specific parameters
shortcut to display the differences with some specific parameters
- Definition Classes
- ArgumentsShortcuts
-
def
done: Success
- Definition Classes
- StandardResults
-
def
eachOf[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
end: Fragment
- Definition Classes
- FormattingFragments
-
def
endWith(t: ⇒ String): Matcher[String]
matches if b.endsWith(a)
matches if b.endsWith(a)
- Definition Classes
- StringBaseMatchers
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equalTo[T](t: ⇒ T): BeEqualTo
matches if a == b
matches if a == b
- Definition Classes
- AnyBaseMatchers
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
eventually[T](nested: ⇒ Matcher[T]): Matcher[T]
- returns
a matcher that will retry the nested matcher 40 times
- Definition Classes
- EventuallyMatchers
-
def
eventually[T](nested: ⇒ Matcher[T], retries: Int, sleep: Duration): Matcher[T]
- returns
a matcher that will retry the nested matcher a given number of times
- Definition Classes
- EventuallyMatchers
-
def
eventually[T](result: ⇒ T)(implicit arg0: AsResult[T]): T
- returns
a result that is retried at least 40 times until it's ok
- Definition Classes
- EventuallyResults
-
def
eventually[T](retries: Int, sleep: Duration)(result: ⇒ T)(implicit arg0: AsResult[T]): T
- returns
a matcher that will retry the nested matcher a given number of times
- Definition Classes
- EventuallyResults
-
def
exactly[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
- Definition Classes
- TraversableBaseMatchers
-
def
exclude(tags: String): Arguments
shortcut to exclude some tagged fragments
shortcut to exclude some tagged fragments
- Definition Classes
- ArgumentsShortcuts
-
def
excludeAlsoTrace(patterns: String*): IncludeExcludeStackTraceFilter
shortcut to add exclude trace patterns
shortcut to add exclude trace patterns
- Definition Classes
- ArgumentsShortcuts
-
def
excludeTrace(patterns: String*): IncludeExcludeStackTraceFilter
shortcut to create a stackTrace filter to exclude only some elements
shortcut to create a stackTrace filter to exclude only some elements
- Definition Classes
- ArgumentsShortcuts
-
def
failedTry[T](t: Throwable): TryFailureCheckedMatcher[T]
- Definition Classes
- TryBaseMatchers
-
def
failedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]
- Definition Classes
- TryBaseMatchers
-
def
failedTry[T]: TryFailureMatcher[T]
- Definition Classes
- TryBaseMatchers
-
def
failure(message: String): Failure
- Definition Classes
- StandardResults
-
def
failure: Failure
- Definition Classes
- StandardResults
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
find(r: Regex): FindMatcherRegex
matches if the regexp r is found inside b
matches if the regexp r is found inside b
- Definition Classes
- StringBaseMatchers
-
def
find(p: Pattern): FindMatcherPattern
matches if the pattern p is found inside b
matches if the pattern p is found inside b
- Definition Classes
- StringBaseMatchers
-
def
find(a: ⇒ String): FindMatcher
matches if the regexp a is found inside b
matches if the regexp a is found inside b
- Definition Classes
- StringBaseMatchers
-
def
fragmentFactory: FragmentFactory
- Attributes
- protected
- Definition Classes
- FragmentsFactory
-
def
fragments: (Env) ⇒ Fragments
- Definition Classes
- ContextualSpecificationStructure
-
def
fullStackTrace: Arguments
shortcut to filter nothing
shortcut to filter nothing
- Definition Classes
- ArgumentsShortcuts
-
implicit
def
functionIsValueCheck[T, R](f: (T) ⇒ R)(implicit arg0: AsResult[R]): ValueCheck[T]
a function returning an object having an AsResult instance can check a value
a function returning an object having an AsResult instance can check a value
- Definition Classes
- ValueChecksLowImplicits
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
greaterThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]
- Definition Classes
- NumericBaseMatchers
-
def
greaterThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]
- Definition Classes
- NumericBaseMatchers
-
def
hasSectionsForBlocks: Boolean
- Definition Classes
- MutableFragmentBuilder → FragmentBuilder
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
haveClass[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]
matches if v.getClass == c
matches if v.getClass == c
- Definition Classes
- AnyBaseMatchers
-
def
haveInterface[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]
matches if x.getClass.getInterfaces.contains(T)
matches if x.getClass.getInterfaces.contains(T)
- Definition Classes
- AnyBaseMatchers
-
def
haveLength[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]
alias for haveSize
alias for haveSize
- Definition Classes
- TraversableBaseMatchers
-
def
haveLength[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]
alias for haveSize
alias for haveSize
- Definition Classes
- TraversableBaseMatchers
-
def
haveSize[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]
match if there is a way to size T
match if there is a way to size T
- Definition Classes
- TraversableBaseMatchers
-
def
haveSize[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]
match if there is a way to size T
match if there is a way to size T
- Definition Classes
- TraversableBaseMatchers
-
def
haveSuperclass[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]
matches if c.isAssignableFrom(v.getClass.getSuperclass)
matches if c.isAssignableFrom(v.getClass.getSuperclass)
- Definition Classes
- AnyBaseMatchers
-
def
include(tags: String): Arguments
shortcut to include only some tagged fragments
shortcut to include only some tagged fragments
- Definition Classes
- ArgumentsShortcuts
-
def
includeAlsoTrace(patterns: String*): IncludeExcludeStackTraceFilter
shortcut to add include trace patterns
shortcut to add include trace patterns
- Definition Classes
- ArgumentsShortcuts
-
def
includeTrace(patterns: String*): IncludeExcludeStackTraceFilter
shortcut to create a stackTrace filter to include only some elements
shortcut to create a stackTrace filter to include only some elements
- Definition Classes
- ArgumentsShortcuts
-
def
is: SpecStructure
- Definition Classes
- MutableFragmentBuilder
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isolated: Arguments
- returns
arguments for a specification where examples must be executed in their own specification
- Definition Classes
- ArgumentsShortcuts
-
def
ko(m: String): MatchResult[Any]
- Definition Classes
- StandardMatchResults
-
lazy val
ko: MatchResult[Any]
- Definition Classes
- StandardMatchResults
-
def
left[T](implicit p: control.ImplicitParameters.ImplicitParam = implicitParameter): LeftMatcher[Nothing]
- Definition Classes
- EitherBaseMatchers
-
def
left[T](t: ValueCheck[T]): LeftCheckedMatcher[T]
- Definition Classes
- EitherBaseMatchers
-
def
left[T](t: T)(implicit arg0: Diffable[T]): LeftCheckedMatcher[T]
- Definition Classes
- EitherBaseMatchers
-
def
length[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]
alias for haveSize
alias for haveSize
- Definition Classes
- TraversableBaseMatchers
-
def
length[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]
alias for haveSize
alias for haveSize
- Definition Classes
- TraversableBaseMatchers
-
def
lessThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]
- Definition Classes
- NumericBaseMatchers
-
def
lessThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]
matches if x <= n
matches if x <= n
- Definition Classes
- NumericBaseMatchers
-
def
map(fs: ⇒ Fragments, env: Env): Fragments
modify the fragments, using the current environment
modify the fragments, using the current environment
- Definition Classes
- SpecificationStructure
-
def
map(fs: ⇒ Fragments): Fragments
modify the fragments
modify the fragments
- Definition Classes
- SpecificationStructure
-
def
map(structure: SpecStructure): SpecStructure
modify the specification structure
modify the specification structure
- Definition Classes
- SpecificationStructure
-
def
mapMatchResult[T](m: MatchResult[T]): MatchResult[T]
this method can be overridden to intercept a MatchResult and change its message before it is thrown
this method can be overridden to intercept a MatchResult and change its message before it is thrown
- Attributes
- protected
- Definition Classes
- ExpectationsCreation
-
implicit
def
matcherIsValueCheck[T](m: Matcher[T]): ValueCheck[T]
a Matcher[T] can check a value
a Matcher[T] can check a value
- Definition Classes
- ValueChecksBase
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nocolor: Arguments
shortcut to avoid colored output
shortcut to avoid colored output
- Definition Classes
- ArgumentsShortcuts
-
def
none: Matcher[Option[Any]]
- Definition Classes
- OptionBaseMatchers
-
def
not[T](m: Matcher[T]): Matcher[T]
negate a matcher
negate a matcher
- Definition Classes
- AnyBaseMatchers
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
ok(m: String): MatchResult[Any]
- Definition Classes
- StandardMatchResults
-
lazy val
ok: MatchResult[Any]
- Definition Classes
- StandardMatchResults
-
def
only(examples: String): Arguments
shortcut to execute and print only some examples
shortcut to execute and print only some examples
- Definition Classes
- ArgumentsShortcuts
-
def
p: Fragments
- Definition Classes
- FormattingFragments
-
def
pending[R](r: ⇒ R)(implicit arg0: AsResult[R]): Pending
- Definition Classes
- StandardResults
-
def
pending: Pending
- Definition Classes
- StandardResults
-
def
pending(message: String): Pending
- Definition Classes
- StandardResults
-
def
plan: Arguments
shortcut to show only the text without any execution
shortcut to show only the text without any execution
- Definition Classes
- ArgumentsShortcuts
-
def
retry[T](m: Matcher[T])(retries: Int)(implicit ee: ExecutionEnv): Matcher[Future[T]]
- Definition Classes
- FutureBaseMatchers
-
def
right[T](implicit p: control.ImplicitParameters.ImplicitParam = implicitParameter): RightMatcher[Nothing]
- Definition Classes
- EitherBaseMatchers
-
def
right[T](t: ValueCheck[T]): RightCheckedMatcher[T]
- Definition Classes
- EitherBaseMatchers
-
def
right[T](t: T)(implicit arg0: Diffable[T]): RightCheckedMatcher[T]
- Definition Classes
- EitherBaseMatchers
-
def
sandboxMatchResult[T](mr: ⇒ MatchResult[T]): MatchResult[T]
- returns
the match result without any side-effects
- Attributes
- protected
- Definition Classes
- ExpectationsCreation
-
def
sequential: Arguments
- returns
arguments for a specification where examples must be executed sequentially
- Definition Classes
- ArgumentsShortcuts
-
def
setArguments(a: Arguments): Arguments
- Definition Classes
- MutableArgumentsBuilder
-
def
setStacktrace[T](m: MatchResult[T]): MatchResult[T]
this method can be overridden to avoid filling-in a stacktrace indicating the location of the result
this method can be overridden to avoid filling-in a stacktrace indicating the location of the result
- Attributes
- protected
- Definition Classes
- MatchResultStackTrace
-
def
setTitle(t: String): SpecHeader
- Definition Classes
- MutableHeaderBuilder
-
def
showOnly(s: String): Arguments
shortcut to print only some statuses
shortcut to print only some statuses
- Definition Classes
- ArgumentsShortcuts
-
def
size[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]
alias for haveSize
alias for haveSize
- Definition Classes
- TraversableBaseMatchers
-
def
size[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]
alias for haveSize
alias for haveSize
- Definition Classes
- TraversableBaseMatchers
-
def
skipAll: Arguments
shortcut to skip all examples
shortcut to skip all examples
- Definition Classes
- ArgumentsShortcuts
-
def
skipAllIf(condition: ⇒ Boolean): Arguments
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
-
def
skipAllUnless(condition: ⇒ Boolean): Arguments
shortcut to skip all examples when a condition is false.
shortcut to skip all examples when a condition is false.
- Definition Classes
- ArgumentsShortcuts
-
def
skipped[R](r: ⇒ R)(implicit arg0: AsResult[R]): Skipped
- Definition Classes
- StandardResults
-
def
skipped: Skipped
- Definition Classes
- StandardResults
-
def
skipped(message: String): Skipped
- Definition Classes
- StandardResults
-
def
some[T]: SomeMatcher[T]
- Definition Classes
- OptionBaseMatchers
-
def
some[T](check: ValueCheck[T]): SomeCheckedMatcher[T]
- Definition Classes
- OptionBaseMatchers
-
def
some[T](t: T)(implicit arg0: Diffable[T]): SomeCheckedMatcher[T]
- Definition Classes
- OptionBaseMatchers
-
def
sorted[T](implicit arg0: Ordering[T]): OrderingMatcher[T]
alias for beSorted
alias for beSorted
- Definition Classes
- TraversableBaseMatchers
-
def
specificationFragments: Fragments
- Definition Classes
- MutableFragmentBuilder
-
def
startWith(a: String): Matcher[String]
matches if b.startsWith(a)
matches if b.startsWith(a)
- Definition Classes
- StringBaseMatchers
- def step(a: ⇒ Any, global: Boolean): Fragment
- def step(a: ⇒ Any): Fragment
-
def
stopOnFail: Arguments
shortcut to stop after the first failure or error
shortcut to stop after the first failure or error
- Definition Classes
- ArgumentsShortcuts
-
def
stopOnSkip: Arguments
shortcut to stop after the first skipped result
shortcut to stop after the first skipped result
- Definition Classes
- ArgumentsShortcuts
-
def
stopWhen(f: (Result) ⇒ Boolean): Fragment
- Definition Classes
- ActionDsl
-
def
stopWhen(r: Result): Fragment
- Definition Classes
- ActionDsl
-
def
stopWhenFail(when: ⇒ Boolean): Fragment
- Definition Classes
- ActionDsl
-
def
stopWhenFail: Fragment
- Definition Classes
- ActionDsl
-
def
stopWhenSkipped(when: ⇒ Boolean): Fragment
- Definition Classes
- ActionDsl
-
def
stopWhenSkipped: Fragment
- Definition Classes
- ActionDsl
-
def
structure: (Env) ⇒ SpecStructure
- Definition Classes
- SpecificationStructure → ContextualSpecificationStructure
-
def
success: Success
- Definition Classes
- StandardResults
-
def
successfulTry[T](t: T)(implicit arg0: Diffable[T]): TrySuccessCheckedMatcher[T]
- Definition Classes
- TryBaseMatchers
-
def
successfulTry[T](check: ValueCheck[T]): TrySuccessCheckedMatcher[T]
- Definition Classes
- TryBaseMatchers
-
def
successfulTry[T]: TrySuccessMatcher[T]
- Definition Classes
- TryBaseMatchers
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
t(n: Int): Fragment
- Definition Classes
- FormattingFragments
-
def
t: Fragment
- Definition Classes
- FormattingFragments
-
implicit
def
theValue[T](t: ⇒ T): MustExpectable[T]
- Definition Classes
- MustExpectations1
-
def
throwA[E <: Throwable](e: E): ExceptionMatcher[E]
- returns
a matcher checking the value of an Exception
- Definition Classes
- ExceptionBaseMatchers
-
def
throwA[E <: Throwable](message: String = ".*")(implicit m: ClassTag[E]): Matcher[Any]
- returns
a matcher checking the type of an Exception and its message (as a regexp)
- Definition Classes
- ExceptionBaseMatchers
-
def
throwA[E <: Throwable](implicit m: ClassTag[E]): ExceptionClassMatcher
- returns
a matcher checking the type of an Exception
- Definition Classes
- ExceptionBaseMatchers
-
def
throwAn[E <: Throwable](e: E): ExceptionMatcher[E]
alias for throwA
alias for throwA
- Definition Classes
- ExceptionBaseMatchers
-
def
throwAn[E <: Throwable](message: String = ".*")(implicit m: ClassTag[E]): Matcher[Any]
alias for throwA
alias for throwA
- Definition Classes
- ExceptionBaseMatchers
-
def
throwAn[E <: Throwable](implicit m: ClassTag[E]): ExceptionClassMatcher
alias for throwA
alias for throwA
- Definition Classes
- ExceptionBaseMatchers
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
todo: Pending
- Definition Classes
- StandardResults
-
def
typedEqualTo[T](t: ⇒ T): EqualityMatcher[T]
matches if a == b
matches if a == b
- Definition Classes
- AnyBaseMatchers
-
def
unbatched: Arguments
- returns
arguments for a specification where examples must be executed inside just one big batch
- Definition Classes
- ArgumentsShortcuts
-
def
updateArguments(a: Arguments): Arguments
- Definition Classes
- MutableArgumentsBuilder
-
def
valueIsTypedValueCheck[T](expected: T)(implicit di: Diffable[T]): BeEqualTypedValueCheck[T]
an expected value can be used to check another value
an expected value can be used to check another value
- Definition Classes
- ValueChecksBase
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
was(s: String): Arguments
shortcut to include only examples with some previous statuses
shortcut to include only examples with some previous statuses
- Definition Classes
- ArgumentsShortcuts
-
def
wontdo: Success
- Definition Classes
- StandardResults
-
def
xonly: Arguments
shortcut to print only failures and errors
shortcut to print only failures and errors
- Definition Classes
- ArgumentsShortcuts
-
def
~[S](delta: PlusOrMinus[S])(implicit arg0: Numeric[S]): Matcher[S]
alias for beCloseTo
alias for beCloseTo
- Definition Classes
- NumericBaseMatchers
-
def
~[S](n: S)(delta: S)(implicit arg0: Numeric[S]): Matcher[S]
alias for beCloseTo
alias for beCloseTo
- Definition Classes
- NumericBaseMatchers