Trait aggregating the most common specs2 matchers
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait MatchersImplicitstrait SequenceMatchersCreationtrait MatchersCreationtrait ResultImplicitstrait MatchResultImplicitstrait MatcherZipOperatorstrait MatchResultCombinatorstrait ResultLogicalCombinatorstrait Resultstrait Expectationstrait ExpectationsDescriptiontrait TypedEqualtrait FutureMatcherstrait EventuallyMatcherstrait EventuallyResultstrait TryMatcherstrait EitherMatcherstrait OptionMatcherstrait ValueCheckstrait ValueChecksBasetrait NumericMatcherstrait ExceptionMatcherstrait ExpectationsCreationtrait MatchResultStackTracetrait StringMatcherstrait MapMatcherstrait TraversableMatcherstrait NumberOfTimestrait ImplicitParameterstrait ValueChecksLowImplicitstrait LazyParameterstrait AnyMatcherstrait AnyBeHaveMatchersclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object Matchers.typetrait MustMatchersobject MustMatchers.typetrait MustThrownMatchersobject MustThrownMatchers.typetrait ShouldMatchersobject ShouldMatchers.typetrait ShouldThrownMatchersobject ShouldThrownMatchers.typeShow all
Members list
Type members
Inherited classlikes
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 Objecttrait Matchableclass Any
Attributes
- Inherited from:
- AnyBeHaveMatchers
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- AnyBeHaveMatchers
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- AnyBeHaveMatchers
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- AnyBeHaveMatchers
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- AnyBeHaveMatchers
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- AnyBeHaveMatchers
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MatcherZipOperators
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Inherited from:
- ExpectationsDescription
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- EitherBeHaveMatchers (hidden)
- Supertypes
-
class Objecttrait Matchableclass 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
This matchers matches exception instances.
This matchers matches exception instances.
Attributes
- See also
-
throwA
- Inherited from:
- ExceptionBaseMatchers (hidden)
- Supertypes
Attributes
- Inherited from:
- ExceptionBeHaveMatchers (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ExpectationsDescription
- Supertypes
-
class Objecttrait Matchableclass Any
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
- Known subtypes
-
class FindMatcherPatternclass FindMatcherRegex
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
- Known subtypes
-
class FindMatcherRegex
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
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 FindMatcherPatternclass FindMatchertrait Matcher[String]class Objecttrait Matchableclass AnyShow all
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
- Known subtypes
add an await
method to any matcher Matcher[T]
so that it can be transformed into a Matcher[Future[T]]
add an await
method to any matcher Matcher[T]
so that it can be transformed into a Matcher[Future[T]]
Attributes
- Inherited from:
- FutureMatchers
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- TraversableBeHaveMatchers (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ImplicitParameters
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ImplicitParameters
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ImplicitParameters
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ImplicitParameters
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ImplicitParameters
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ImplicitParameters
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ImplicitParameters
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ImplicitParameters
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ImplicitParameters
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ImplicitParameters
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ImplicitParameters
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- SequenceMatchersCreation
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MapBeHaveMatchers (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MapBeHaveMatchers (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MapBeHaveMatchers (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MatchResultLogicalCombinators
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- NumericBeHaveMatchers (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- NumericBeHaveMatchers (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- StringBeHaveMatchers (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- StringBeHaveMatchers (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- NumericBeHaveMatchers (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- OptionBeHaveMatchers (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- NumericBeHaveMatchers (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- TraversableBeHaveMatchers (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MapBeHaveMatchers (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ResultLogicalCombinators
- Supertypes
-
class Objecttrait Matchableclass Any
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 Objecttrait Matchableclass Any
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 Objecttrait Matchableclass Any
Attributes
- Inherited from:
- StringBeHaveMatchers (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- TraversableBeHaveMatchers (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- TryBeHaveMatchers (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MatcherZipOperators
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MatcherZipOperators
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MatcherZipOperators
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MatcherZipOperators
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MatcherZipOperators
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MatcherZipOperators
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MatcherZipOperators
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MatcherZipOperators
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MatcherZipOperators
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MatcherZipOperators
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MatcherZipOperators
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MatcherZipOperators
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MatcherZipOperators
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MatcherZipOperators
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MatcherZipOperators
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MatcherZipOperators
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MatcherZipOperators
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MatcherZipOperators
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MatcherZipOperators
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MatcherZipOperators
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MatcherZipOperators
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- TypedEqual
- Supertypes
-
class Objecttrait Matchableclass Any
when a Future contains a result, it can be awaited to return this result
when a Future contains a result, it can be awaited to return this result
Attributes
- Inherited from:
- FutureMatchers
- Supertypes
-
class Objecttrait Matchableclass Any
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 Objecttrait Matchableclass Any
Value members
Inherited methods
matches if a.toLowerCase.trim != b.toLowerCase.trim
matches if a.toLowerCase.trim != b.toLowerCase.trim
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
matches if a != b
matches if a != b
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
alias for beLessThan
alias for beLessThan
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
alias for beLessThanOrEqualTo
alias for beLessThanOrEqualTo
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
matches if a.toLowerCase.trim = b.toLowerCase.trim
matches if a.toLowerCase.trim = b.toLowerCase.trim
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
matches if a == b
matches if a == b
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
matches if a == b after an implicit conversion
matches if a == b after an implicit conversion
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
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)
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)
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)
alias for beGreaterThan
alias for beGreaterThan
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
alias for beGreaterThanOrEqualTo
alias for beGreaterThanOrEqualTo
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- AnyBeHaveMatchers
Attributes
- Inherited from:
- AnyBeHaveMatchers
Attributes
- Inherited from:
- OptionBaseMatchers (hidden)
Attributes
- Inherited from:
- AnyBeHaveMatchers
Attributes
- Inherited from:
- AnyBeHaveMatchers
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
apply a matcher atLeast one value
verify the function f for at least one value
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
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
apply a matcher atLeast one value
verify the function f for at least one value
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
Attributes
- Inherited from:
- FutureBaseMatchers (hidden)
Attributes
- Inherited from:
- FutureBaseMatchers (hidden)
Attributes
- Inherited from:
- FutureBaseMatchers (hidden)
Attributes
- Inherited from:
- BeHaveMatchers (hidden)
alias for beTheSameAs
alias for beTheSameAs
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
alias for beOneOf
alias for beOneOf
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
Attributes
- Inherited from:
- OptionBaseMatchers (hidden)
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)
matches if v.isAssignableFrom(c)
matches if v.isAssignableFrom(c)
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
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)
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
matches if target - actual < 10 pow (log actual - significantDigits)
matches if target - actual < 10 pow (log actual - significantDigits)
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
matches if actual = n +/- delta
matches if actual = n +/- delta
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
matches if actual = n +/- delta
matches if actual = n +/- delta
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
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)
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)
matches if a.isEmpty
matches if a.isEmpty
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
matches if a == b
matches if a == b
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
matches if a == false
matches if a == false
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
matches if x > n
matches if x > n
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
matches if x >= n
matches if x >= n
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
Attributes
- Inherited from:
- EitherBaseMatchers (hidden)
Attributes
- Inherited from:
- EitherBaseMatchers (hidden)
matches if x < n
matches if x < n
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
matches if x <= n
matches if x <= n
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
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)
Attributes
- Inherited from:
- AnyBeHaveMatchers
matches if b matches the regex a
matches if b matches the regex a
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
matches if b matches the pattern a
matches if b matches the pattern a
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
matches if b matches the regular expression a
matches if b matches the regular expression a
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
matches if the value is null
matches if the value is null
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
matches if t.toSeq.exists(_ == v)
matches if t.toSeq.exists(_ == v)
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
Attributes
- Inherited from:
- EitherBaseMatchers (hidden)
Attributes
- Inherited from:
- EitherBaseMatchers (hidden)
Attributes
- Inherited from:
- OptionBaseMatchers (hidden)
Attributes
- Inherited from:
- OptionBaseMatchers (hidden)
Attributes
- Returns
-
a matcher checking if the elements are ordered
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
matches if a eq b
matches if a eq b
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
matches if a == true
matches if a == true
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
matches if a == b
matches if a == b
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
alias for the adventurous: 5 must (be[(2, 7)
[`)
alias for the adventurous: 5 must (be[(2, 7)
[`)
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
alias for the adventurous: 5 must (be](2, 7)
[`)
alias for the adventurous: 5 must (be](2, 7)
[`)
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
matches if a != b
matches if a != b
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
matches if a.toLowerCase.trim != b.toLowerCase.trim
matches if a.toLowerCase.trim != b.toLowerCase.trim
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
matches if a != b
matches if a != b
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
alias for beLessThan
alias for beLessThan
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
alias for beLessThanOrEqualTo
alias for beLessThanOrEqualTo
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
matches if a == b
matches if a == b
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
matches if a.toLowerCase.trim = b.toLowerCase.trim
matches if a.toLowerCase.trim = b.toLowerCase.trim
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
matches if a == b
matches if a == b
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
matches if a == b after an implicit conversion
matches if a == b after an implicit conversion
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
alias for beGreaterThan
alias for beGreaterThan
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
alias for beGreaterThanOrEqualTo
alias for beGreaterThanOrEqualTo
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
Attributes
- Inherited from:
- Results
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
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
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
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
Attributes
- Inherited from:
- MatcherZipOperators
matches if (b contains a)
matches if (b contains a)
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
matches if (b contains a)
matches if (b contains a)
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Additional contain methods using to avoid automatic tuple conversions
Additional contain methods using to avoid automatic tuple conversions
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
COLLECTION MATCHERS
COLLECTION MATCHERS
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
ELEMENTS MATCHERS
ELEMENTS MATCHERS
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
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)
match if a traversable contains one of (t1, t2)
match if a traversable contains one of (t1, t2)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
match if traversable contains (x matches .+t+.)
match if traversable contains (x matches .+t+.)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
match if traversable contains (x matches p)
match if traversable contains (x matches p)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
does a containAll comparison in both ways
does a containAll comparison in both ways
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- StringBeHaveMatchers (hidden)
Attributes
- Returns
-
an Expectable with a description function
- Inherited from:
- ExpectationsCreation
Attributes
- Returns
-
an Expectable with a description function
- Inherited from:
- ExpectationsCreation
Attributes
- Returns
-
an Expectable with a description
- Inherited from:
- ExpectationsCreation
Attributes
- Returns
-
an Expectable
- Inherited from:
- ExpectationsCreation
Attributes
- Returns
-
an Expectable with a function to show the element T
- Inherited from:
- ExpectationsCreation
Attributes
- Inherited from:
- MapBeHaveMatchers (hidden)
Attributes
- Inherited from:
- MapBeHaveMatchers (hidden)
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- AnyBeHaveMatchers
matches if b.endsWith(a)
matches if b.endsWith(a)
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
Attributes
- Inherited from:
- StringBeHaveMatchers (hidden)
matches if a == b
matches if a == b
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
Attributes
- Returns
-
a matcher that will retry the nested matcher 40 times
- Inherited from:
- EventuallyMatchers
Attributes
- Returns
-
a matcher that will retry the nested matcher a given number of times
- Inherited from:
- EventuallyMatchers
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
Attributes
- Returns
-
a result that is retried at least 40 times until it's ok
- Inherited from:
- EventuallyResults
Attributes
- Returns
-
a matcher that will retry the nested matcher a given number of times
- Inherited from:
- EventuallyResults
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
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
matches if the regexp r is found inside b
matches if the regexp r is found inside b
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
matches if the pattern p is found inside b
matches if the pattern p is found inside b
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
matches if the regexp a is found inside b
matches if the regexp a is found inside b
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
apply a matcher for all values
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
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
apply a matcher foreach value
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
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
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
Attributes
- Inherited from:
- BeHaveMatchers (hidden)
matches if v.getClass == c
matches if v.getClass == c
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
matches if x.getClass.getInterfaces.contains(T)
matches if x.getClass.getInterfaces.contains(T)
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
matches if map.contains(k)
matches if map.contains(k)
Attributes
- Inherited from:
- MapBaseMatchers (hidden)
matches if map.contains(k) forall key k
matches if map.contains(k) forall key k
Attributes
- Inherited from:
- MapBaseMatchers (hidden)
alias for haveSize
alias for haveSize
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
alias for haveSize
alias for haveSize
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
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)
matches if map contains all the specified pairs
matches if map contains all the specified pairs
Attributes
- Inherited from:
- MapBaseMatchers (hidden)
match if there is a way to size T
match if there is a way to size T
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
match if there is a way to size T
match if there is a way to size T
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
matches if c.isAssignableFrom(v.getClass.getSuperclass)
matches if c.isAssignableFrom(v.getClass.getSuperclass)
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
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)
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)
Attributes
- Inherited from:
- AnyBeHaveMatchers
Attributes
- Inherited from:
- MapBeHaveMatchers (hidden)
Attributes
- Inherited from:
- MapBeHaveMatchers (hidden)
Attributes
- Inherited from:
- AnyBeHaveMatchers
Attributes
- Inherited from:
- EitherBaseMatchers (hidden)
Attributes
- Inherited from:
- EitherBaseMatchers (hidden)
Attributes
- Inherited from:
- EitherBaseMatchers (hidden)
alias for haveSize
alias for haveSize
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
alias for haveSize
alias for haveSize
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
matches if x <= n
matches if x <= n
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
Attributes
- Inherited from:
- AnyBeHaveMatchers
Attributes
- Inherited from:
- AnyBeHaveMatchers
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
Attributes
- Inherited from:
- StringBeHaveMatchers (hidden)
Attributes
- Inherited from:
- StringBeHaveMatchers (hidden)
Attributes
- Inherited from:
- StringBeHaveMatchers (hidden)
Attributes
- Inherited from:
- Results
Attributes
- Inherited from:
- Results
Attributes
- Inherited from:
- BeHaveMatchers (hidden)
negate a matcher
negate a matcher
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
Attributes
- Inherited from:
- AnyBeHaveMatchers
Attributes
- Inherited from:
- MapBeHaveMatchers (hidden)
Attributes
- Inherited from:
- MapBeHaveMatchers (hidden)
Attributes
- Inherited from:
- FutureBaseMatchers (hidden)
Attributes
- Inherited from:
- EitherBaseMatchers (hidden)
Attributes
- Inherited from:
- EitherBaseMatchers (hidden)
Attributes
- Inherited from:
- EitherBaseMatchers (hidden)
Attributes
- Returns
-
the match result without any side-effects
- Inherited from:
- ExpectationsCreation
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
alias for haveSize
alias for haveSize
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
alias for haveSize
alias for haveSize
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
Attributes
- Inherited from:
- OptionBaseMatchers (hidden)
Attributes
- Inherited from:
- OptionBaseMatchers (hidden)
alias for beSorted
alias for beSorted
Attributes
- Inherited from:
- TraversableBaseMatchers (hidden)
matches if b.startsWith(a)
matches if b.startsWith(a)
Attributes
- Inherited from:
- StringBaseMatchers (hidden)
Attributes
- Inherited from:
- StringBeHaveMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- TryBaseMatchers (hidden)
Attributes
- Inherited from:
- AnyBeHaveMatchers
Attributes
- Returns
-
a matcher checking the value of an Exception
- Inherited from:
- ExceptionBaseMatchers (hidden)
Attributes
- Returns
-
a matcher checking the type of an Exception and its message (as a regexp)
- Inherited from:
- ExceptionBaseMatchers (hidden)
Attributes
- Returns
-
a matcher checking the type of an Exception
- Inherited from:
- ExceptionBaseMatchers (hidden)
alias for throwA
alias for throwA
Attributes
- Inherited from:
- ExceptionBaseMatchers (hidden)
alias for throwA
alias for throwA
Attributes
- Inherited from:
- ExceptionBaseMatchers (hidden)
alias for throwA
alias for throwA
Attributes
- Inherited from:
- ExceptionBaseMatchers (hidden)
matches if a == b
matches if a == b
Attributes
- Inherited from:
- AnyBaseMatchers (hidden)
Attributes
- Inherited from:
- MapBeHaveMatchers (hidden)
an expected value can be used to check another value
Attributes
- Inherited from:
- MapBeHaveMatchers (hidden)
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
alias for beCloseTo
alias for beCloseTo
Attributes
- Inherited from:
- NumericBaseMatchers (hidden)
Implicits
Inherited implicits
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
Attributes
- Inherited from:
- EitherBeHaveMatchers (hidden)
Attributes
- Inherited from:
- ExceptionBeHaveMatchers (hidden)
add an await
method to any matcher Matcher[T]
so that it can be transformed into a Matcher[Future[T]]
add an await
method to any matcher Matcher[T]
so that it can be transformed into a Matcher[Future[T]]
Attributes
- Inherited from:
- FutureMatchers
Attributes
- Inherited from:
- SequenceMatchersCreation
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 definition to create significant figures for the beCloseTo matcher
implicit definition to create significant figures for the beCloseTo matcher
Attributes
- Inherited from:
- NumericMatchers
implicit definition to create delta for the beCloseTo matcher
implicit definition to create delta for the beCloseTo matcher
Attributes
- Inherited from:
- NumericMatchers
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- AnyBeHaveMatchers
Attributes
- Inherited from:
- AnyBeHaveMatchers
implicit definition to transform any MatchResult to a Result
implicit definition to transform any MatchResult to a Result
Attributes
- Inherited from:
- MatchResultImplicits
Attributes
- Inherited from:
- TraversableBaseMatchersLowImplicits (hidden)
Attributes
- Inherited from:
- ResultLogicalCombinators
Attributes
- Inherited from:
- MatchResultLogicalCombinators
Attributes
- Inherited from:
- ResultLogicalCombinators
describe a value with the aka method
Attributes
- Inherited from:
- ExpectationsDescription
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 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
This method transforms a function to a Matcher
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
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
This method transforms a function to a Matcher
This method transforms a function to a Matcher
when a Future contains a result, it can be awaited to return this result
when a Future contains a result, it can be awaited to return this result
Attributes
- Inherited from:
- FutureMatchers
Attributes
- Inherited from:
- ImplicitParameters
Attributes
- Inherited from:
- ImplicitParameters
Attributes
- Inherited from:
- ImplicitParameters
Attributes
- Inherited from:
- ImplicitParameters
Attributes
- Inherited from:
- ImplicitParameters
Attributes
- Inherited from:
- ImplicitParameters
Attributes
- Inherited from:
- ImplicitParameters
Attributes
- Inherited from:
- ImplicitParameters
Attributes
- Inherited from:
- ImplicitParameters
Attributes
- Inherited from:
- ImplicitParameters
Attributes
- Inherited from:
- ImplicitParameters
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
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
a Matcher[T] can check a value
Attributes
- Inherited from:
- TraversableBaseMatchersLowImplicits (hidden)
Attributes
- Inherited from:
- TraversableBeHaveMatchers (hidden)
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
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
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
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
Attributes
- Inherited from:
- TraversableBeHaveMatchers (hidden)
adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher
adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher
Attributes
- Inherited from:
- StringMatchers
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
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
Attributes
- Inherited from:
- AnyBeHaveMatchers
Attributes
- Inherited from:
- AnyBeHaveMatchers
Attributes
- Inherited from:
- AnyBeHaveMatchers
Attributes
- Inherited from:
- AnyBeHaveMatchers
Attributes
- Inherited from:
- MatcherZipOperators
Attributes
- Inherited from:
- MapBeHaveMatchers (hidden)
Attributes
- Inherited from:
- MapBeHaveMatchers (hidden)
Attributes
- Inherited from:
- MapBeHaveMatchers (hidden)
Attributes
- Inherited from:
- NumericBeHaveMatchers (hidden)
Attributes
- Inherited from:
- NumericBeHaveMatchers (hidden)
Attributes
- Inherited from:
- StringBeHaveMatchers (hidden)
Attributes
- Inherited from:
- StringBeHaveMatchers (hidden)
Attributes
- Inherited from:
- NumericBeHaveMatchers (hidden)
Attributes
- Inherited from:
- OptionBeHaveMatchers (hidden)
matcher aliases and implicits to use with be + matcher
matcher aliases and implicits to use with be + matcher
Attributes
- Inherited from:
- NumericBeHaveMatchers (hidden)
Attributes
- Inherited from:
- MapBeHaveMatchers (hidden)
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
Attributes
- Inherited from:
- StringBeHaveMatchers (hidden)
Attributes
- Inherited from:
- TryBeHaveMatchers (hidden)
Attributes
- Inherited from:
- TraversableBeHaveMatchers (hidden)
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
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