ScalatraSpec
A Specification that starts the tester before the specification and stops it afterward.
This is a spec of the immutable variation of the specs2 framework. All documentation for specs2 still applies.
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)
- Inherited from:
- MatchersCreation
- Inherited from:
- EitherBeHaveMatchers (hidden)
Exception matcher checking the type of a thrown exception.
Exception matcher checking the type of a thrown exception.
- Inherited from:
- ExceptionBaseMatchers (hidden)
This matchers matches exception instances.
This matchers matches exception instances.
- See also:
throwA
- Inherited from:
- ExceptionBaseMatchers (hidden)
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
- Inherited from:
- StringBaseMatchers (hidden)
Matcher to find if the pattern p is found inside b.
Matcher to find if the pattern p is found inside b.
- Inherited from:
- StringBaseMatchers (hidden)
Matcher to find if the pattern p is found inside b.
Matcher to find if the pattern p is found inside b.
- Inherited from:
- StringBaseMatchers (hidden)
Matcher to find if the Regex r is found inside b.
Matcher to find if the Regex r is found inside b.
- Inherited from:
- StringBaseMatchers (hidden)
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
- Inherited from:
- StringBaseMatchers (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]]
- Inherited from:
- FutureMatchers
implicit definition to create significant figures for the beCloseTo matcher
implicit definition to create significant figures for the beCloseTo matcher
- Inherited from:
- NumericMatchers
implicit definition to create significant figures for the beCloseTo matcher
implicit definition to create significant figures for the beCloseTo matcher
- Inherited from:
- NumericMatchers
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
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
- Inherited from:
- FutureMatchers
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
- Inherited from:
- ResultImplicits
Value members
Inherited methods
matches if a.toLowerCase.trim != b.toLowerCase.trim
matches if a.toLowerCase.trim != b.toLowerCase.trim
- Inherited from:
- StringBaseMatchers (hidden)
alias for beLessThanOrEqualTo
alias for beLessThanOrEqualTo
- Inherited from:
- NumericBaseMatchers (hidden)
matches if a.toLowerCase.trim = b.toLowerCase.trim
matches if a.toLowerCase.trim = b.toLowerCase.trim
- Inherited from:
- StringBaseMatchers (hidden)
matches if a == b after an implicit conversion
matches if a == b after an implicit conversion
- 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
- 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
- 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
- Inherited from:
- StringBaseMatchers (hidden)
alias for beGreaterThanOrEqualTo
alias for beGreaterThanOrEqualTo
- Inherited from:
- NumericBaseMatchers (hidden)
- Inherited from:
- JettyContainer
shorthand method to create an Arguments object
shorthand method to create an Arguments object
- Inherited from:
- ArgumentsCreation
apply a matcher atLeast one value
apply a matcher atLeast one value
- Inherited from:
- SequenceMatchersCreation
verify the function f for at least one value
verify the function f for at least one value
- Inherited from:
- SequenceMatchersCreation
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
- Inherited from:
- SequenceMatchersCreation
apply a matcher atLeast one value
apply a matcher atLeast one value
- Inherited from:
- SequenceMatchersCreation
verify the function f for at least one value
verify the function f for at least one value
- Inherited from:
- SequenceMatchersCreation
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
- Inherited from:
- SequenceMatchersCreation
- Inherited from:
- FutureBaseMatchers (hidden)
- Inherited from:
- FutureBaseMatchers (hidden)
- Returns:
arguments for a specification where examples must in a given batch size
- Inherited from:
- ArgumentsShortcuts
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
- Inherited from:
- AnyBaseMatchers (hidden)
matches if v.isAssignableFrom(c)
matches if v.isAssignableFrom(c)
- 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
- Inherited from:
- NumericBaseMatchers (hidden)
matches if target - actual < 10 pow (log actual - significantDigits)
matches if target - actual < 10 pow (log actual - significantDigits)
- Inherited from:
- NumericBaseMatchers (hidden)
matches if actual = n +/- delta
matches if actual = n +/- delta
- Inherited from:
- NumericBaseMatchers (hidden)
matches if actual = n +/- delta
matches if actual = n +/- delta
- Inherited from:
- NumericBaseMatchers (hidden)
matches if the partial function is defined at those values
matches if the partial function is defined at those values
- 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
- Inherited from:
- MapBaseMatchers (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
- Inherited from:
- AnyBaseMatchers (hidden)
matches if b matches the regex a
matches if b matches the regex a
- Inherited from:
- StringBaseMatchers (hidden)
matches if b matches the pattern a
matches if b matches the pattern a
- Inherited from:
- StringBaseMatchers (hidden)
matches if b matches the regular expression a
matches if b matches the regular expression a
- Inherited from:
- StringBaseMatchers (hidden)
matches if t.toSeq.exists(_ == v)
matches if t.toSeq.exists(_ == v)
- Inherited from:
- AnyBaseMatchers (hidden)
- Returns:
a matcher checking if the elements are ordered
- Inherited from:
- TraversableBaseMatchers (hidden)
alias for the adventurous: 5 must (be[(2, 7)
[`)
alias for the adventurous: 5 must (be[(2, 7)
[`)
- Inherited from:
- NumericBaseMatchers (hidden)
alias for the adventurous: 5 must (be](2, 7)
[`)
alias for the adventurous: 5 must (be](2, 7)
[`)
- Inherited from:
- NumericBaseMatchers (hidden)
matches if a.toLowerCase.trim != b.toLowerCase.trim
matches if a.toLowerCase.trim != b.toLowerCase.trim
- Inherited from:
- StringBaseMatchers (hidden)
alias for beLessThanOrEqualTo
alias for beLessThanOrEqualTo
- Inherited from:
- NumericBaseMatchers (hidden)
matches if a.toLowerCase.trim = b.toLowerCase.trim
matches if a.toLowerCase.trim = b.toLowerCase.trim
- Inherited from:
- StringBaseMatchers (hidden)
matches if a == b after an implicit conversion
matches if a == b after an implicit conversion
- Inherited from:
- AnyBaseMatchers (hidden)
alias for beGreaterThanOrEqualTo
alias for beGreaterThanOrEqualTo
- Inherited from:
- NumericBaseMatchers (hidden)
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
- 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
- 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
- Inherited from:
- ExpectationsCreation
- Inherited from:
- Client
- Inherited from:
- TraversableBaseMatchers (hidden)
- Inherited from:
- TraversableBaseMatchers (hidden)
- Inherited from:
- TraversableBaseMatchers (hidden)
- Inherited from:
- TraversableBaseMatchers (hidden)
- Inherited from:
- TraversableBaseMatchers (hidden)
- Inherited from:
- TraversableBaseMatchers (hidden)
- Inherited from:
- TraversableBaseMatchers (hidden)
- Inherited from:
- TraversableBaseMatchers (hidden)
- Inherited from:
- TraversableBaseMatchers (hidden)
- Inherited from:
- TraversableBaseMatchers (hidden)
- Inherited from:
- TraversableBaseMatchers (hidden)
- Inherited from:
- TraversableBaseMatchers (hidden)
- Inherited from:
- TraversableBaseMatchers (hidden)
- Inherited from:
- TraversableBaseMatchers (hidden)
- Inherited from:
- TraversableBaseMatchers (hidden)
- Inherited from:
- TraversableBaseMatchers (hidden)
- Inherited from:
- TraversableBaseMatchers (hidden)
- Inherited from:
- TraversableBaseMatchers (hidden)
- Inherited from:
- TraversableBaseMatchers (hidden)
Additional contain methods using to avoid automatic tuple conversions
Additional contain methods using to avoid automatic tuple conversions
- 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)
- Inherited from:
- TraversableBaseMatchers (hidden)
match if a traversable contains one of (t1, t2)
match if a traversable contains one of (t1, t2)
- Inherited from:
- TraversableBaseMatchers (hidden)
match if traversable contains (x matches .+t+.)
match if traversable contains (x matches .+t+.)
- Inherited from:
- TraversableBaseMatchers (hidden)
match if traversable contains (x matches p)
match if traversable contains (x matches p)
- Inherited from:
- TraversableBaseMatchers (hidden)
does a containAll comparison in both ways
does a containAll comparison in both ways
- Inherited from:
- TraversableBaseMatchers (hidden)
- Inherited from:
- Client
shortcut to display the differences with some specific parameters
shortcut to display the differences with some specific parameters
- Inherited from:
- ArgumentsShortcuts
- 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)
- Returns:
a matcher that will retry the nested matcher a given number of times
- Inherited from:
- EventuallyMatchers
- 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)
- Returns:
a matcher that will retry the nested matcher a given number of times
eventually(retries = 2, sleep = _ * 100.milliseconds) { aResult }
- Inherited from:
- EventuallyResults
shortcut to exclude some tagged fragments
shortcut to exclude some tagged fragments
- Inherited from:
- ArgumentsShortcuts
shortcut to add exclude trace patterns
shortcut to add exclude trace patterns
- Inherited from:
- ArgumentsShortcuts
shortcut to create a stackTrace filter to exclude only some elements
shortcut to create a stackTrace filter to exclude only some elements
- Inherited from:
- ArgumentsShortcuts
matches if the regexp r is found inside b
matches if the regexp r is found inside b
- Inherited from:
- StringBaseMatchers (hidden)
matches if the pattern p is found inside b
matches if the pattern p is found inside b
- Inherited from:
- StringBaseMatchers (hidden)
matches if the regexp a is found inside b
matches if the regexp a is found inside b
- Inherited from:
- StringBaseMatchers (hidden)
apply a matcher for all values
apply a matcher for all values
- Inherited from:
- SequenceMatchersCreation
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
- 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
- Inherited from:
- SequenceMatchersCreation
verify the function f for all the values, and collect all failures
verify the function f for all the values, and collect all failures
- 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
- Inherited from:
- SequenceMatchersCreation
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
- Inherited from:
- FragmentsDsl
- Inherited from:
- Client
matches if x.getClass.getInterfaces.contains(T)
matches if x.getClass.getInterfaces.contains(T)
- Inherited from:
- AnyBaseMatchers (hidden)
matches if map.contains(k) forall key k
matches if map.contains(k) forall key k
- Inherited from:
- MapBaseMatchers (hidden)
matches if map contains a pair (key, value) == (k, v)
matches if map contains a pair (key, value) == (k, v)
- Inherited from:
- MapBaseMatchers (hidden)
matches if map contains all the specified pairs
matches if map contains all the specified pairs
- Inherited from:
- MapBaseMatchers (hidden)
match if there is a way to size T
match if there is a way to size T
- Inherited from:
- TraversableBaseMatchers (hidden)
match if there is a way to size T
match if there is a way to size T
- Inherited from:
- TraversableBaseMatchers (hidden)
matches if c.isAssignableFrom(v.getClass.getSuperclass)
matches if c.isAssignableFrom(v.getClass.getSuperclass)
- 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
- 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
- Inherited from:
- MapBaseMatchers (hidden)
- Inherited from:
- Client
shortcut to include only some tagged fragments
shortcut to include only some tagged fragments
- Inherited from:
- ArgumentsShortcuts
shortcut to add include trace patterns
shortcut to add include trace patterns
- Inherited from:
- ArgumentsShortcuts
shortcut to create a stackTrace filter to include only some elements
shortcut to create a stackTrace filter to include only some elements
- Inherited from:
- ArgumentsShortcuts
- Returns:
arguments for a specification where examples must be executed in their own specification
- Inherited from:
- ArgumentsShortcuts
The port of the currently running Jetty. May differ from port if port is 0.
The port of the currently running Jetty. May differ from port if port is 0.
- Returns:
Some port if Jetty is currently listening, or None if it is not.
- Inherited from:
- EmbeddedJettyContainer
modify the fragments
modify the fragments
- Definition Classes
- BeforeAfterAll -> SpecificationStructure
- Inherited from:
- BeforeAfterAll
modify the fragments, using the current environment
modify the fragments, using the current environment
- Inherited from:
- SpecificationStructure
modify the specification structure
modify the specification structure
- Inherited from:
- SpecificationStructure
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
- Inherited from:
- ExpectationsCreation
shortcut to execute and print only some examples
shortcut to execute and print only some examples
- Inherited from:
- ArgumentsShortcuts
- Inherited from:
- Client
- Inherited from:
- Client
shortcut to show only the text without any execution
shortcut to show only the text without any execution
- Inherited from:
- ArgumentsShortcuts
Sets the port to listen on. 0 means listen on any available port.
Sets the port to listen on. 0 means listen on any available port.
- Inherited from:
- EmbeddedJettyContainer
- Inherited from:
- Client
- Inherited from:
- Client
- Inherited from:
- Client
- Inherited from:
- Client
- Inherited from:
- Client
- Inherited from:
- Client
Returns the current response within the scope of the submit method.
Returns the current response within the scope of the submit method.
- Inherited from:
- Client
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
- Inherited from:
- S2StringContextCreation
- Returns:
arguments for a specification where examples must be executed sequentially
- Inherited from:
- ArgumentsShortcuts
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
- Inherited from:
- MatchResultStackTrace
shortcut to print only some statuses
shortcut to print only some statuses
- Inherited from:
- ArgumentsShortcuts
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
- Inherited from:
- ArgumentsShortcuts
shortcut to skip all examples when a condition is false.
shortcut to skip all examples when a condition is false.
- Inherited from:
- ArgumentsShortcuts
shortcut to stop after the first failure or error
shortcut to stop after the first failure or error
- Inherited from:
- ArgumentsShortcuts
shortcut to stop after the first skipped result
shortcut to stop after the first skipped result
- Inherited from:
- ArgumentsShortcuts
- Definition Classes
- ImmutableSpecificationStructure -> SpecificationStructure -> ContextualSpecificationStructure
- Inherited from:
- ImmutableSpecificationStructure
- Inherited from:
- HttpComponentsClient
- Inherited from:
- HttpComponentsClient
- Returns:
a matcher checking the type of an Exception and its message (as a regexp)
- Inherited from:
- ExceptionBaseMatchers (hidden)
- Inherited from:
- Client
- Returns:
arguments for a specification where examples must be executed inside just one big batch
- Inherited from:
- ArgumentsShortcuts
an expected value can be used to check another value
an expected value can be used to check another value
- Inherited from:
- ValueChecksBase
shortcut to include only examples with some previous statuses
shortcut to include only examples with some previous statuses
- Inherited from:
- ArgumentsShortcuts
shortcut to print only failures and errors
shortcut to print only failures and errors
- Inherited from:
- ArgumentsShortcuts
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
Inherited fields
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)
- Inherited from:
- MatchersCreation
- Inherited from:
- EitherBeHaveMatchers (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]]
- Inherited from:
- FutureMatchers
implicit definition to create significant figures for the beCloseTo matcher
implicit definition to create significant figures for the beCloseTo matcher
- Inherited from:
- NumericMatchers
implicit definition to create significant figures for the beCloseTo matcher
implicit definition to create significant figures for the beCloseTo matcher
- Inherited from:
- NumericMatchers
implicit definition to create delta for the beCloseTo matcher
implicit definition to create delta for the beCloseTo matcher
- Inherited from:
- NumericMatchers
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- MatcherZipOperators
- Inherited from:
- SpecStructureDsl
- Inherited from:
- SpecStructureDsl
implicit definition to transform any MatchResult to a Result
implicit definition to transform any MatchResult to a Result
- Inherited from:
- MatchResultImplicits
- Inherited from:
- TraversableBaseMatchersLowImplicits (hidden)
describe a value with the aka method
describe a value with the aka method
- Inherited from:
- ExpectationsDescription
- Inherited from:
- S2StringContext
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
- 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
- Inherited from:
- ImplicitExecutionContextFromExecutionEnv
if an implicit execution environment is in scope, it can be used as an executor service
if an implicit execution environment is in scope, it can be used as an executor service
- Inherited from:
- ImplicitExecutorServiceFromExecutionEnv
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
- Inherited from:
- MatchResultImplicits
This method transforms a function to a Matcher
This method transforms a function to a Matcher
- Inherited from:
- MatchersCreation
This method transforms a function, with function descriptors to a Matcher
This method transforms a function, with function descriptors to a Matcher
- 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
- Inherited from:
- ValueChecksLowImplicits
This method transforms a function to a Matcher
This method transforms a function to a Matcher
- Inherited from:
- MatchersCreation
This method transforms a function to a Matcher
This method transforms a function to a Matcher
- Inherited from:
- MatchersCreation
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
- Inherited from:
- FutureMatchers
transform a value to a zero-arg function returning that value
transform a value to a zero-arg function returning that value
- 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
- Inherited from:
- MatchersCreation
- 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
- 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
- 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
- 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
- Inherited from:
- MatchResultImplicits
- Inherited from:
- S2StringContext
- Inherited from:
- S2StringContext
adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher
adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher
- 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
- 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
- Inherited from:
- NumberOfTimes
- Inherited from:
- AnyBeHaveMatchers
- Inherited from:
- MapBeHaveMatchers (hidden)
- Inherited from:
- MapBeHaveMatchers (hidden)
- Inherited from:
- MapBeHaveMatchers (hidden)
matcher aliases and implicits to use with be + matcher
matcher aliases and implicits to use with be + matcher
- Inherited from:
- NumericBeHaveMatchers (hidden)
- 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
- 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
- Inherited from:
- MatchersCreation