SpecificationFeatures
Mutable specification features
Attributes
- Graph
-
- Supertypes
-
trait ShouldThrownMatcherstrait ShouldThrownExpectationstrait MustThrownMatcherstrait MustThrownExpectationstrait ThrownExpectationstrait ThrownStandardMatchResultstrait ThrownStandardResultstrait ThrownExpectationsCreationtrait ThrownExpectablestrait SpecificationFeaturestrait ImplicitExecutionContextstrait ImplicitExecutionContextFromExecutionEnvtrait Debugtrait PendingUntilFixedtrait ResultLogicalCombinatorstrait Resultstrait MatcherImplicitstrait ExpectedResultstrait StandardResultstrait Expectationstrait ExpectationsDescriptiontrait ShouldMatcherstrait ShouldExpectationstrait MustMatcherstrait MustExpectationstrait TypedEqualtrait Matcherstrait EventuallyMatcherstrait EventuallyResultstrait TryMatcherstrait EitherMatcherstrait OptionMatcherstrait ValueCheckstrait ValueChecksBasetrait NumericMatcherstrait ExceptionMatcherstrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait StringMatcherstrait MapMatcherstrait TraversableMatcherstrait NumberOfTimestrait ValueChecksLowImplicitstrait TraversableBaseMatcherstrait AnyMatchersclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait SpecificationLikeclass Specification
Members list
Type members
Inherited classlikes
An exception matcher checks if an expression throws some specified exceptions:
An exception matcher checks if an expression throws some specified exceptions:
- by checking the type of exception
- if no exception is thrown it returns a success
- if an exception is thrown with with a subtype of java.lang.Error and we expect an Exception then it is re-thrown
- if an exception is thrown with a different type it returns a failure
- by checking the exception message
- by checking a condition on the exception
Attributes
- Inherited from:
- ExceptionMatchers
- Supertypes
-
trait Matcher[Any]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:
- StringMatchers
- Supertypes
-
trait Matcher[String]class Objecttrait Matchableclass Any
- 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:
- StringMatchers
- 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:
- StringMatchers
- 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:
- StringMatchers
- 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:
- StringMatchers
- Supertypes
-
trait Matcher[String]class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Inherited from:
- ResultLogicalCombinators
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ShouldExpectations
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ShouldExpectations
- Supertypes
-
class Objecttrait Matchableclass Any
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
- Supertypes
-
class Conversion[Boolean, Result]trait Boolean => Resultclass 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:
- StringMatchers
matches if a != b
matches if a != b
Attributes
- Inherited from:
- AnyMatchers
alias for beLessThan
alias for beLessThan
Attributes
- Inherited from:
- NumericMatchers
alias for beLessThanOrEqualTo
alias for beLessThanOrEqualTo
Attributes
- Inherited from:
- NumericMatchers
matches if a.toLowerCase.trim = b.toLowerCase.trim
matches if a.toLowerCase.trim = b.toLowerCase.trim
Attributes
- Inherited from:
- StringMatchers
matches if a == b
matches if a == b
Attributes
- Inherited from:
- AnyMatchers
matches if a == b after an implicit conversion
matches if a == b after an implicit conversion
Attributes
- Inherited from:
- AnyMatchers
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:
- StringMatchers
alias for beGreaterThan
alias for beGreaterThan
Attributes
- Inherited from:
- NumericMatchers
alias for beGreaterThanOrEqualTo
alias for beGreaterThanOrEqualTo
Attributes
- Inherited from:
- NumericMatchers
Attributes
- Inherited from:
- TryMatchers
Attributes
- Inherited from:
- TryMatchers
Attributes
- Inherited from:
- TryMatchers
Attributes
- Inherited from:
- TryMatchers
Attributes
- Inherited from:
- TryMatchers
Attributes
- Inherited from:
- TryMatchers
Attributes
- Inherited from:
- TraversableBaseMatchers
Attributes
- Definition Classes
-
ThrownStandardResults -> StandardResults
- Inherited from:
- ThrownStandardResults
Attributes
- Inherited from:
- StandardResults
alias for beOneOf, which can be used with contain matchers
alias for beOneOf, which can be used with contain matchers
Attributes
- Inherited from:
- AnyMatchers
Attributes
- Inherited from:
- OptionMatchers
Attributes
- Inherited from:
- TraversableBaseMatchers
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:
- MatcherImplicits
Attributes
- Inherited from:
- TraversableBaseMatchers
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:
- MatcherImplicits
alias for beTheSameAs
alias for beTheSameAs
Attributes
- Inherited from:
- AnyMatchers
Attributes
- Inherited from:
- TryMatchers
Attributes
- Inherited from:
- TryMatchers
Attributes
- Inherited from:
- TryMatchers
Attributes
- Inherited from:
- TryMatchers
Attributes
- Inherited from:
- AnyMatchers
alias for beOneOf
alias for beOneOf
Attributes
- Inherited from:
- AnyMatchers
Attributes
- Inherited from:
- OptionMatchers
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:
- AnyMatchers
matches if v.isAssignableFrom(c)
matches if v.isAssignableFrom(c)
Attributes
- Inherited from:
- AnyMatchers
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:
- NumericMatchers
Attributes
- Inherited from:
- NumericMatchers
matches if target - actual < 10 pow (log actual - significantDigits)
matches if target - actual < 10 pow (log actual - significantDigits)
Attributes
- Inherited from:
- NumericMatchers
matches if actual = n +/- delta
matches if actual = n +/- delta
Attributes
- Inherited from:
- NumericMatchers
matches if actual = n +/- delta
matches if actual = n +/- delta
Attributes
- Inherited from:
- NumericMatchers
matches if the partial function is defined at those values
matches if the partial function is defined at those values
Attributes
- Inherited from:
- MapMatchers
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:
- MapMatchers
matches if a.isEmpty
matches if a.isEmpty
Attributes
- Inherited from:
- AnyMatchers
matches if a == b
matches if a == b
Attributes
- Inherited from:
- AnyMatchers
check if a Throwable has a specific class and error message The message must be a regular expression, for example (new IllegalArgumentException("incorrect arguments"): Throwable) must beExceptionIllegalArgumentException
check if a Throwable has a specific class and error message The message must be a regular expression, for example (new IllegalArgumentException("incorrect arguments"): Throwable) must beExceptionIllegalArgumentException
Attributes
- Inherited from:
- ExceptionMatchers
Attributes
- Inherited from:
- TryMatchers
Attributes
- Inherited from:
- TryMatchers
matches if a == false
matches if a == false
Attributes
- Inherited from:
- AnyMatchers
matches if actual > n
matches if actual > n
Attributes
- Inherited from:
- NumericMatchers
matches if actual >= n
matches if actual >= n
Attributes
- Inherited from:
- NumericMatchers
Attributes
- Inherited from:
- EitherMatchers
Attributes
- Inherited from:
- EitherMatchers
matches if actual < n
matches if actual < n
Attributes
- Inherited from:
- NumericMatchers
matches if actual <= n
matches if actual <= n
Attributes
- Inherited from:
- NumericMatchers
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:
- AnyMatchers
matches if b matches the regular expression a
matches if b matches the regular expression a
Attributes
- Inherited from:
- StringMatchers
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:
- StringMatchers
Attributes
- Inherited from:
- OptionMatchers
matches if the value is null
matches if the value is null
Attributes
- Inherited from:
- AnyMatchers
matches if t.toSeq.exists(_ == v)
matches if t.toSeq.exists(_ == v)
Attributes
- Inherited from:
- AnyMatchers
Attributes
- Inherited from:
- EitherMatchers
Attributes
- Inherited from:
- EitherMatchers
Attributes
- Inherited from:
- OptionMatchers
Attributes
- Inherited from:
- OptionMatchers
Attributes
- Returns
-
a matcher checking if the elements are ordered
- Inherited from:
- TraversableBaseMatchers
Attributes
- Inherited from:
- TryMatchers
Attributes
- Inherited from:
- TryMatchers
matches if a eq b
matches if a eq b
Attributes
- Inherited from:
- AnyMatchers
matches if a == true
matches if a == true
Attributes
- Inherited from:
- AnyMatchers
matches if a != b
matches if a != b
Attributes
- Inherited from:
- AnyMatchers
matches if a.toLowerCase.trim != b.toLowerCase.trim
matches if a.toLowerCase.trim != b.toLowerCase.trim
Attributes
- Inherited from:
- StringMatchers
alias for beLessThan
alias for beLessThan
Attributes
- Inherited from:
- NumericMatchers
alias for beLessThanOrEqualTo
alias for beLessThanOrEqualTo
Attributes
- Inherited from:
- NumericMatchers
matches if a == b
matches if a == b
Attributes
- Inherited from:
- AnyMatchers
matches if a.toLowerCase.trim = b.toLowerCase.trim
matches if a.toLowerCase.trim = b.toLowerCase.trim
Attributes
- Inherited from:
- StringMatchers
matches if a == b after an implicit conversion
matches if a == b after an implicit conversion
Attributes
- Inherited from:
- AnyMatchers
alias for beGreaterThan
alias for beGreaterThan
Attributes
- Inherited from:
- NumericMatchers
alias for beGreaterThanOrEqualTo
alias for beGreaterThanOrEqualTo
Attributes
- Inherited from:
- NumericMatchers
alias for beCloseTo
alias for beCloseTo
Attributes
- Inherited from:
- NumericMatchers
alias for beCloseTo
alias for beCloseTo
Attributes
- Inherited from:
- NumericMatchers
Attributes
- Inherited from:
- NumericMatchers
this method can be overridden to throw exceptions when checking a result
this method can be overridden to throw exceptions when checking a result
Attributes
- Definition Classes
-
ThrownExpectables -> ResultChecks
- Inherited from:
- ThrownExpectables
Attributes
- Inherited from:
- NumericMatchers
Attributes
- Inherited from:
- NumericMatchers
Attributes
- Inherited from:
- NumericMatchers
Attributes
- Inherited from:
- NumericMatchers
matches if (b contains a)
matches if (b contains a)
Attributes
- Inherited from:
- StringMatchers
matches if (b contains a)
matches if (b contains a)
Attributes
- Inherited from:
- StringMatchers
Attributes
- Inherited from:
- TraversableBaseMatchers
Attributes
- Inherited from:
- TraversableBaseMatchers
Attributes
- Inherited from:
- TraversableBaseMatchers
Attributes
- Inherited from:
- TraversableBaseMatchers
Attributes
- Inherited from:
- TraversableBaseMatchers
Attributes
- Inherited from:
- TraversableBaseMatchers
Attributes
- Inherited from:
- TraversableBaseMatchers
Attributes
- Inherited from:
- TraversableBaseMatchers
Attributes
- Inherited from:
- TraversableBaseMatchers
Attributes
- Inherited from:
- TraversableBaseMatchers
Attributes
- Inherited from:
- TraversableBaseMatchers
Attributes
- Inherited from:
- TraversableBaseMatchers
Attributes
- Inherited from:
- TraversableBaseMatchers
Attributes
- Inherited from:
- TraversableBaseMatchers
Attributes
- Inherited from:
- TraversableBaseMatchers
Attributes
- Inherited from:
- TraversableBaseMatchers
Attributes
- Inherited from:
- TraversableBaseMatchers
Attributes
- Inherited from:
- TraversableBaseMatchers
Attributes
- Inherited from:
- TraversableBaseMatchers
Attributes
- Inherited from:
- TraversableBaseMatchers
Additional contain methods using to avoid automatic tuple conversions
Additional contain methods using to avoid automatic tuple conversions
Attributes
- Inherited from:
- TraversableBaseMatchers
COLLECTION MATCHERS
COLLECTION MATCHERS
Attributes
- Inherited from:
- TraversableBaseMatchers
ELEMENTS MATCHERS
ELEMENTS MATCHERS
Attributes
- Inherited from:
- TraversableBaseMatchers
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
match if a traversable contains one of (t1, t2)
match if a traversable contains one of (t1, t2)
Attributes
- Inherited from:
- TraversableBaseMatchers
match if traversable contains (x matches .+t+.)
match if traversable contains (x matches .+t+.)
Attributes
- Inherited from:
- TraversableBaseMatchers
match if traversable contains (x matches p)
match if traversable contains (x matches p)
Attributes
- Inherited from:
- TraversableBaseMatchers
does a containAll comparison in both ways
does a containAll comparison in both ways
Attributes
- Inherited from:
- TraversableBaseMatchers
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 description function
- Definition Classes
-
ThrownExpectables -> ExpectationsCreation
- Inherited from:
- ThrownExpectables
Attributes
- Returns
-
an Expectable with a function to show the element T
- Inherited from:
- ExpectationsCreation
Attributes
- Inherited from:
- StandardResults
Attributes
- Inherited from:
- TraversableBaseMatchers
matches if b.endsWith(a)
matches if b.endsWith(a)
Attributes
- Inherited from:
- StringMatchers
matches if a == b
matches if a == b
Attributes
- Inherited from:
- AnyMatchers
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
Attributes
- Inherited from:
- TryMatchers
Attributes
- Inherited from:
- TryMatchers
Attributes
- Inherited from:
- TryMatchers
Attributes
- Inherited from:
- ThrownStandardResults
Attributes
- Definition Classes
-
ThrownStandardResults -> StandardResults
- Inherited from:
- ThrownStandardResults
Attributes
- Definition Classes
-
ThrownStandardResults -> StandardResults
- Inherited from:
- ThrownStandardResults
matches if the regexp r is found inside b
matches if the regexp r is found inside b
Attributes
- Inherited from:
- StringMatchers
matches if the pattern p is found inside b
matches if the pattern p is found inside b
Attributes
- Inherited from:
- StringMatchers
matches if the regexp a is found inside b
matches if the regexp a is found inside b
Attributes
- Inherited from:
- StringMatchers
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:
- MatcherImplicits
Attributes
- Inherited from:
- MatcherImplicits
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:
- MatcherImplicits
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:
- MatcherImplicits
Attributes
- Inherited from:
- NumericMatchers
Attributes
- Inherited from:
- NumericMatchers
matches if v.getClass == c
matches if v.getClass == c
Attributes
- Inherited from:
- AnyMatchers
matches if x.getClass.getInterfaces.contains(T)
matches if x.getClass.getInterfaces.contains(T)
Attributes
- Inherited from:
- AnyMatchers
matches if map.contains(k)
matches if map.contains(k)
Attributes
- Inherited from:
- MapMatchers
matches if map.contains(k) forall key k
matches if map.contains(k) forall key k
Attributes
- Inherited from:
- MapMatchers
alias for haveSize
alias for haveSize
Attributes
- Inherited from:
- TraversableBaseMatchers
alias for haveSize
alias for haveSize
Attributes
- Inherited from:
- TraversableBaseMatchers
matches if map contains a pair (key, value) == (k, v)
matches if map contains a pair (key, value) == (k, v)
Attributes
- Inherited from:
- MapMatchers
matches if map contains all the specified pairs
matches if map contains all the specified pairs
Attributes
- Inherited from:
- MapMatchers
match if there is a way to size T
match if there is a way to size T
Attributes
- Inherited from:
- TraversableBaseMatchers
match if there is a way to size T
match if there is a way to size T
Attributes
- Inherited from:
- TraversableBaseMatchers
matches if c.isAssignableFrom(v.getClass.getSuperclass)
matches if c.isAssignableFrom(v.getClass.getSuperclass)
Attributes
- Inherited from:
- AnyMatchers
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:
- MapMatchers
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:
- MapMatchers
Attributes
- Inherited from:
- ExpectedResults
Attributes
- Inherited from:
- EitherMatchers
Attributes
- Inherited from:
- EitherMatchers
Attributes
- Inherited from:
- EitherMatchers
alias for haveSize
alias for haveSize
Attributes
- Inherited from:
- TraversableBaseMatchers
alias for haveSize
alias for haveSize
Attributes
- Inherited from:
- TraversableBaseMatchers
Attributes
- Inherited from:
- NumericMatchers
matches if actual <= n
matches if actual <= n
Attributes
- Inherited from:
- NumericMatchers
this method can be overridden to intercept a Result and modify it. It is used for example to set a stacktrace providing the location of a failure
this method can be overridden to intercept a Result and modify it. It is used for example to set a stacktrace providing the location of a failure
Attributes
- Inherited from:
- ResultChecks
alias to use with contain
alias to use with contain
Attributes
- Inherited from:
- StringMatchers
Attributes
- Inherited from:
- Results
Attributes
- Inherited from:
- Results
Attributes
- Inherited from:
- OptionMatchers
negate a matcher
negate a matcher
Attributes
- Inherited from:
- AnyMatchers
Attributes
- Inherited from:
- ExpectedResults
Attributes
- Inherited from:
- ThrownStandardResults
Attributes
- Definition Classes
-
ThrownStandardResults -> StandardResults
- Inherited from:
- ThrownStandardResults
Attributes
- Definition Classes
-
ThrownStandardResults -> StandardResults
- Inherited from:
- ThrownStandardResults
Attributes
- Inherited from:
- StandardResults
Attributes
- Returns
-
Pending unless the result of the execution is a success
- Inherited from:
- PendingUntilFixed
Attributes
- Inherited from:
- EitherMatchers
Attributes
- Inherited from:
- EitherMatchers
Attributes
- Inherited from:
- EitherMatchers
Attributes
- Returns
-
the value without any side-effects for expectations
- Definition Classes
-
ThrownStandardMatchResults -> ResultChecks
- Inherited from:
- ThrownStandardMatchResults
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
alias for haveSize
alias for haveSize
Attributes
- Inherited from:
- TraversableBaseMatchers
Attributes
- Inherited from:
- ThrownStandardResults
Attributes
- Definition Classes
-
ThrownStandardResults -> StandardResults
- Inherited from:
- ThrownStandardResults
Attributes
- Definition Classes
-
ThrownStandardResults -> StandardResults
- Inherited from:
- ThrownStandardResults
Attributes
- Inherited from:
- StandardResults
Attributes
- Inherited from:
- OptionMatchers
Attributes
- Inherited from:
- OptionMatchers
Attributes
- Inherited from:
- OptionMatchers
alias for beSorted
alias for beSorted
Attributes
- Inherited from:
- TraversableBaseMatchers
matches if b.startsWith(a)
matches if b.startsWith(a)
Attributes
- Inherited from:
- StringMatchers
Attributes
- Definition Classes
-
ThrownStandardResults -> StandardResults
- Inherited from:
- ThrownStandardResults
Attributes
- Inherited from:
- TryMatchers
Attributes
- Inherited from:
- TryMatchers
Attributes
- Inherited from:
- ExpectationsCreation
Attributes
- Inherited from:
- ExpectationsCreation
Attributes
- Returns
-
a matcher checking the value of an Exception
- Inherited from:
- ExceptionMatchers
Attributes
- Returns
-
a matcher checking the type of an Exception and its message (as a regexp)
- Inherited from:
- ExceptionMatchers
Attributes
- Returns
-
a matcher checking the type of an Exception
- Inherited from:
- ExceptionMatchers
alias for throwA
alias for throwA
Attributes
- Inherited from:
- ExceptionMatchers
alias for throwA
alias for throwA
Attributes
- Inherited from:
- ExceptionMatchers
alias for throwA
alias for throwA
Attributes
- Inherited from:
- ExceptionMatchers
Attributes
- Inherited from:
- Results
Attributes
- Definition Classes
-
ThrownStandardResults -> StandardResults
- Inherited from:
- ThrownStandardResults
an expected value can be used to check another value
an expected value can be used to check another value
Attributes
- Inherited from:
- ValueChecksBase
Attributes
- Inherited from:
- StandardResults
alias for beCloseTo
alias for beCloseTo
Attributes
- Inherited from:
- NumericMatchers
alias for beCloseTo
alias for beCloseTo
Attributes
- Inherited from:
- NumericMatchers
Givens
Inherited givens
Attributes
- Inherited from:
- Debug
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
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
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 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 definition to create delta for the beCloseTo matcher
implicit definition to create delta for the beCloseTo matcher
Attributes
- Inherited from:
- NumericMatchers
a Matcher[T] can check a value
a Matcher[T] can check a value
Attributes
- Inherited from:
- ValueChecksBase
Attributes
- Inherited from:
- TraversableBaseMatchersLowImplicits (hidden)
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
Attributes
- Inherited from:
- TraversableBaseMatchersLowImplicits (hidden)
Extensions
Inherited extensions
Attributes
- Inherited from:
- ExpectationsDescription
Attributes
- Inherited from:
- ExpectationsDescription
this extension provides an inverted syntax to adapt matchers to make the adaptation more readable in some cases:
this extension 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:
- MatcherImplicits
adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher
adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher
Attributes
- Inherited from:
- StringMatchers
adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher
adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher
Attributes
- Inherited from:
- StringMatchers
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 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
equality matcher on Expectables
equality matcher on Expectables
Attributes
- Inherited from:
- TypedEqual
! equality matcher on Expectables
! equality matcher on Expectables
Attributes
- Inherited from:
- TypedEqual
print the object to the console with a small message before
print the object to the console with a small message before
Attributes
- Inherited from:
- Debug
print the object to the console with a specific function and return it
print the object to the console with a specific function and return it
Attributes
- Inherited from:
- Debug
print the object to the console and return it, if the condition is satisfied
print the object to the console and return it, if the condition is satisfied
Attributes
- Inherited from:
- Debug
print the object to the console and return it, if the condition is satisfied
print the object to the console and return it, if the condition is satisfied
Attributes
- Inherited from:
- Debug
print the object to the console and return it
print the object to the console and return it
Attributes
- Inherited from:
- Debug
Attributes
- Returns
-
Pending unless the result is a success
- Inherited from:
- PendingUntilFixed
Attributes
- Returns
-
Pending unless the result is a success
- Inherited from:
- PendingUntilFixed
implicit definition to create significant figures for the beCloseTo matcher
implicit definition to create significant figures for the beCloseTo matcher
Attributes
- Inherited from:
- NumericMatchers
Attributes
- Inherited from:
- MustExpectations
Attributes
- Inherited from:
- MustExpectations
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
Attributes
- Returns
-
an expectable with an alias description
- Inherited from:
- ExpectationsDescription
Attributes
- Returns
-
an expectable with its toString method as an alias description this is useful to preserve the original value when the matcher using it is adapting the value
- Inherited from:
- ExpectationsDescription
Attributes
- Returns
-
an expectable with an alias description, after the value string
- Inherited from:
- ExpectationsDescription
Attributes
- Returns
-
an expectable with an alias description, after the value string
- Inherited from:
- ExpectationsDescription
Attributes
- Returns
-
an expectable with a function to show the element T
- Inherited from:
- ExpectationsDescription
Attributes
- Returns
-
an expectable with a function to show the element T
- Inherited from:
- ExpectationsDescription
Extend collections to check all their elements
Extend collections to check all their elements
Attributes
- Inherited from:
- MatcherImplicits
Extend collections to check all their elements
Extend collections to check all their elements
Attributes
- Inherited from:
- MatcherImplicits
Extend collections to check all their elements
Extend collections to check all their elements
Attributes
- Inherited from:
- MatcherImplicits
Extend collections to check all their elements
Extend collections to check all their elements
Attributes
- Inherited from:
- MatcherImplicits
Extend collections to check all their elements
Extend collections to check all their elements
Attributes
- Inherited from:
- MatcherImplicits
Extend collections to check all their elements
Extend collections to check all their elements
Attributes
- Inherited from:
- MatcherImplicits
Extend collections to check all their elements
Extend collections to check all their elements
Attributes
- Inherited from:
- MatcherImplicits
Extend collections to check all their elements
Extend collections to check all their elements
Attributes
- Inherited from:
- MatcherImplicits
Extend collections to check all their elements
Extend collections to check all their elements
Attributes
- Inherited from:
- MatcherImplicits
Extend collections to check all their elements
Extend collections to check all their elements
Attributes
- Inherited from:
- MatcherImplicits
Implicits
Inherited implicits
Attributes
- Inherited from:
- ResultLogicalCombinators
Attributes
- Inherited from:
- ResultLogicalCombinators
Attributes
- Inherited from:
- ShouldExpectations
Attributes
- Inherited from:
- ShouldExpectations