SpecificationWithJUnit

org.specs2.SpecificationWithJUnit
abstract class SpecificationWithJUnit extends Specification

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

Attributes

Graph
Supertypes
class Specification
trait SpecificationLike
trait SpecificationFeatures
trait ImplicitExecutionContexts
trait ImplicitExecutionContextFromExecutionEnv
trait Debug
trait PendingUntilFixed
trait StandardMatchResults
trait StandardResults
trait ShouldMatchers
trait ShouldExpectations
trait MustMatchers
trait MustExpectations
trait Matchers
trait MatchersImplicits
trait SequenceMatchersCreation
trait MatchersCreation
trait ResultImplicits
trait MatchResultImplicits
trait MatcherZipOperators
trait MatchResultCombinators
trait ResultLogicalCombinators
trait Results
trait MatchResultLogicalCombinators
trait Expectations
trait ExpectationsDescription
trait TypedEqual
trait EventuallyMatchers
trait EventuallyResults
trait TryMatchers
trait EitherMatchers
trait OptionMatchers
trait ValueChecks
trait ValueChecksBase
trait NumericMatchers
trait ExceptionMatchers
trait ExpectationsCreation
trait MatchResultStackTrace
trait StringMatchers
trait MapMatchers
trait TraversableMatchers
trait NumberOfTimes
trait ImplicitParameters
trait ValueChecksLowImplicits
trait LazyParameters
trait AnyMatchers
trait AnyBeHaveMatchers
trait SpecificationCreation
trait FormattingFragments
trait S2StringContext
trait S2StringContextCreation
trait ArgumentsShortcuts
trait ArgumentsArgs
trait ArgProperties
trait ArgumentsCreation
trait AcceptanceDsl
trait ReferenceDsl
trait ExampleDsl
trait TitleDsl
trait SpecStructureDsl
trait FragmentsDsl
trait ActionDsl
trait TagDsl
trait ReferenceCreation
trait FragmentsFactory
trait ImmutableSpecificationStructure
trait SpecificationStructure
trait ContextualSpecificationStructure
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

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

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

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

  • def haveExtension(extension: =>String) = ((_:File).getPath) ^^ endWith(extension)

Attributes

Inherited from:
MatchersCreation
Supertypes
class Object
trait Matchable
class Any
class AnyBeHaveMatchers[T](result: MatchResult[T])

Attributes

Inherited from:
AnyBeHaveMatchers
Supertypes
class Object
trait Matchable
class Any
class AnyMatcherResult(result: MatchResult[AnyRef])

Attributes

Inherited from:
AnyBeHaveMatchers
Supertypes
class Object
trait Matchable
class Any
class AnyRefMatcherResult[T <: AnyRef](result: MatchResult[T])

Attributes

Inherited from:
AnyBeHaveMatchers
Supertypes
class Object
trait Matchable
class Any
class AnyWithEmptyMatchers[T](result: MatchResult[T])(implicit evidence$17: Sized[T])

Attributes

Inherited from:
AnyBeHaveMatchers
Supertypes
class Object
trait Matchable
class Any
class BangExample(d: String)

Attributes

Inherited from:
ExampleDsl
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BeLikeResultMatcher[T](result: MatchResult[T])

Attributes

Inherited from:
AnyBeHaveMatchers
Supertypes
class Object
trait Matchable
class Any
class ClassMatcherResult[T](result: MatchResult[Class[_]])(implicit evidence$15: ClassTag[T])

Attributes

Inherited from:
AnyBeHaveMatchers
Supertypes
class Object
trait Matchable
class Any
case class ContainSeqMatcherFunction[T](seq: Seq[T])

Attributes

Inherited from:
MatcherZipOperators
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class Debuggable[T](t: => T) extends ConsoleOutput

Attributes

Inherited from:
Debug
Supertypes
trait ConsoleOutput
trait Output
class Object
trait Matchable
class Any
class Descriptible[T](value: => T)

Attributes

Inherited from:
ExpectationsDescription
Supertypes
class Object
trait Matchable
class Any
implicit class EitherResultMatcher[L, R](result: MatchResult[Either[L, R]])(implicit evidence$3: Diffable[L], evidence$4: Diffable[R])

Attributes

Inherited from:
EitherBeHaveMatchers (hidden)
Supertypes
class Object
trait Matchable
class Any
class ExceptionClassMatcher(klass: Class[_]) extends Matcher[Any]

Exception matcher checking the type of a thrown exception.

Exception matcher checking the type of a thrown exception.

Attributes

Inherited from:
ExceptionBaseMatchers (hidden)
Supertypes
trait Matcher[Any]
class Object
trait Matchable
class Any
class ExceptionMatcher[E <: Throwable](exception: E) extends Matcher[Any]

This matchers matches exception instances.

This matchers matches exception instances.

Attributes

See also

throwA

Inherited from:
ExceptionBaseMatchers (hidden)
Supertypes
trait Matcher[Any]
class Object
trait Matchable
class Any
implicit class ExceptionMatcherResult[T](result: MatchResult[T])

Attributes

Inherited from:
ExceptionBeHaveMatchers (hidden)
Supertypes
class Object
trait Matchable
class Any
class ExpectationDescription(description: String)

Attributes

Inherited from:
ExpectationsDescription
Supertypes
class Object
trait Matchable
class Any
class FindMatcher(t: => String) extends Matcher[String]

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

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

Attributes

Inherited from:
StringBaseMatchers (hidden)
Supertypes
trait Matcher[String]
class Object
trait Matchable
class Any
Known subtypes
class FindMatcherPattern(p: Pattern) extends FindMatcher

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

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

Attributes

Inherited from:
StringBaseMatchers (hidden)
Supertypes
class FindMatcher
trait Matcher[String]
class Object
trait Matchable
class Any
Known subtypes
class FindMatcherPatternWithGroups(p: Pattern, groups: String*) extends FindMatcherWithGroups

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

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

Attributes

Inherited from:
StringBaseMatchers (hidden)
Supertypes
trait Matcher[String]
class Object
trait Matchable
class Any
class FindMatcherRegex(r: Regex) extends FindMatcherPattern

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

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

Attributes

Inherited from:
StringBaseMatchers (hidden)
Supertypes
class FindMatcher
trait Matcher[String]
class Object
trait Matchable
class Any
Show all
class FindMatcherWithGroups(t: => String, groups: String*) extends Matcher[String]

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

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

Attributes

Inherited from:
StringBaseMatchers (hidden)
Supertypes
trait Matcher[String]
class Object
trait Matchable
class Any
Known subtypes
class HasSize[T](s: MatchResult[T])(implicit evidence$16: Sized[T])

Attributes

Inherited from:
TraversableBeHaveMatchers (hidden)
Supertypes
class Object
trait Matchable
class Any
implicit class HiddenFragment(fragment: Fragment)

Attributes

Inherited from:
FragmentsDsl
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any
implicit class InvariantMatcherFunction[T](f: T => Matcher[T])

Attributes

Inherited from:
SequenceMatchersCreation
Supertypes
class Object
trait Matchable
class Any
class MapKeyResultMatcher[K](result: MatchResult[Iterable[(K, Any)]])

Attributes

Inherited from:
MapBeHaveMatchers (hidden)
Supertypes
class Object
trait Matchable
class Any
class MapResultMatcher[K, V](result: MatchResult[Iterable[(K, V)]])

Attributes

Inherited from:
MapBeHaveMatchers (hidden)
Supertypes
class Object
trait Matchable
class Any
class MapValueResultMatcher[V](result: MatchResult[Iterable[(Any, V)]])

Attributes

Inherited from:
MapBeHaveMatchers (hidden)
Supertypes
class Object
trait Matchable
class Any
class MatchResultCombinator[T](mr: => MatchResult[T])

Attributes

Inherited from:
MatchResultLogicalCombinators
Supertypes
class Object
trait Matchable
class Any
implicit class MutedFragment(fragment: Fragment)

Attributes

Inherited from:
FragmentsDsl
Supertypes
class Object
trait Matchable
class Any
class NeutralMatcherNumeric(result: NeutralMatcher[Any])

Attributes

Inherited from:
NumericBeHaveMatchers (hidden)
Supertypes
class Object
trait Matchable
class Any
class NeutralMatcherOrdered(result: NeutralMatcher[Any])

Attributes

Inherited from:
NumericBeHaveMatchers (hidden)
Supertypes
class Object
trait Matchable
class Any
class NeutralStringMatcher(result: NeutralMatcher[Any])

Attributes

Inherited from:
StringBeHaveMatchers (hidden)
Supertypes
class Object
trait Matchable
class Any
class NotStringMatcher(result: NotMatcher[Any])

Attributes

Inherited from:
StringBeHaveMatchers (hidden)
Supertypes
class Object
trait Matchable
class Any
class NumericResultMatcher[S](result: MatchResult[S])(implicit evidence$18: Numeric[S])

Attributes

Inherited from:
NumericBeHaveMatchers (hidden)
Supertypes
class Object
trait Matchable
class Any
class OptionResultMatcher[T](result: MatchResult[Option[T]])

Attributes

Inherited from:
OptionBeHaveMatchers (hidden)
Supertypes
class Object
trait Matchable
class Any
class OrderedResultMatcher[S](result: MatchResult[S])(implicit convert: S => Ordered[S])

Attributes

Inherited from:
NumericBeHaveMatchers (hidden)
Supertypes
class Object
trait Matchable
class Any
class OrderedSeqMatchResult[T](result: MatchResult[Seq[T]])(implicit evidence$18: Ordering[T])

Attributes

Inherited from:
TraversableBeHaveMatchers (hidden)
Supertypes
class Object
trait Matchable
class Any
class PartialFunctionResultMatcher[K, V](result: MatchResult[PartialFunction[K, V]])

Attributes

Inherited from:
MapBeHaveMatchers (hidden)
Supertypes
class Object
trait Matchable
class Any
class PendingUntilFixed[T](t: => T)(implicit evidence$4: AsResult[T])

Attributes

Inherited from:
PendingUntilFixed
Supertypes
class Object
trait Matchable
class Any
class ResultLogicalCombinator(res: => Result)

Attributes

Inherited from:
ResultLogicalCombinators
Supertypes
class Object
trait Matchable
class Any
implicit class SignificantFiguresSyntax(value: Int)

implicit definition to create significant figures for the beCloseTo matcher

implicit definition to create significant figures for the beCloseTo matcher

Attributes

Inherited from:
NumericMatchers
Supertypes
class Object
trait Matchable
class Any
implicit class SignificantSyntax[N](target: N)(implicit evidence$6: Numeric[N])

implicit definition to create significant figures for the beCloseTo matcher

implicit definition to create significant figures for the beCloseTo matcher

Attributes

Inherited from:
NumericMatchers
Supertypes
class Object
trait Matchable
class Any
class StringResultMatcher(result: MatchResult[String])

Attributes

Inherited from:
StringBeHaveMatchers (hidden)
Supertypes
class Object
trait Matchable
class Any
class TitleOps(s: String)

Attributes

Inherited from:
TitleDsl
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class TraversableBeHaveMatchers[T](s: MatchResult[Iterable[T]])

Attributes

Inherited from:
TraversableBeHaveMatchers (hidden)
Supertypes
class Object
trait Matchable
class Any
class TryResultMatcher[T](result: MatchResult[Try[T]])

Attributes

Inherited from:
TryBeHaveMatchers (hidden)
Supertypes
class Object
trait Matchable
class Any
implicit class TupleMatcher10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10))

Attributes

Inherited from:
MatcherZipOperators
Supertypes
class Object
trait Matchable
class Any
implicit class TupleMatcher11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11))

Attributes

Inherited from:
MatcherZipOperators
Supertypes
class Object
trait Matchable
class Any
implicit class TupleMatcher12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12))

Attributes

Inherited from:
MatcherZipOperators
Supertypes
class Object
trait Matchable
class Any
implicit class TupleMatcher13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13))

Attributes

Inherited from:
MatcherZipOperators
Supertypes
class Object
trait Matchable
class Any
implicit class TupleMatcher14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14))

Attributes

Inherited from:
MatcherZipOperators
Supertypes
class Object
trait Matchable
class Any
implicit class TupleMatcher15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15))

Attributes

Inherited from:
MatcherZipOperators
Supertypes
class Object
trait Matchable
class Any
implicit class TupleMatcher16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16))

Attributes

Inherited from:
MatcherZipOperators
Supertypes
class Object
trait Matchable
class Any
implicit class TupleMatcher17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17))

Attributes

Inherited from:
MatcherZipOperators
Supertypes
class Object
trait Matchable
class Any
implicit class TupleMatcher18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18))

Attributes

Inherited from:
MatcherZipOperators
Supertypes
class Object
trait Matchable
class Any
implicit class TupleMatcher19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19))

Attributes

Inherited from:
MatcherZipOperators
Supertypes
class Object
trait Matchable
class Any
implicit class TupleMatcher2[T1, T2](t: (T1, T2))

Attributes

Inherited from:
MatcherZipOperators
Supertypes
class Object
trait Matchable
class Any
implicit class TupleMatcher20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20))

Attributes

Inherited from:
MatcherZipOperators
Supertypes
class Object
trait Matchable
class Any
implicit class TupleMatcher21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21))

Attributes

Inherited from:
MatcherZipOperators
Supertypes
class Object
trait Matchable
class Any
implicit class TupleMatcher22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22))

Attributes

Inherited from:
MatcherZipOperators
Supertypes
class Object
trait Matchable
class Any
implicit class TupleMatcher3[T1, T2, T3](t: (T1, T2, T3))

Attributes

Inherited from:
MatcherZipOperators
Supertypes
class Object
trait Matchable
class Any
implicit class TupleMatcher4[T1, T2, T3, T4](t: (T1, T2, T3, T4))

Attributes

Inherited from:
MatcherZipOperators
Supertypes
class Object
trait Matchable
class Any
implicit class TupleMatcher5[T1, T2, T3, T4, T5](t: (T1, T2, T3, T4, T5))

Attributes

Inherited from:
MatcherZipOperators
Supertypes
class Object
trait Matchable
class Any
implicit class TupleMatcher6[T1, T2, T3, T4, T5, T6](t: (T1, T2, T3, T4, T5, T6))

Attributes

Inherited from:
MatcherZipOperators
Supertypes
class Object
trait Matchable
class Any
implicit class TupleMatcher7[T1, T2, T3, T4, T5, T6, T7](t: (T1, T2, T3, T4, T5, T6, T7))

Attributes

Inherited from:
MatcherZipOperators
Supertypes
class Object
trait Matchable
class Any
implicit class TupleMatcher8[T1, T2, T3, T4, T5, T6, T7, T8](t: (T1, T2, T3, T4, T5, T6, T7, T8))

Attributes

Inherited from:
MatcherZipOperators
Supertypes
class Object
trait Matchable
class Any
implicit class TupleMatcher9[T1, T2, T3, T4, T5, T6, T7, T8, T9](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9))

Attributes

Inherited from:
MatcherZipOperators
Supertypes
class Object
trait Matchable
class Any
class TypedEqualExpectation[T](t: => T)

Attributes

Inherited from:
TypedEqual
Supertypes
class Object
trait Matchable
class Any
implicit class appendSpecStructureToFragment(f: Fragment)

Attributes

Inherited from:
SpecStructureDsl
Supertypes
class Object
trait Matchable
class Any
implicit class appendSpecStructureToFragments(fs: => Fragments)

Attributes

Inherited from:
SpecStructureDslLowImplicits (hidden)
Supertypes
class Object
trait Matchable
class Any
implicit class appendSpecStructureToSpecHeader(header: SpecHeader)

Attributes

Inherited from:
SpecStructureDsl
Supertypes
class Object
trait Matchable
class Any
implicit class appendSpecStructureToSpecStructure(structure: SpecStructure)

Attributes

Inherited from:
SpecStructureDsl
Supertypes
class Object
trait Matchable
class Any
implicit class appendSpecStructureToString(s: String)

Attributes

Inherited from:
SpecStructureDsl
Supertypes
class Object
trait Matchable
class Any
implicit class appendToArguments(args: Arguments)

Attributes

Inherited from:
SpecStructureDsl1 (hidden)
Supertypes
class Object
trait Matchable
class Any
implicit class appendToFragment(f: Fragment)

Attributes

Inherited from:
FragmentsDsl
Supertypes
class Object
trait Matchable
class Any
implicit class appendToFragments(fs: Fragments)

Attributes

Inherited from:
FragmentsDsl
Supertypes
class Object
trait Matchable
class Any
implicit class appendToString(s: String)

Attributes

Inherited from:
FragmentsDsl
Supertypes
class Object
trait Matchable
class Any
implicit class linkFragment(alias: String)

Attributes

Inherited from:
ReferenceDsl
Supertypes
class Object
trait Matchable
class Any
Known subtypes
implicit class resultFunction[T, R](f: T => R)(implicit evidence$2: AsResult[R])

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

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

Attributes

Inherited from:
ResultImplicits
Supertypes
class Object
trait Matchable
class Any
implicit class seeFragment(alias: String)

Attributes

Inherited from:
ReferenceDsl
Supertypes
class Object
trait Matchable
class Any
Known subtypes
implicit class specificationInStringContext(sc: StringContext)

Attributes

Inherited from:
S2StringContextCreation
Supertypes
class Object
trait Matchable
class Any

Value members

Inherited methods

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

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

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

Attributes

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

matches if a != b

matches if a != b

Attributes

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

alias for beLessThan

alias for beLessThan

Attributes

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

alias for beLessThanOrEqualTo

alias for beLessThanOrEqualTo

Attributes

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

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

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

Attributes

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

matches if a == b

matches if a == b

Attributes

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

matches if a == b after an implicit conversion

matches if a == b after an implicit conversion

Attributes

Inherited from:
AnyBaseMatchers (hidden)
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

Attributes

Inherited from:
StringBaseMatchers (hidden)
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

Attributes

Inherited from:
StringBaseMatchers (hidden)
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

Attributes

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

alias for beGreaterThan

alias for beGreaterThan

Attributes

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

alias for beGreaterThanOrEqualTo

alias for beGreaterThanOrEqualTo

Attributes

Inherited from:
NumericBaseMatchers (hidden)
def aFailedTry[T](t: Throwable): TryFailureCheckedMatcher[T]

Attributes

Inherited from:
TryBaseMatchers (hidden)
def aFailedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]

Attributes

Inherited from:
TryBaseMatchers (hidden)
def aFailedTry[T]: TryFailureMatcher[T]

Attributes

Inherited from:
TryBaseMatchers (hidden)
def aSuccessfulTry[T : Diffable](t: T): TrySuccessCheckedMatcher[T]

Attributes

Inherited from:
TryBaseMatchers (hidden)
def aSuccessfulTry[T](check: ValueCheck[T]): TrySuccessCheckedMatcher[T]

Attributes

Inherited from:
TryBaseMatchers (hidden)
def aSuccessfulTry[T]: TrySuccessMatcher[T]

Attributes

Inherited from:
TryBaseMatchers (hidden)
def action(a: => Any): Fragment

Attributes

Inherited from:
ActionDsl
def allOf[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
def anError: Error

Attributes

Inherited from:
StandardResults
def anInstanceOf[T : ClassTag]: Matcher[AnyRef]

Attributes

Inherited from:
AnyBeHaveMatchers
def anyOf[T](t: T*): Matcher[Any]

Attributes

Inherited from:
AnyBeHaveMatchers
def args(ex: ArgProperty[String], include: ArgProperty[String], exclude: ArgProperty[String], was: ArgProperty[String], plan: ArgProperty[Boolean], skipAll: ArgProperty[Boolean], stopOnFail: ArgProperty[Boolean], stopOnError: ArgProperty[Boolean], stopOnIssue: ArgProperty[Boolean], stopOnSkip: ArgProperty[Boolean], sequential: ArgProperty[Boolean], batchSize: ArgProperty[Int], asap: ArgProperty[Boolean], isolated: ArgProperty[Boolean], xonly: ArgProperty[Boolean], showOnly: ArgProperty[String], color: ArgProperty[Boolean]): Arguments

shorthand method to create an Arguments object

shorthand method to create an Arguments object

Attributes

Inherited from:
ArgumentsCreation
def asNoneAs[T](other: => Option[T]): Matcher[Option[T]]

Attributes

Inherited from:
OptionBaseMatchers (hidden)
def asNullAs[T](a: => T): Matcher[Any]

Attributes

Inherited from:
AnyBeHaveMatchers
def assignableFrom[T : ClassTag]: Matcher[Class[_]]

Attributes

Inherited from:
AnyBeHaveMatchers
def atLeast[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
def atLeastOnce[T](matcher: Matcher[T]): ContainWithResult[T]

apply a matcher atLeast one value

apply a matcher atLeast one value

Attributes

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

verify the function f for at least one value

verify the function f for at least one value

Attributes

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

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

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

Attributes

Inherited from:
SequenceMatchersCreation
def atMost[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
def atMostOnce[T](matcher: Matcher[T]): ContainWithResult[T]

apply a matcher atLeast one value

apply a matcher atLeast one value

Attributes

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

verify the function f for at least one value

verify the function f for at least one value

Attributes

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

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

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

Attributes

Inherited from:
SequenceMatchersCreation
def batchSize(n: Int): Arguments

Attributes

Returns

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

Inherited from:
ArgumentsShortcuts
def be: NeutralMatcher[Any]

Attributes

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

alias for beTheSameAs

alias for beTheSameAs

Attributes

Inherited from:
AnyBaseMatchers (hidden)
def beAFailedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]

Attributes

Inherited from:
TryBaseMatchers (hidden)
def beAFailedTry[T]: TryFailureMatcher[T]

Attributes

Inherited from:
TryBaseMatchers (hidden)
def beASuccessfulTry[T](check: ValueCheck[T]): TrySuccessCheckedMatcher[T]

Attributes

Inherited from:
TryBaseMatchers (hidden)
def beASuccessfulTry[T]: TrySuccessMatcher[T]

Attributes

Inherited from:
TryBaseMatchers (hidden)
def beAnInstanceOf[T : ClassTag]: Matcher[AnyRef]

Attributes

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

alias for beOneOf

alias for beOneOf

Attributes

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

Attributes

Inherited from:
OptionBaseMatchers (hidden)
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

Attributes

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

matches if v.isAssignableFrom(c)

matches if v.isAssignableFrom(c)

Attributes

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

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

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

Attributes

Inherited from:
NumericBaseMatchers (hidden)
def beCloseTo[S : Numeric](target: SignificantTarget[S]): Matcher[S]

Attributes

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

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

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

Attributes

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

matches if actual = n +/- delta

matches if actual = n +/- delta

Attributes

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

matches if actual = n +/- delta

matches if actual = n +/- delta

Attributes

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

matches if the partial function is defined at those values

matches if the partial function is defined at those values

Attributes

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

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

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

Attributes

Inherited from:
MapBaseMatchers (hidden)
def beEmpty[T : Sized]: Matcher[T]

matches if a.isEmpty

matches if a.isEmpty

Attributes

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

matches if a == b

matches if a == b

Attributes

Inherited from:
AnyBaseMatchers (hidden)
def beFailedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]

Attributes

Inherited from:
TryBaseMatchers (hidden)
def beFailedTry[T]: TryFailureMatcher[T]

Attributes

Inherited from:
TryBaseMatchers (hidden)
def beFalse: Matcher[Boolean]

matches if a == false

matches if a == false

Attributes

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

matches if x > n

matches if x > n

Attributes

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

matches if x >= n

matches if x >= n

Attributes

Inherited from:
NumericBaseMatchers (hidden)
def beLeft[T](implicit p: ImplicitParam): LeftMatcher[T]

Attributes

Inherited from:
EitherBaseMatchers (hidden)
def beLeft[T](t: ValueCheck[T]): LeftCheckedMatcher[T]

Attributes

Inherited from:
EitherBaseMatchers (hidden)
def beLessThan[S](n: S)(implicit convert: S => Ordered[S]): BeLessThan[S]

matches if x < n

matches if x < n

Attributes

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

matches if x <= n

matches if x <= n

Attributes

Inherited from:
NumericBaseMatchers (hidden)
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

Attributes

Inherited from:
AnyBaseMatchers (hidden)
def beLikeA[T](pattern: => PartialFunction[T, MatchResult[_]]): Matcher[T]

Attributes

Inherited from:
AnyBeHaveMatchers
def beMatching(a: Regex): BeMatchingRegex

matches if b matches the regex a

matches if b matches the regex a

Attributes

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

matches if b matches the pattern a

matches if b matches the pattern a

Attributes

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

matches if b matches the regular expression a

matches if b matches the regular expression a

Attributes

Inherited from:
StringBaseMatchers (hidden)
def beNone: Matcher[Option[Any]]

Attributes

Inherited from:
OptionBaseMatchers (hidden)
def beNull[T]: BeNull[T]

matches if the value is null

matches if the value is null

Attributes

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

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

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

Attributes

Inherited from:
AnyBaseMatchers (hidden)
def beRight[T](implicit p: ImplicitParam): RightMatcher[T]

Attributes

Inherited from:
EitherBaseMatchers (hidden)
def beRight[T](t: ValueCheck[T]): RightCheckedMatcher[T]

Attributes

Inherited from:
EitherBaseMatchers (hidden)
def beSome[T](check: ValueCheck[T]): SomeCheckedMatcher[T]

Attributes

Inherited from:
OptionBaseMatchers (hidden)
def beSome[T : Diffable]: SomeMatcher[T]

Attributes

Inherited from:
OptionBaseMatchers (hidden)
def beSorted[T : Ordering]: OrderingMatcher[T]

Attributes

Returns

a matcher checking if the elements are ordered

Inherited from:
TraversableBaseMatchers (hidden)
def beSuccessfulTry[T](check: ValueCheck[T]): TrySuccessCheckedMatcher[T]

Attributes

Inherited from:
TryBaseMatchers (hidden)
def beSuccessfulTry[T]: TrySuccessMatcher[T]

Attributes

Inherited from:
TryBaseMatchers (hidden)
def beTheSameAs[T <: AnyRef](t: => T): BeTheSameAs[T]

matches if a eq b

matches if a eq b

Attributes

Inherited from:
AnyBaseMatchers (hidden)
def beTrue: BeTrueMatcher

matches if a == true

matches if a == true

Attributes

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

matches if a == b

matches if a == b

Attributes

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

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

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

Attributes

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

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

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

Attributes

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

matches if a != b

matches if a != b

Attributes

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

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

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

Attributes

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

matches if a != b

matches if a != b

Attributes

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

alias for beLessThan

alias for beLessThan

Attributes

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

alias for beLessThanOrEqualTo

alias for beLessThanOrEqualTo

Attributes

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

matches if a == b

matches if a == b

Attributes

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

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

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

Attributes

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

matches if a == b

matches if a == b

Attributes

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

matches if a == b after an implicit conversion

matches if a == b after an implicit conversion

Attributes

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

alias for beGreaterThan

alias for beGreaterThan

Attributes

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

alias for beGreaterThanOrEqualTo

alias for beGreaterThanOrEqualTo

Attributes

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

Attributes

Inherited from:
NumericBaseMatchers (hidden)
def booleanToSimpleResult(b: Boolean): Result

Attributes

Inherited from:
Results
def br: Fragment

Attributes

Inherited from:
FormattingFragments
def bt(n: Int): Fragment

Attributes

Inherited from:
FormattingFragments
def bt: Fragment

Attributes

Inherited from:
FormattingFragments
protected def checkFailure[T](m: MatchResult[T]): MatchResult[T]

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

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

Attributes

Inherited from:
ExpectationsCreation
protected def checkMatchResultFailure[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

Inherited from:
ExpectationsCreation
protected def checkResultFailure(r: => 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

Inherited from:
ExpectationsCreation
def closeTo[S : Numeric](target: SignificantTarget[S]): Matcher[S]

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
NumericBaseMatchers (hidden)
def colors(c: Colors): Arguments

shortcut to set new Colors

shortcut to set new Colors

Attributes

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

Attributes

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

matches if (b contains a)

matches if (b contains a)

Attributes

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

matches if (b contains a)

matches if (b contains a)

Attributes

Inherited from:
StringBaseMatchers (hidden)
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]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
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]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
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]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
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]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
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]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
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]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
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]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
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]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
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]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
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]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
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]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
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]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
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]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
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]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
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]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
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]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T]): ContainWithResultSeq[T]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T]): ContainWithResultSeq[T]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T]): ContainWithResultSeq[T]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T]): ContainWithResultSeq[T]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
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

Attributes

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

COLLECTION MATCHERS

COLLECTION MATCHERS

Attributes

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

ELEMENTS MATCHERS

ELEMENTS MATCHERS

Attributes

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

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

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

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
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)

Attributes

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

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

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

Attributes

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

match if traversable contains (x matches p)

match if traversable contains (x matches p)

Attributes

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

does a containAll comparison in both ways

does a containAll comparison in both ways

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
def containing(s: String): Matcher[String]

Attributes

Inherited from:
StringBeHaveMatchers (hidden)
def createExecutionInterpolatedFragment[R : AsExecution](execution: R): InterpolatedFragment

Attributes

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

Attributes

Returns

an Expectable with a description function

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

Attributes

Returns

an Expectable with a description function

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

Attributes

Returns

an Expectable with a description

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

Attributes

Returns

an Expectable

Inherited from:
ExpectationsCreation
def createExpectableWithShowAs[T](t: => T, showAs: => String): Expectable[T]

Attributes

Returns

an Expectable with a function to show the element T

Inherited from:
ExpectationsCreation
protected def createMustExpectable[T](t: => T): MustExpectable[T]

Attributes

Inherited from:
MustExpectationsCreation (hidden)
def decorate(is: SpecStructure, env: Env): SpecStructure

Attributes

Inherited from:
SpecificationStructure
def definedAt[K](values: K*): Matcher[PartialFunction[K, Any]]

Attributes

Inherited from:
MapBeHaveMatchers (hidden)
def definedBy[K, V](values: (K, V)*): Matcher[PartialFunction[K, Any]]

Attributes

Inherited from:
MapBeHaveMatchers (hidden)
def diffs(show: Boolean, separators: String, triggerSize: Int, diffRatio: Int, shortenSize: Int, full: Boolean, seqTriggerSize: Int, seqMaxSize: Int): Arguments

shortcut to display the differences with some specific parameters

shortcut to display the differences with some specific parameters

Attributes

Inherited from:
ArgumentsShortcuts
def done: Success

Attributes

Inherited from:
StandardResults
def eachOf[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
def empty[T : Sized]: Matcher[T]

Attributes

Inherited from:
AnyBeHaveMatchers
def end: Fragment

Attributes

Inherited from:
FormattingFragments
def endWith(t: => String): Matcher[String]

matches if b.endsWith(a)

matches if b.endsWith(a)

Attributes

Inherited from:
StringBaseMatchers (hidden)
def endingWith(s: => String): Matcher[String]

Attributes

Inherited from:
StringBeHaveMatchers (hidden)
def equalTo[T](t: => T): BeEqualTo

matches if a == b

matches if a == b

Attributes

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

Attributes

Returns

a matcher that will retry the nested matcher 40 times

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

Attributes

Returns

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

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

Value parameters

sleep

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

Attributes

Returns

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

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

Attributes

Returns

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

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

Attributes

Returns

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

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

Value parameters

sleep

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

Attributes

Returns

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

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

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
def exclude(tags: String): Arguments

shortcut to exclude some tagged fragments

shortcut to exclude some tagged fragments

Attributes

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

shortcut to add exclude trace patterns

shortcut to add exclude trace patterns

Attributes

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

shortcut to create a stackTrace filter to exclude only some elements

shortcut to create a stackTrace filter to exclude only some elements

Attributes

Inherited from:
ArgumentsShortcuts
def failedTry[T](t: Throwable): TryFailureCheckedMatcher[T]

Attributes

Inherited from:
TryBaseMatchers (hidden)
def failedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]

Attributes

Inherited from:
TryBaseMatchers (hidden)
def failedTry[T]: TryFailureMatcher[T]

Attributes

Inherited from:
TryBaseMatchers (hidden)
def failure(message: String): Failure

Attributes

Inherited from:
StandardResults
def failure: Failure

Attributes

Inherited from:
StandardResults
def find(r: Regex): FindMatcherRegex

matches if the regexp r is found inside b

matches if the regexp r is found inside b

Attributes

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

matches if the pattern p is found inside b

matches if the pattern p is found inside b

Attributes

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

matches if the regexp a is found inside b

matches if the regexp a is found inside b

Attributes

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

apply a matcher for all values

apply a matcher for all values

Attributes

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

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

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

Attributes

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

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

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

Attributes

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

apply a matcher foreach value

apply a matcher foreach value

Attributes

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

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

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

Attributes

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

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

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

Attributes

Inherited from:
SequenceMatchersCreation
protected def fragmentFactory: FragmentFactory

Attributes

Inherited from:
FragmentsFactory
def fragments: Env => Fragments

Attributes

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

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

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

Attributes

Inherited from:
FragmentsDsl
def fullStackTrace: Arguments

shortcut to filter nothing

shortcut to filter nothing

Attributes

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

Attributes

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

Attributes

Inherited from:
NumericBaseMatchers (hidden)
def have: NeutralMatcher[Any]

Attributes

Inherited from:
BeHaveMatchers (hidden)
def haveClass[T : ClassTag]: Matcher[AnyRef]

matches if v.getClass == c

matches if v.getClass == c

Attributes

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

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

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

Attributes

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

matches if map.contains(k)

matches if map.contains(k)

Attributes

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

matches if map.contains(k) forall key k

matches if map.contains(k) forall key k

Attributes

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

alias for haveSize

alias for haveSize

Attributes

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

alias for haveSize

alias for haveSize

Attributes

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

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

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

Attributes

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

matches if map contains all the specified pairs

matches if map contains all the specified pairs

Attributes

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

match if there is a way to size T

match if there is a way to size T

Attributes

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

match if there is a way to size T

match if there is a way to size T

Attributes

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

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

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

Attributes

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

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

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

Attributes

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

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

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

Attributes

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

shortcut to include only some tagged fragments

shortcut to include only some tagged fragments

Attributes

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

shortcut to add include trace patterns

shortcut to add include trace patterns

Attributes

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

shortcut to create a stackTrace filter to include only some elements

shortcut to create a stackTrace filter to include only some elements

Attributes

Inherited from:
ArgumentsShortcuts
def interface[T : ClassTag]: Matcher[AnyRef]

Attributes

Inherited from:
AnyBeHaveMatchers
def is: SpecStructure

Attributes

Inherited from:
SpecificationStructure
def isolated: Arguments

Attributes

Returns

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

Inherited from:
ArgumentsShortcuts
def key[K](k: K): Matcher[Iterable[(Any, Any)]]

Attributes

Inherited from:
MapBeHaveMatchers (hidden)
def keys[K](ks: K*): Matcher[Iterable[(Any, Any)]]

Attributes

Inherited from:
MapBeHaveMatchers (hidden)
def klass[T : ClassTag]: Matcher[AnyRef]

Attributes

Inherited from:
AnyBeHaveMatchers
def ko(m: String): MatchResult[Any]

Attributes

Inherited from:
StandardMatchResults
def left[T](implicit p: ImplicitParam): LeftMatcher[Nothing]

Attributes

Inherited from:
EitherBaseMatchers (hidden)
def left[T](t: ValueCheck[T]): LeftCheckedMatcher[T]

Attributes

Inherited from:
EitherBaseMatchers (hidden)
def left[T : Diffable](t: T): LeftCheckedMatcher[T]

Attributes

Inherited from:
EitherBaseMatchers (hidden)
def length[T : Sized](check: ValueCheck[Int]): SizedCheckedMatcher[T]

alias for haveSize

alias for haveSize

Attributes

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

alias for haveSize

alias for haveSize

Attributes

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

Attributes

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

matches if x <= n

matches if x <= n

Attributes

Inherited from:
NumericBaseMatchers (hidden)
def like[T](pattern: => PartialFunction[T, MatchResult[_]]): Matcher[T]

Attributes

Inherited from:
AnyBeHaveMatchers
def likeA[T](pattern: => PartialFunction[T, MatchResult[_]]): Matcher[T]

Attributes

Inherited from:
AnyBeHaveMatchers
def map(fs: => Fragments, env: Env): Fragments

modify the fragments, using the current environment

modify the fragments, using the current environment

Attributes

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

modify the fragments

modify the fragments

Attributes

Inherited from:
SpecificationStructure
def map(structure: SpecStructure): SpecStructure

modify the specification structure

modify the specification structure

Attributes

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

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

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

Attributes

Inherited from:
ExpectationsCreation
def matching(r: Regex): BeMatchingRegex

Attributes

Inherited from:
StringBeHaveMatchers (hidden)
def matching(t: Pattern): BeMatchingPattern

Attributes

Inherited from:
StringBeHaveMatchers (hidden)
def matching(t: => String): BeMatching

Attributes

Inherited from:
StringBeHaveMatchers (hidden)
def negate(r: Result): Result

Attributes

Inherited from:
Results
def negateWhen(condition: Boolean)(r: Result): Result

Attributes

Inherited from:
Results
def nocolor: Arguments

shortcut to avoid colored output

shortcut to avoid colored output

Attributes

Inherited from:
ArgumentsShortcuts
def none: Matcher[Option[Any]]

Attributes

Inherited from:
OptionBaseMatchers (hidden)
def not: NotMatcher[Any]

Attributes

Inherited from:
BeHaveMatchers (hidden)
def not[T](m: Matcher[T]): Matcher[T]

negate a matcher

negate a matcher

Attributes

Inherited from:
AnyBaseMatchers (hidden)
def ok(m: String): MatchResult[Any]

Attributes

Inherited from:
StandardMatchResults
def oneOf[T](t: T*): Matcher[Any]

Attributes

Inherited from:
AnyBeHaveMatchers
def only(examples: String): Arguments

shortcut to execute and print only some examples

shortcut to execute and print only some examples

Attributes

Inherited from:
ArgumentsShortcuts
def p: Fragments

Attributes

Inherited from:
FormattingFragments
def pair[K, V](p: (K, V)): Matcher[Iterable[(Any, Any)]]

Attributes

Inherited from:
MapBeHaveMatchers (hidden)
def pairs[K, V](pairs: (K, V)*): Matcher[Iterable[(Any, Any)]]

Attributes

Inherited from:
MapBeHaveMatchers (hidden)
def pending[R : AsResult](r: => R): Pending

Attributes

Inherited from:
StandardResults
def pending: Pending

Attributes

Inherited from:
StandardResults
def pending(message: String): Pending

Attributes

Inherited from:
StandardResults
def pendingUntilFixed[T : AsResult](m: String)(t: => T): Result

Attributes

Returns

Pending unless the result is a success

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

Attributes

Returns

Pending unless the result is a success

Inherited from:
PendingUntilFixed
def plan: Arguments

shortcut to show only the text without any execution

shortcut to show only the text without any execution

Attributes

Inherited from:
ArgumentsShortcuts
def right[T](implicit p: ImplicitParam): RightMatcher[Nothing]

Attributes

Inherited from:
EitherBaseMatchers (hidden)
def right[T](t: ValueCheck[T]): RightCheckedMatcher[T]

Attributes

Inherited from:
EitherBaseMatchers (hidden)
def right[T : Diffable](t: T): RightCheckedMatcher[T]

Attributes

Inherited from:
EitherBaseMatchers (hidden)
def s2(content: String, Yrangepos: Boolean, texts: Seq[String], textsStartPositions: Seq[String], textsEndPositions: Seq[String], variables: Seq[InterpolatedFragment], rangeExpressions: Seq[String]): Fragments

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

Attributes

Inherited from:
S2StringContextCreation
protected def sandboxMatchResult[T](mr: => MatchResult[T]): MatchResult[T]

Attributes

Returns

the match result without any side-effects

Inherited from:
ExpectationsCreation
def section(tag: NamedTag): Fragment

Attributes

Inherited from:
TagDsl
def section(names: String*): Fragment

Attributes

Inherited from:
TagDsl
def see(s: => SpecificationStructure): Fragment

Attributes

Inherited from:
ReferenceCreation
def see(s: SpecStructure): Fragment

Attributes

Inherited from:
ReferenceCreation
def sequential: Arguments

Attributes

Returns

arguments for a specification where examples must be executed sequentially

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

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

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

Attributes

Inherited from:
MatchResultStackTrace
def showOnly(s: String): Arguments

shortcut to print only some statuses

shortcut to print only some statuses

Attributes

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

alias for haveSize

alias for haveSize

Attributes

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

alias for haveSize

alias for haveSize

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
def skipAll: Arguments

shortcut to skip all examples

shortcut to skip all examples

Attributes

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

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

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

Attributes

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

shortcut to skip all examples when a condition is false.

shortcut to skip all examples when a condition is false.

Attributes

Inherited from:
ArgumentsShortcuts
def skipped[R : AsResult](r: => R): Skipped

Attributes

Inherited from:
StandardResults
def skipped: Skipped

Attributes

Inherited from:
StandardResults
def skipped(message: String): Skipped

Attributes

Inherited from:
StandardResults
def some[T](check: ValueCheck[T]): SomeCheckedMatcher[T]

Attributes

Inherited from:
OptionBaseMatchers (hidden)
def some[T : Diffable]: SomeMatcher[T]

Attributes

Inherited from:
OptionBaseMatchers (hidden)
def sorted[T : Ordering]: OrderingMatcher[T]

alias for beSorted

alias for beSorted

Attributes

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

matches if b.startsWith(a)

matches if b.startsWith(a)

Attributes

Inherited from:
StringBaseMatchers (hidden)
def startingWith(s: => String): Matcher[String]

Attributes

Inherited from:
StringBeHaveMatchers (hidden)
def step(a: => Any, global: Boolean): Fragment

Attributes

Inherited from:
ActionDsl
def step(a: => Any): Fragment

Attributes

Inherited from:
ActionDsl
def stopOnFail: Arguments

shortcut to stop after the first failure or error

shortcut to stop after the first failure or error

Attributes

Inherited from:
ArgumentsShortcuts
def stopOnSkip: Arguments

shortcut to stop after the first skipped result

shortcut to stop after the first skipped result

Attributes

Inherited from:
ArgumentsShortcuts
override def structure: Env => SpecStructure

Attributes

Definition Classes
ImmutableSpecificationStructure -> SpecificationStructure -> ContextualSpecificationStructure
Inherited from:
ImmutableSpecificationStructure
def success: Success

Attributes

Inherited from:
StandardResults
def successfulTry[T : Diffable](t: T): TrySuccessCheckedMatcher[T]

Attributes

Inherited from:
TryBaseMatchers (hidden)
def successfulTry[T](check: ValueCheck[T]): TrySuccessCheckedMatcher[T]

Attributes

Inherited from:
TryBaseMatchers (hidden)
def successfulTry[T]: TrySuccessMatcher[T]

Attributes

Inherited from:
TryBaseMatchers (hidden)
def superClass[T : ClassTag]: Matcher[AnyRef]

Attributes

Inherited from:
AnyBeHaveMatchers
def t(n: Int): Fragment

Attributes

Inherited from:
FormattingFragments
def t: Fragment

Attributes

Inherited from:
FormattingFragments
def tag(tag: NamedTag): Fragment

Attributes

Inherited from:
TagDsl
def tag(names: String*): Fragment

Attributes

Inherited from:
TagDsl
def throwA[E <: Throwable](e: E): ExceptionMatcher[E]

Attributes

Returns

a matcher checking the value of an Exception

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

Attributes

Returns

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

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

Attributes

Returns

a matcher checking the type of an Exception

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

alias for throwA

alias for throwA

Attributes

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

alias for throwA

alias for throwA

Attributes

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

alias for throwA

alias for throwA

Attributes

Inherited from:
ExceptionBaseMatchers (hidden)
def todo: Pending

Attributes

Inherited from:
StandardResults
def typedEqualTo[T](t: => T): EqualityMatcher[T]

matches if a == b

matches if a == b

Attributes

Inherited from:
AnyBaseMatchers (hidden)
def unbatched: Arguments

Attributes

Returns

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

Inherited from:
ArgumentsShortcuts
def value[V](v: V): Matcher[Iterable[(Any, Any)]]

Attributes

Inherited from:
MapBeHaveMatchers (hidden)
def valueIsTypedValueCheck[T](expected: T)(implicit di: Diffable[T]): ValueCheck[T]

an expected value can be used to check another value

an expected value can be used to check another value

Attributes

Inherited from:
ValueChecksBase
def values[V](vs: V*): Matcher[Iterable[(Any, Any)]]

Attributes

Inherited from:
MapBeHaveMatchers (hidden)
def was(s: String): Arguments

shortcut to include only examples with some previous statuses

shortcut to include only examples with some previous statuses

Attributes

Inherited from:
ArgumentsShortcuts
def wontdo: Success

Attributes

Inherited from:
StandardResults
def xonly: Arguments

shortcut to print only failures and errors

shortcut to print only failures and errors

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15], m16: (=> T16) => Matcher[S16], m17: (=> T17) => Matcher[S17], m18: (=> T18) => Matcher[S18]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18)]

Attributes

Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15], m16: (=> T16) => Matcher[S16], m17: (=> T17) => Matcher[S17]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17)]

Attributes

Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15], m16: (=> T16) => Matcher[S16]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16)]

Attributes

Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15)]

Attributes

Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14)]

Attributes

Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13)]

Attributes

Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12)]

Attributes

Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11)]

Attributes

Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10)]

Attributes

Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, S1, S2, S3, S4, S5, S6, S7, S8, S9](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9)]

Attributes

Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, S1, S2, S3, S4, S5, S6, S7, S8](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8]): (=> (T1, T2, T3, T4, T5, T6, T7, T8)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8)]

Attributes

Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, S1, S2, S3, S4, S5, S6, S7](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7]): (=> (T1, T2, T3, T4, T5, T6, T7)) => Matcher[(S1, S2, S3, S4, S5, S6, S7)]

Attributes

Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, S1, S2, S3, S4, S5, S6](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6]): (=> (T1, T2, T3, T4, T5, T6)) => Matcher[(S1, S2, S3, S4, S5, S6)]

Attributes

Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, S1, S2, S3, S4, S5](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5]): (=> (T1, T2, T3, T4, T5)) => Matcher[(S1, S2, S3, S4, S5)]

Attributes

Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, S1, S2, S3, S4](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4]): (=> (T1, T2, T3, T4)) => Matcher[(S1, S2, S3, S4)]

Attributes

Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, S1, S2, S3](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3]): (=> (T1, T2, T3)) => Matcher[(S1, S2, S3)]

Attributes

Inherited from:
MatcherZipOperators
def zip[T1, T2, S1, S2](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2]): (=> (T1, T2)) => Matcher[(S1, S2)]

Attributes

Inherited from:
MatcherZipOperators
def ~[S : Numeric](delta: PlusOrMinus[S]): Matcher[S]

alias for beCloseTo

alias for beCloseTo

Attributes

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

alias for beCloseTo

alias for beCloseTo

Attributes

Inherited from:
NumericBaseMatchers (hidden)

Inherited fields

lazy val args: ArgumentsNamespace

Attributes

Inherited from:
ArgumentsCreation
lazy val ko: MatchResult[Any]

Attributes

Inherited from:
StandardMatchResults
lazy val ok: MatchResult[Any]

Attributes

Inherited from:
StandardMatchResults

Implicits

Inherited implicits

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

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

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

  • def haveExtension(extension: =>String) = ((_:File).getPath) ^^ endWith(extension)

Attributes

Inherited from:
MatchersCreation
final implicit def EitherResultMatcher[L : Diffable, R : Diffable](result: MatchResult[Either[L, R]]): EitherResultMatcher[L, R]

Attributes

Inherited from:
EitherBeHaveMatchers (hidden)
final implicit def ExceptionMatcherResult[T](result: MatchResult[T]): ExceptionMatcherResult[T]

Attributes

Inherited from:
ExceptionBeHaveMatchers (hidden)
final implicit def HiddenFragment(fragment: Fragment): HiddenFragment

Attributes

Inherited from:
FragmentsDsl
final implicit def InvariantMatcherFunction[T](f: T => Matcher[T]): InvariantMatcherFunction[T]

Attributes

Inherited from:
SequenceMatchersCreation
final implicit def MutedFragment(fragment: Fragment): MutedFragment

Attributes

Inherited from:
FragmentsDsl
final implicit def SignificantFiguresSyntax(value: Int): SignificantFiguresSyntax

implicit definition to create significant figures for the beCloseTo matcher

implicit definition to create significant figures for the beCloseTo matcher

Attributes

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

implicit definition to create significant figures for the beCloseTo matcher

implicit definition to create significant figures for the beCloseTo matcher

Attributes

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

implicit definition to create delta for the beCloseTo matcher

implicit definition to create delta for the beCloseTo matcher

Attributes

Inherited from:
NumericMatchers
final implicit def TupleMatcher10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)): TupleMatcher10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]

Attributes

Inherited from:
MatcherZipOperators
final implicit def TupleMatcher11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)): TupleMatcher11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11]

Attributes

Inherited from:
MatcherZipOperators
final implicit def TupleMatcher12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)): TupleMatcher12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12]

Attributes

Inherited from:
MatcherZipOperators
final implicit def TupleMatcher13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)): TupleMatcher13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13]

Attributes

Inherited from:
MatcherZipOperators
final implicit def TupleMatcher14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)): TupleMatcher14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14]

Attributes

Inherited from:
MatcherZipOperators
final implicit def TupleMatcher15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)): TupleMatcher15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15]

Attributes

Inherited from:
MatcherZipOperators
final implicit def TupleMatcher16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)): TupleMatcher16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16]

Attributes

Inherited from:
MatcherZipOperators
final implicit def TupleMatcher17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)): TupleMatcher17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17]

Attributes

Inherited from:
MatcherZipOperators
final implicit def TupleMatcher18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)): TupleMatcher18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18]

Attributes

Inherited from:
MatcherZipOperators
final implicit def TupleMatcher19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)): TupleMatcher19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19]

Attributes

Inherited from:
MatcherZipOperators
final implicit def TupleMatcher2[T1, T2](t: (T1, T2)): TupleMatcher2[T1, T2]

Attributes

Inherited from:
MatcherZipOperators
final implicit def TupleMatcher20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)): TupleMatcher20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20]

Attributes

Inherited from:
MatcherZipOperators
final implicit def TupleMatcher21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21)): TupleMatcher21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21]

Attributes

Inherited from:
MatcherZipOperators
final implicit def TupleMatcher22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22)): TupleMatcher22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22]

Attributes

Inherited from:
MatcherZipOperators
final implicit def TupleMatcher3[T1, T2, T3](t: (T1, T2, T3)): TupleMatcher3[T1, T2, T3]

Attributes

Inherited from:
MatcherZipOperators
final implicit def TupleMatcher4[T1, T2, T3, T4](t: (T1, T2, T3, T4)): TupleMatcher4[T1, T2, T3, T4]

Attributes

Inherited from:
MatcherZipOperators
final implicit def TupleMatcher5[T1, T2, T3, T4, T5](t: (T1, T2, T3, T4, T5)): TupleMatcher5[T1, T2, T3, T4, T5]

Attributes

Inherited from:
MatcherZipOperators
final implicit def TupleMatcher6[T1, T2, T3, T4, T5, T6](t: (T1, T2, T3, T4, T5, T6)): TupleMatcher6[T1, T2, T3, T4, T5, T6]

Attributes

Inherited from:
MatcherZipOperators
final implicit def TupleMatcher7[T1, T2, T3, T4, T5, T6, T7](t: (T1, T2, T3, T4, T5, T6, T7)): TupleMatcher7[T1, T2, T3, T4, T5, T6, T7]

Attributes

Inherited from:
MatcherZipOperators
final implicit def TupleMatcher8[T1, T2, T3, T4, T5, T6, T7, T8](t: (T1, T2, T3, T4, T5, T6, T7, T8)): TupleMatcher8[T1, T2, T3, T4, T5, T6, T7, T8]

Attributes

Inherited from:
MatcherZipOperators
final implicit def TupleMatcher9[T1, T2, T3, T4, T5, T6, T7, T8, T9](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9)): TupleMatcher9[T1, T2, T3, T4, T5, T6, T7, T8, T9]

Attributes

Inherited from:
MatcherZipOperators
implicit def akaMust[T](tm: Expectable[T]): MustExpectable[T]

Attributes

Inherited from:
MustExpectations
implicit def akaShould[T](tm: Expectable[T]): ShouldExpectable[T]

Attributes

Inherited from:
ShouldExpectations
implicit def anyAsResultIsInterpolatedFragment(r: => Function0Result): InterpolatedFragment

Attributes

Inherited from:
S2StringContext
implicit def anyBeHaveMatcher[T](result: MatchResult[T]): AnyBeHaveMatchers[T]

Attributes

Inherited from:
AnyBeHaveMatchers
implicit def anyToArgProperty[T](t: => T): ArgProperty[T]

Attributes

Inherited from:
ArgProperties
implicit def anyWithEmpty[T : Sized](result: MatchResult[T]): AnyWithEmptyMatchers[T]

Attributes

Inherited from:
AnyBeHaveMatchers

Attributes

Inherited from:
SpecStructureDsl
final implicit def appendSpecStructureToFragments(fs: => Fragments): appendSpecStructureToFragments

Attributes

Inherited from:
SpecStructureDslLowImplicits (hidden)
final implicit def appendSpecStructureToSpecHeader(header: SpecHeader): appendSpecStructureToSpecHeader

Attributes

Inherited from:
SpecStructureDsl
final implicit def appendSpecStructureToSpecStructure(structure: SpecStructure): appendSpecStructureToSpecStructure

Attributes

Inherited from:
SpecStructureDsl

Attributes

Inherited from:
SpecStructureDsl
final implicit def appendToArguments(args: Arguments): appendToArguments

Attributes

Inherited from:
SpecStructureDsl1 (hidden)
final implicit def appendToFragment(f: Fragment): appendToFragment

Attributes

Inherited from:
FragmentsDsl
final implicit def appendToFragments(fs: Fragments): appendToFragments

Attributes

Inherited from:
FragmentsDsl
final implicit def appendToString(s: String): appendToString

Attributes

Inherited from:
FragmentsDsl
implicit def asExecutionIsInterpolatedFragment[R : AsExecution](e: => R): InterpolatedFragment

Attributes

Inherited from:
S2StringContext
implicit def asResult[T](r: MatchResult[T]): Result

implicit definition to transform any MatchResult to a Result

implicit definition to transform any MatchResult to a Result

Attributes

Inherited from:
MatchResultImplicits
implicit def asResultIsInterpolatedFragment[R : AsResult](r: => R): InterpolatedFragment

Attributes

Inherited from:
S2StringContext1 (hidden)
implicit def bangExample(d: String): BangExample

Attributes

Inherited from:
ExampleDsl
implicit def checkableSeqIsContainCheckSeq[T](seq: Seq[T])(implicit to: T => ValueCheck[T]): Seq[ValueCheck[T]]

Attributes

Inherited from:
TraversableBaseMatchersLowImplicits (hidden)
implicit def combineBoolean(b: => Boolean): ResultLogicalCombinator

Attributes

Inherited from:
ResultLogicalCombinators
implicit def combineMatchResult[T](m: => MatchResult[T]): MatchResultCombinator[T]

Attributes

Inherited from:
MatchResultLogicalCombinators
implicit def combineResult(r: => Result): ResultLogicalCombinator

Attributes

Inherited from:
ResultLogicalCombinators
implicit def debug[T](t: => T): Debuggable[T]

Attributes

Inherited from:
Debug
implicit def describe[T](t: => T): Descriptible[T]

describe a value with the aka method

describe a value with the aka method

Attributes

Inherited from:
ExpectationsDescription
implicit def describeExpectation(description: String): ExpectationDescription

Attributes

Inherited from:
ExpectationsDescription
implicit def descriptionToFragmentsIsInterpolatedFragment(fragments: String => Fragments): InterpolatedFragment

Attributes

Inherited from:
S2StringContext
implicit def downcastBeEqualTypedValueCheck[T, S >: T](check: BeEqualTypedValueCheck[T]): ValueCheck[S]

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

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

Attributes

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

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

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

Attributes

Inherited from:
ImplicitExecutionContextFromExecutionEnv
implicit def executionIsInterpolatedFragment(execution: Execution): InterpolatedFragment

Attributes

Inherited from:
S2StringContext
implicit def fragmentAsSpecStructure(f: Fragment): SpecStructure

Attributes

Inherited from:
SpecStructureDsl
implicit def fragmentIsInterpolatedFragment(f: => Fragment): InterpolatedFragment

Attributes

Inherited from:
S2StringContext1 (hidden)
implicit def fragmentToFragments(f: Fragment): Fragments

Attributes

Inherited from:
FragmentsDsl
implicit def fragmentsAsSpecStructure(fs: => Fragments): SpecStructure

Attributes

Inherited from:
SpecStructureDsl1 (hidden)
implicit def fragmentsIsInterpolatedFragment(fragments: Fragments): InterpolatedFragment

Attributes

Inherited from:
S2StringContext
implicit def fromMatchResult(r: => MatchResult[_]): Boolean

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

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

Attributes

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

This method transforms a function to a Matcher

This method transforms a function to a Matcher

Attributes

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

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

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

Attributes

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

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

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

Attributes

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

This method transforms a function to a Matcher

This method transforms a function to a Matcher

Attributes

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

This method transforms a function to a Matcher

This method transforms a function to a Matcher

Attributes

Inherited from:
MatchersCreation
implicit lazy val implicitParameter: ImplicitParam

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter1: ImplicitParam1

Attributes

Inherited from:
ImplicitParameters

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter2: ImplicitParam2

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter3: ImplicitParam3

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter4: ImplicitParam4

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter5: ImplicitParam5

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter6: ImplicitParam6

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter7: ImplicitParam7

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter8: ImplicitParam8

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter9: ImplicitParam9

Attributes

Inherited from:
ImplicitParameters
implicit def lazyParameter[T](value: => T): LazyParameter[T]

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

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

Attributes

Inherited from:
LazyParameters
final implicit def linkFragment(alias: String): linkFragment

Attributes

Inherited from:
ReferenceDsl
implicit def matchResultFunctionToMatcher[T, R : AsResult](f: T => R): Matcher[T]

This method transforms a function returning a Result to a Matcher

This method transforms a function returning a Result to a Matcher

Attributes

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

a Matcher[T] can check a value

a Matcher[T] can check a value

Attributes

Inherited from:
ValueChecksBase
implicit def matcherSeqIsContainCheckSeq[T](seq: Seq[Matcher[T]]): Seq[ValueCheck[T]]

Attributes

Inherited from:
TraversableBaseMatchersLowImplicits (hidden)
implicit def orderedSeqMatchResult[T : Ordering](result: MatchResult[Seq[T]]): OrderedSeqMatchResult[T]

Attributes

Inherited from:
TraversableBeHaveMatchers (hidden)
implicit def pairFunctionToMatcher[T](f: T => (Boolean, String)): Matcher[T]

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

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

Attributes

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

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

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

Attributes

Inherited from:
ValueChecks
implicit def resultAsSpecStructure[R : AsResult](r: => R): SpecStructure

Attributes

Inherited from:
SpecStructureDslLowImplicits (hidden)
final implicit def resultFunction[T, R : AsResult](f: T => R): resultFunction[T, R]

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

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

Attributes

Inherited from:
ResultImplicits
final implicit def seeFragment(alias: String): seeFragment

Attributes

Inherited from:
ReferenceDsl
implicit def seqToResult[T](r: Seq[MatchResult[T]]): Result

implicit definition to transform a Seq of MatchResults to a Result

implicit definition to transform a Seq of MatchResults to a Result

Attributes

Inherited from:
MatchResultImplicits
implicit def sized[T : Sized](s: MatchResult[T]): HasSize[T]

Attributes

Inherited from:
TraversableBeHaveMatchers (hidden)
implicit def specHeaderAsStructure(header: SpecHeader): SpecStructure

Attributes

Inherited from:
SpecStructureDsl
implicit def specStructureAsFragments(spec: SpecStructure): Fragments

Attributes

Inherited from:
SpecStructureDsl
implicit def specStructureIsInterpolatedFragment(s: SpecStructure): InterpolatedFragment

Attributes

Inherited from:
S2StringContext
final implicit def specificationInStringContext(sc: StringContext): specificationInStringContext

Attributes

Inherited from:
S2StringContextCreation
implicit def specificationRefIsInterpolatedFragment(ref: SpecificationRef): InterpolatedFragment

Attributes

Inherited from:
S2StringContext
implicit def specificationStructureIsInterpolatedFragment(s: SpecificationStructure): InterpolatedFragment

Attributes

Inherited from:
S2StringContext
implicit def stepParserIsInterpolatedFragment[R : AsResult](f: StepParser[R]): InterpolatedFragment

Attributes

Inherited from:
S2StringContext
implicit def stringAsSpecStructure(s: String): SpecStructure

Attributes

Inherited from:
SpecStructureDsl
implicit def stringFunctionIsInterpolatedFragment[R : AsResult](f: String => R): InterpolatedFragment

Attributes

Inherited from:
S2StringContext
implicit def stringIsInterpolatedFragment(s: => String): InterpolatedFragment

Attributes

Inherited from:
S2StringContext
implicit def stringMatcher(m: AdaptableMatcher[Any]): StringMatcher

adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher

adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher

Attributes

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

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

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

Attributes

Inherited from:
MatchersCreation
implicit def theBlock(t: => Nothing): MustExpectable[Nothing]

Attributes

Inherited from:
MustExpectations
implicit def theValue[T](t: => T): MustExpectable[T]

Attributes

Inherited from:
MustExpectations1 (hidden)
implicit def thisBlock(t: => Nothing): ShouldExpectable[Nothing]

Attributes

Inherited from:
ShouldExpectations
implicit def thisValue[T](t: => T): ShouldExpectable[T]

Attributes

Inherited from:
ShouldExpectations
implicit def timesFor(n: Int): Times

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

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

Attributes

Inherited from:
NumberOfTimes
implicit def title(s: String): TitleOps

Attributes

Inherited from:
TitleDsl
implicit def toAnyMatcherResult(result: MatchResult[AnyRef]): AnyMatcherResult

Attributes

Inherited from:
AnyBeHaveMatchers
implicit def toAnyRefMatcherResult[T <: AnyRef](result: MatchResult[T]): AnyRefMatcherResult[T]

Attributes

Inherited from:
AnyBeHaveMatchers
implicit def toBeLikeResultMatcher[T](result: MatchResult[T]): BeLikeResultMatcher[T]

Attributes

Inherited from:
AnyBeHaveMatchers
implicit def toClassMatcherResult[T : ClassTag](result: MatchResult[Class[_]]): ClassMatcherResult[T]

Attributes

Inherited from:
AnyBeHaveMatchers
implicit def toContainSeqMatcherFunction[T](seq: Seq[T]): ContainSeqMatcherFunction[T]

Attributes

Inherited from:
MatcherZipOperators
implicit def toMapKeyResultMatcher[K](result: MatchResult[Iterable[(K, Any)]]): MapKeyResultMatcher[K]

Attributes

Inherited from:
MapBeHaveMatchers (hidden)
implicit def toMapResultMatcher[K, V](result: MatchResult[Iterable[(K, V)]]): MapResultMatcher[K, V]

Attributes

Inherited from:
MapBeHaveMatchers (hidden)
implicit def toMapValueResultMatcher[V](result: MatchResult[Iterable[(Any, V)]]): MapValueResultMatcher[V]

Attributes

Inherited from:
MapBeHaveMatchers (hidden)
implicit def toNeutralMatcherNumeric(result: NeutralMatcher[Any]): NeutralMatcherNumeric

Attributes

Inherited from:
NumericBeHaveMatchers (hidden)
implicit def toNeutralMatcherOrdered(result: NeutralMatcher[Any]): NeutralMatcherOrdered

Attributes

Inherited from:
NumericBeHaveMatchers (hidden)
implicit def toNeutralStringMatcher(result: NeutralMatcher[Any]): NeutralStringMatcher

Attributes

Inherited from:
StringBeHaveMatchers (hidden)
implicit def toNotStringMatcher(result: NotMatcher[Any]): NotStringMatcher

Attributes

Inherited from:
StringBeHaveMatchers (hidden)
implicit def toNumericResultMatcher[S : Numeric](result: MatchResult[S]): NumericResultMatcher[S]

Attributes

Inherited from:
NumericBeHaveMatchers (hidden)
implicit def toOptionResultMatcher[T](result: MatchResult[Option[T]]): OptionResultMatcher[T]

Attributes

Inherited from:
OptionBeHaveMatchers (hidden)
implicit def toOrderedResultMatcher[S](result: MatchResult[S])(implicit convert: S => Ordered[S]): OrderedResultMatcher[S]

matcher aliases and implicits to use with be + matcher

matcher aliases and implicits to use with be + matcher

Attributes

Inherited from:
NumericBeHaveMatchers (hidden)
implicit def toPartialFunctionResultMatcher[K, V](result: MatchResult[PartialFunction[K, V]]): PartialFunctionResultMatcher[K, V]

Attributes

Inherited from:
MapBeHaveMatchers (hidden)
implicit def toPendingUntilFixed[T : AsResult](t: => T): PendingUntilFixed[T]

Attributes

Inherited from:
PendingUntilFixed
implicit def toResult(b: Boolean): Result

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

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

Attributes

Inherited from:
Results
implicit def toStringResultMatcher(result: MatchResult[String]): StringResultMatcher

Attributes

Inherited from:
StringBeHaveMatchers (hidden)
implicit def toTryResultMatcher[T](result: MatchResult[Try[T]]): TryResultMatcher[T]

Attributes

Inherited from:
TryBeHaveMatchers (hidden)
implicit def traversable[T](s: MatchResult[Iterable[T]]): TraversableBeHaveMatchers[T]

Attributes

Inherited from:
TraversableBeHaveMatchers (hidden)
implicit def tripletFunctionToMatcher[T](f: T => (Boolean, String, String)): Matcher[T]

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

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

Attributes

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

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

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

Attributes

Inherited from:
TypedEqual