This trait provides implicit definitions from MatchResults and Booleans to Results.
It also allows to:
- create matchers from functions
- create matchers for seqs and sets from single matchers
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait SequenceMatchersCreationtrait MatchersCreationtrait ResultImplicitstrait MatchResultImplicitstrait MatcherZipOperatorstrait MatchResultCombinatorstrait ResultLogicalCombinatorstrait Resultstrait Expectationstrait ExpectationsDescriptiontrait TypedEqualtrait ExpectationsCreationtrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait Matchersobject Matchers.typetrait MustMatchersobject MustMatchers.typetrait MustThrownMatchersobject MustThrownMatchers.typetrait ShouldMatchersobject ShouldMatchers.typetrait ShouldThrownMatchersobject ShouldThrownMatchers.typeobject MatchersImplicits.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:
- MatcherZipOperators
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Inherited from:
- ExpectationsDescription
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ExpectationsDescription
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- SequenceMatchersCreation
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- MatchResultLogicalCombinators
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ResultLogicalCombinators
- 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
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
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
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:
- 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:
- MatcherZipOperators
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
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
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:
- Results
Attributes
- Inherited from:
- Results
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
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
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:
- SequenceMatchersCreation
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
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:
- ResultLogicalCombinators
Attributes
- Inherited from:
- MatchResultLogicalCombinators
Attributes
- Inherited from:
- ResultLogicalCombinators
describe a value with the aka method
Attributes
- Inherited from:
- ExpectationsDescription
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
This method transforms a function to a Matcher
This method transforms a function to a Matcher
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
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
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
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
Attributes
- Inherited from:
- MatcherZipOperators
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
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