PlaySpecification

play.api.test.PlaySpecification

Play specs2 specification.

This trait excludes some of the mixins provided in the default specs2 specification that clash with Play helpers methods. It also mixes in the Play test helpers and types for convenience.

Attributes

Graph
Supertypes
trait FutureAwaits
trait Writeables
trait HttpProtocol
trait Status
trait HeaderNames
trait PlayRunners
trait HttpVerbs
trait SpecificationLike
trait SpecificationFeatures
trait ShouldThrownMatchers
trait ShouldThrownExpectations
trait ShouldThrownExpectables
trait ThrownExpectations
trait ThrownStandardMatchResults
trait ThrownStandardResults
trait MustThrownMatchers
trait MustThrownExpectations
trait MustThrownExpectables
trait MustThrownExpectationsCreation
trait ThrownExpectationsCreation
trait ThrownExpectables
trait SpecificationFeatures
trait ImplicitExecutionContexts
trait ImplicitExecutorServiceFromExecutionEnv
trait ImplicitExecutionContextFromExecutionEnv
trait Debug
trait PendingUntilFixed
trait StandardMatchResults
trait StandardResults
trait ShouldMatchers
trait ShouldExpectations
trait MustMatchers
trait MustExpectations
trait Matchers
trait MatchersImplicits
trait SequenceMatchersCreation
trait MatchersCreation
trait ResultImplicits
trait MatchResultImplicits
trait MatcherZipOperators
trait MatchResultCombinators
trait ResultLogicalCombinators
trait Results
trait MatchResultLogicalCombinators
trait Expectations
trait ExpectationsDescription
trait TypedEqual
trait FutureMatchers
trait EventuallyMatchers
trait EventuallyResults
trait TryMatchers
trait EitherMatchers
trait OptionMatchers
trait ValueChecks
trait ValueChecksBase
trait NumericMatchers
trait ExceptionMatchers
trait ExpectationsCreation
trait MatchResultStackTrace
trait StringMatchers
trait MapMatchers
trait TraversableMatchers
trait NumberOfTimes
trait ImplicitParameters
trait ValueChecksLowImplicits
trait LazyParameters
trait AnyMatchers
trait AnyBeHaveMatchers
trait SpecificationCreation
trait MutableDsl
trait TagDsl
trait ReferenceDsl
trait ArgumentsDsl
trait ArgumentsCreation
trait TitleDsl
trait ActionDsl
trait TextDsl
trait TextCreation
trait ExampleDsl
trait BlockDsl
trait FormattingFragments
trait SpecificationCreation
trait FormattingFragments
trait S2StringContext
trait S2StringContextCreation
trait ArgumentsShortcuts
trait ArgumentsArgs
trait ArgProperties
trait ArgumentsCreation
trait AcceptanceDsl
trait ReferenceDsl
trait ExampleDsl
trait TitleDsl
trait SpecStructureDsl
trait FragmentsDsl
trait ActionDsl
trait TagDsl
trait ReferenceCreation
trait MutableFragmentBuilder
trait MutableHeaderBuilder
trait MutableArgumentsBuilder
trait FragmentsFactory
trait FragmentBuilder
trait SpecificationStructure
trait ContextualSpecificationStructure
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

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

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

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

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
AnyBeHaveMatchers
Supertypes
class Object
trait Matchable
class Any
class BlockExample(d: String) extends BlockExample0

Attributes

Inherited from:
ExampleDsl1 (hidden)
Supertypes
class Object
trait Matchable
class Any
class BlockExample0(d: String)

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Exception matcher checking the type of a thrown exception.

Exception matcher checking the type of a thrown exception.

Attributes

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

This matchers matches exception instances.

This matchers matches exception instances.

Attributes

See also

throwA

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

Attributes

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

Attributes

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

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

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

Attributes

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

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

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

Attributes

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

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

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

Attributes

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

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

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

Attributes

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

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

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

Attributes

Inherited from:
StringBaseMatchers (hidden)
Supertypes
trait Matcher[String]
class Object
trait Matchable
class Any
Known subtypes
implicit class FragmentTaggedAs(f: => Fragment)

This implicit allows to add tags and sections after the examples

This implicit allows to add tags and sections after the examples

Attributes

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

This implicit allows to add tags and sections after the examples

This implicit allows to add tags and sections after the examples

Attributes

Inherited from:
TagDsl
Supertypes
class Object
trait Matchable
class Any
implicit class FutureMatchable[T](m: Matcher[T])(implicit ee: ExecutionEnv)

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 Object
trait Matchable
class Any
class HasSize[T](s: MatchResult[T])(implicit evidence$16: Sized[T])

Attributes

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

Attributes

Inherited from:
FragmentsDsl
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
MatchResultLogicalCombinators
Supertypes
class Object
trait Matchable
class Any
class MutableBangExample(d: String) extends BangExample

Attributes

Inherited from:
ExampleDsl
Supertypes
class BangExample
class Object
trait Matchable
class Any
class MutableTitleOps(s: String) extends TitleOps

Attributes

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

Attributes

Inherited from:
FragmentsDsl
Supertypes
class Object
trait Matchable
class Any
case class NegativeTimeout(t: Timeout)

How long we should wait for something that we expect not to happen, e.g. waiting to make sure that a channel is not closed by some concurrent process.

How long we should wait for something that we expect not to happen, e.g. waiting to make sure that a channel is not closed by some concurrent process.

NegativeTimeout is a separate type to a normal Timeout because we'll want to set it to a lower value. This is because in normal usage we'll need to wait for the full length of time to show that nothing has happened in that time. If the value is too high then we'll spend a lot of time waiting during normal usage. If it is too low, however, we may miss events that occur after the timeout has finished. This is a necessary trade-off.

Where possible, tests should avoid using a NegativeTimeout. Tests will often know exactly when an event should occur. In this case they can perform a check for the event immediately rather than using using NegativeTimeout.

Attributes

Inherited from:
DefaultAwaitTimeout
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class NeutralMatcherNumeric(result: NeutralMatcher[Any])

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

implicit definition to create significant figures for the beCloseTo matcher

implicit definition to create significant figures for the beCloseTo matcher

Attributes

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

implicit definition to create significant figures for the beCloseTo matcher

implicit definition to create significant figures for the beCloseTo matcher

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
TypedEqual
Supertypes
class Object
trait Matchable
class Any
class WarningForgottenOperator(s: String)

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
FragmentsDsl
Supertypes
class Object
trait Matchable
class Any
implicit class describe(d: String)

Attributes

Inherited from:
BlockDsl
Supertypes
class Object
trait Matchable
class Any
implicit class fragmentFormatting(f: => Fragment)

Attributes

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

Attributes

Inherited from:
TextDsl
Supertypes
class Object
trait Matchable
class Any
implicit class futureAsResult[T](f: => Future[T])(implicit ee: ExecutionEnv, asResult: AsResult[T])

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 Object
trait Matchable
class Any
implicit class linkFragment(alias: String)

Attributes

Inherited from:
ReferenceDsl
Supertypes
class Object
trait Matchable
class Any
Known subtypes
implicit class mutableLinkFragment(alias: String) extends linkFragment

Attributes

Inherited from:
ReferenceDsl
Supertypes
class linkFragment
class Object
trait Matchable
class Any
implicit class mutableSeeFragment(alias: String) extends seeFragment

Attributes

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

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

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

Attributes

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

Attributes

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

Attributes

Inherited from:
S2StringContextCreation
Supertypes
class Object
trait Matchable
class Any
implicit class textFragment(s: String)

Attributes

Inherited from:
TextDsl
Supertypes
class Object
trait Matchable
class Any

Value members

Inherited methods

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

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

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

Attributes

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

matches if a != b

matches if a != b

Attributes

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

alias for beLessThan

alias for beLessThan

Attributes

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

alias for beLessThanOrEqualTo

alias for beLessThanOrEqualTo

Attributes

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

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

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

Attributes

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

matches if a == b

matches if a == b

Attributes

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

matches if a == b after an implicit conversion

matches if a == b after an implicit conversion

Attributes

Inherited from:
AnyBaseMatchers (hidden)
def =~(r: Regex): BeMatchingRegex

alias for beMatching but matching just a fragment of the string

alias for beMatching but matching just a fragment of the string

Attributes

Inherited from:
StringBaseMatchers (hidden)
def =~(p: Pattern): BeMatchingPattern

alias for beMatching but matching just a fragment of the string

alias for beMatching but matching just a fragment of the string

Attributes

Inherited from:
StringBaseMatchers (hidden)
def =~(t: => String): BeMatching

alias for beMatching but matching just a fragment of the string

alias for beMatching but matching just a fragment of the string

Attributes

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

alias for beGreaterThan

alias for beGreaterThan

Attributes

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

alias for beGreaterThanOrEqualTo

alias for beGreaterThanOrEqualTo

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Definition Classes
ActionDsl -> ActionDsl
Inherited from:
ActionDsl
def addBacktab(n: Int): Fragment

Attributes

Inherited from:
TextCreation
def addBacktab: Fragment

Attributes

Inherited from:
TextCreation
def addBreak(n: Int): Fragment

Attributes

Inherited from:
TextCreation
def addBreak: Fragment

Attributes

Inherited from:
TextCreation
def addFragment(fragment: Fragment): Fragment

Attributes

Inherited from:
MutableFragmentBuilder
def addFragmentBlock(f: => Fragment): Fragment

Attributes

Inherited from:
MutableFragmentBuilder
def addFragmentBlockWithText(text: String, f: => Fragment): Fragment

Attributes

Inherited from:
BlockDsl
def addFragments(fragments: Fragments): Fragments

Attributes

Inherited from:
MutableFragmentBuilder
def addFragmentsBlock(fs: => Fragments): Fragments

Attributes

Inherited from:
MutableFragmentBuilder
def addFragmentsBlockWithText(text: String, fs: => Fragments)(implicit p1: ImplicitParam1): Fragments

Attributes

Inherited from:
BlockDsl
def addParagraph(s: String, n: Int): Fragment

Attributes

Inherited from:
TextCreation
def addSections(): Unit

Attributes

Inherited from:
MutableFragmentBuilder
def addTab(n: Int): Fragment

Attributes

Inherited from:
TextCreation
def addTab: Fragment

Attributes

Inherited from:
TextCreation
def addText(s: String): Fragment

Attributes

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

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
override def anError: Error

Attributes

Definition Classes
ThrownStandardResults -> StandardResults
Inherited from:
ThrownStandardResults
def anInstanceOf[T : ClassTag]: Matcher[AnyRef]

Attributes

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

Attributes

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

shorthand method to create an Arguments object

shorthand method to create an Arguments object

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

apply a matcher atLeast one value

apply a matcher atLeast one value

Attributes

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

verify the function f for at least one value

verify the function f for at least one value

Attributes

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

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

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

Attributes

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

Attributes

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

apply a matcher atLeast one value

apply a matcher atLeast one value

Attributes

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

verify the function f for at least one value

verify the function f for at least one value

Attributes

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

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

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

Attributes

Inherited from:
SequenceMatchersCreation
def await[T](future: Future[T], timeout: Long, unit: TimeUnit): T

Block until a Promise is redeemed with the specified timeout.

Block until a Promise is redeemed with the specified timeout.

Attributes

Inherited from:
FutureAwaits
def await[T](future: Future[T])(implicit timeout: Timeout): T

Block until a Promise is redeemed.

Block until a Promise is redeemed.

Attributes

Inherited from:
FutureAwaits
def await[T](m: Matcher[T])(retries: Int, timeout: FiniteDuration)(implicit ee: ExecutionEnv): Matcher[Future[T]]

Attributes

Inherited from:
FutureBaseMatchers (hidden)
def await[T](m: Matcher[T])(implicit ee: ExecutionEnv): Matcher[Future[T]]

Attributes

Inherited from:
FutureBaseMatchers (hidden)
def awaitFor[T](m: Matcher[T])(timeout: FiniteDuration)(implicit ee: ExecutionEnv): Matcher[Future[T]]

Attributes

Inherited from:
FutureBaseMatchers (hidden)
def batchSize(n: Int): Arguments

Attributes

Returns

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

Inherited from:
ArgumentsShortcuts
def be: NeutralMatcher[Any]

Attributes

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

alias for beTheSameAs

alias for beTheSameAs

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

alias for beOneOf

alias for beOneOf

Attributes

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

Attributes

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

matches if a is null when v is null and a is not null when v is not null

matches if a is null when v is null and a is not null when v is not null

Attributes

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

matches if v.isAssignableFrom(c)

matches if v.isAssignableFrom(c)

Attributes

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

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

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

Attributes

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

Attributes

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

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

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

Attributes

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

matches if actual = n +/- delta

matches if actual = n +/- delta

Attributes

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

matches if actual = n +/- delta

matches if actual = n +/- delta

Attributes

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

matches if the partial function is defined at those values

matches if the partial function is defined at those values

Attributes

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

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

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

Attributes

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

matches if a.isEmpty

matches if a.isEmpty

Attributes

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

matches if a == b

matches if a == b

Attributes

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

Attributes

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

Attributes

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

matches if a == false

matches if a == false

Attributes

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

matches if x > n

matches if x > n

Attributes

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

matches if x >= n

matches if x >= n

Attributes

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

Attributes

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

Attributes

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

matches if x < n

matches if x < n

Attributes

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

matches if x <= n

matches if x <= n

Attributes

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

matches if the value returns a successful result when applied to a PartialFunction

matches if the value returns a successful result when applied to a PartialFunction

Attributes

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

Attributes

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

matches if b matches the regex a

matches if b matches the regex a

Attributes

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

matches if b matches the pattern a

matches if b matches the pattern a

Attributes

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

matches if b matches the regular expression a

matches if b matches the regular expression a

Attributes

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

Attributes

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

matches if the value is null

matches if the value is null

Attributes

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

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

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Returns

a matcher checking if the elements are ordered

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

Attributes

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

Attributes

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

matches if a eq b

matches if a eq b

Attributes

Inherited from:
AnyBaseMatchers (hidden)
def beTrue: BeTrueMatcher

matches if a == true

matches if a == true

Attributes

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

matches if a == b

matches if a == b

Attributes

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

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

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

Attributes

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

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

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

Attributes

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

matches if a != b

matches if a != b

Attributes

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

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

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

Attributes

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

matches if a != b

matches if a != b

Attributes

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

alias for beLessThan

alias for beLessThan

Attributes

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

alias for beLessThanOrEqualTo

alias for beLessThanOrEqualTo

Attributes

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

matches if a == b

matches if a == b

Attributes

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

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

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

Attributes

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

matches if a == b

matches if a == b

Attributes

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

matches if a == b after an implicit conversion

matches if a == b after an implicit conversion

Attributes

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

alias for beGreaterThan

alias for beGreaterThan

Attributes

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

alias for beGreaterThanOrEqualTo

alias for beGreaterThanOrEqualTo

Attributes

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

Attributes

Inherited from:
NumericBaseMatchers (hidden)
override def blockExample0(d: String): BlockExample0

Attributes

Definition Classes
ExampleDsl1 -> ExampleDsl0
Inherited from:
ExampleDsl1 (hidden)
def booleanToSimpleResult(b: Boolean): Result

Attributes

Inherited from:
Results
override def br: Fragment

Attributes

Definition Classes
FormattingFragments -> FormattingFragments
Inherited from:
FormattingFragments
override def bt(n: Int): Fragment

Attributes

Definition Classes
FormattingFragments -> FormattingFragments
Inherited from:
FormattingFragments
override def bt: Fragment

Attributes

Definition Classes
FormattingFragments -> FormattingFragments
Inherited from:
FormattingFragments
def call[T](action: EssentialAction, rh: RequestHeader, body: T)(implicit w: Writeable[T], mat: Materializer): Future[Result]

Execute an play.api.mvc.EssentialAction.

The body is serialised using the implicit writable, so that the action body parser can deserialize it.

Attributes

Inherited from:
EssentialActionCaller
def call[T](action: EssentialAction, req: Request[T])(implicit w: Writeable[T], mat: Materializer): Future[Result]

Execute an play.api.mvc.EssentialAction.

The body is serialised using the implicit writable, so that the action body parser can deserialize it.

Attributes

Inherited from:
EssentialActionCaller
def charset(of: Accumulator[ByteString, Result])(implicit timeout: Timeout, mat: Materializer): Option[String]

Extracts the Charset of this Result value.

Extracts the Charset of this Result value.

Attributes

Inherited from:
ResultExtractors
def charset(of: Future[Result])(implicit timeout: Timeout): Option[String]

Extracts the Charset of this Result value.

Extracts the Charset of this Result value.

Attributes

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

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

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

Attributes

Inherited from:
ExpectationsCreation
override protected def checkMatchResultFailure[T](m: MatchResult[T]): MatchResult[T]

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

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

Attributes

Definition Classes
ThrownExpectables -> ExpectationsCreation
Inherited from:
ThrownExpectables
override protected def checkResultFailure(result: => Result): Result

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

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

Attributes

Definition Classes
ThrownExpectables -> ExpectationsCreation
Inherited from:
ThrownExpectables
def closeTo[S : Numeric](target: SignificantTarget[S]): Matcher[S]

Attributes

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

Attributes

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

Attributes

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

Attributes

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

shortcut to set new Colors

shortcut to set new Colors

Attributes

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

Attributes

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

matches if (b contains a)

matches if (b contains a)

Attributes

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

matches if (b contains a)

matches if (b contains a)

Attributes

Inherited from:
StringBaseMatchers (hidden)
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T], t20: ValueCheck[T], t21: ValueCheck[T], t22: ValueCheck[T]): ContainWithResultSeq[T]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T], t20: ValueCheck[T], t21: ValueCheck[T]): ContainWithResultSeq[T]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T], t20: ValueCheck[T]): ContainWithResultSeq[T]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T]): ContainWithResultSeq[T]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T]): ContainWithResultSeq[T]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T]): ContainWithResultSeq[T]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T]): ContainWithResultSeq[T]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T]): ContainWithResultSeq[T]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T]): ContainWithResultSeq[T]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T]): ContainWithResultSeq[T]

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T]): ContainWithResultSeq[T]

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Additional contain methods using to avoid automatic tuple conversions

Additional contain methods using to avoid automatic tuple conversions

Attributes

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

COLLECTION MATCHERS

COLLECTION MATCHERS

Attributes

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

ELEMENTS MATCHERS

ELEMENTS MATCHERS

Attributes

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

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

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

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
def containAnyOf[T](seq: Seq[T]): ContainWithResult[T]

match if a traversable contains one of (t1, t2)

match if a traversable contains one of (t1, t2)

Attributes

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

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

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

Attributes

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

match if traversable contains (x matches p)

match if traversable contains (x matches p)

Attributes

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

does a containAll comparison in both ways

does a containAll comparison in both ways

Attributes

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

Attributes

Inherited from:
StringBeHaveMatchers (hidden)
def contentAsBytes(of: Accumulator[ByteString, Result])(implicit timeout: Timeout, mat: Materializer): ByteString

Extracts the content as bytes.

Extracts the content as bytes.

Attributes

Inherited from:
ResultExtractors
def contentAsBytes(of: Future[Result])(implicit timeout: Timeout, mat: Materializer): ByteString

Extracts the content as bytes.

Extracts the content as bytes.

Attributes

Inherited from:
ResultExtractors
def contentAsBytes(of: Content)(implicit timeout: Timeout): Array[Byte]

Extracts the content as bytes.

Extracts the content as bytes.

Attributes

Inherited from:
ResultExtractors
def contentAsJson(of: Accumulator[ByteString, Result])(implicit timeout: Timeout, mat: Materializer): JsValue

Extracts the content as Json.

Extracts the content as Json.

Attributes

Inherited from:
ResultExtractors
def contentAsJson(of: Future[Result])(implicit timeout: Timeout, mat: Materializer): JsValue

Extracts the content as Json.

Extracts the content as Json.

Attributes

Inherited from:
ResultExtractors
def contentAsJson(of: Content)(implicit timeout: Timeout): JsValue

Extracts the content as Json.

Extracts the content as Json.

Attributes

Inherited from:
ResultExtractors
def contentAsString(of: Accumulator[ByteString, Result])(implicit timeout: Timeout, mat: Materializer): String

Extracts the content as String.

Extracts the content as String.

Attributes

Inherited from:
ResultExtractors
def contentAsString(of: Future[Result])(implicit timeout: Timeout, mat: Materializer): String

Extracts the content as String.

Extracts the content as String.

Attributes

Inherited from:
ResultExtractors
def contentAsString(of: Content)(implicit timeout: Timeout): String

Extracts the content as String.

Extracts the content as String.

Attributes

Inherited from:
ResultExtractors
def contentType(of: Accumulator[ByteString, Result])(implicit timeout: Timeout, mat: Materializer): Option[String]

Extracts the Content-Type of this Result value.

Extracts the Content-Type of this Result value.

Attributes

Inherited from:
ResultExtractors
def contentType(of: Future[Result])(implicit timeout: Timeout): Option[String]

Extracts the Content-Type of this Result value.

Extracts the Content-Type of this Result value.

Attributes

Inherited from:
ResultExtractors
def contentType(of: Content)(implicit timeout: Timeout): String

Extracts the Content-Type of this Content value.

Extracts the Content-Type of this Content value.

Attributes

Inherited from:
ResultExtractors
def cookies(of: Accumulator[ByteString, Result])(implicit timeout: Timeout, mat: Materializer): Cookies

Extracts the Cookies set by this Result value.

Extracts the Cookies set by this Result value.

Attributes

Inherited from:
ResultExtractors
def cookies(of: Future[Result])(implicit timeout: Timeout): Cookies

Gets the Cookies associated with this Result value. Note that this only extracts the "new" cookies added to this result (e.g. through withCookies), not including the Session or Flash. The final set of cookies may be different because the Play server automatically adds those cookies and merges the headers.

Gets the Cookies associated with this Result value. Note that this only extracts the "new" cookies added to this result (e.g. through withCookies), not including the Session or Flash. The final set of cookies may be different because the Play server automatically adds those cookies and merges the headers.

Attributes

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

Attributes

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

Attributes

Returns

an Expectable with a description function

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

Attributes

Returns

an Expectable with a description function

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

Attributes

Returns

an Expectable with a description

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

Attributes

Returns

an Expectable

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

Attributes

Returns

an Expectable with a function to show the element T

Definition Classes
ThrownExpectables -> ExpectationsCreation
Inherited from:
ThrownExpectables
override protected def createMustExpectable[T](t: => T): MustExpectable[T]

Attributes

Definition Classes
MustThrownExpectationsCreation -> MustExpectationsCreation
Inherited from:
MustThrownExpectationsCreation
override protected def createShouldExpectable[T](t: => T): ShouldExpectable[T]

Attributes

Definition Classes
ShouldThrownExpectables -> ShouldExpectations
Inherited from:
ShouldThrownExpectables
def decorate(is: SpecStructure, env: Env): SpecStructure

Attributes

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

Attributes

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

Attributes

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

shortcut to display the differences with some specific parameters

shortcut to display the differences with some specific parameters

Attributes

Inherited from:
ArgumentsShortcuts
def done: Success

Attributes

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

Attributes

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

Attributes

Inherited from:
AnyBeHaveMatchers
override def end: Fragment

Attributes

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

matches if b.endsWith(a)

matches if b.endsWith(a)

Attributes

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

Attributes

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

matches if a == b

matches if a == b

Attributes

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

Attributes

Returns

a matcher that will retry the nested matcher 40 times

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

Attributes

Returns

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

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

Value parameters

sleep

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

Attributes

Returns

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

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

Attributes

Returns

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

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

Attributes

Returns

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

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

Value parameters

sleep

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

Attributes

Returns

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

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

Attributes

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

shortcut to exclude some tagged fragments

shortcut to exclude some tagged fragments

Attributes

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

shortcut to add exclude trace patterns

shortcut to add exclude trace patterns

Attributes

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

shortcut to create a stackTrace filter to exclude only some elements

shortcut to create a stackTrace filter to exclude only some elements

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
TryBaseMatchers (hidden)
override def failure(m: String): Failure

Attributes

Definition Classes
ThrownStandardResults -> StandardResults
Inherited from:
ThrownStandardResults
override def failure: Failure

Attributes

Definition Classes
ThrownStandardResults -> StandardResults
Inherited from:
ThrownStandardResults
protected def failure(f: Failure): Failure

Attributes

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

matches if the regexp r is found inside b

matches if the regexp r is found inside b

Attributes

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

matches if the pattern p is found inside b

matches if the pattern p is found inside b

Attributes

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

matches if the regexp a is found inside b

matches if the regexp a is found inside b

Attributes

Inherited from:
StringBaseMatchers (hidden)
def flash(of: Accumulator[ByteString, Result])(implicit timeout: Timeout, mat: Materializer): Flash

Extracts the Flash values set by this Result value.

Extracts the Flash values set by this Result value.

Attributes

Inherited from:
ResultExtractors
def flash(of: Future[Result])(implicit timeout: Timeout): Flash

Extracts the Flash values set by this Result value.

Extracts the Flash values set by this Result value.

Attributes

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

apply a matcher for all values

apply a matcher for all values

Attributes

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

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

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

Attributes

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

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

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

Attributes

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

apply a matcher foreach value

apply a matcher foreach value

Attributes

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

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

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

Attributes

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

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

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

Attributes

Inherited from:
SequenceMatchersCreation
protected def fragmentFactory: FragmentFactory

Attributes

Inherited from:
FragmentsFactory
def fragments: Env => Fragments

Attributes

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

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

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

Attributes

Inherited from:
FragmentsDsl
def fullStackTrace: Arguments

shortcut to filter nothing

shortcut to filter nothing

Attributes

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

Attributes

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

Attributes

Inherited from:
NumericBaseMatchers (hidden)
def hasSectionsForBlocks: Boolean

Attributes

Inherited from:
MutableFragmentBuilder
def have: NeutralMatcher[Any]

Attributes

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

matches if v.getClass == c

matches if v.getClass == c

Attributes

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

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

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

Attributes

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

matches if map.contains(k)

matches if map.contains(k)

Attributes

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

matches if map.contains(k) forall key k

matches if map.contains(k) forall key k

Attributes

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

alias for haveSize

alias for haveSize

Attributes

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

alias for haveSize

alias for haveSize

Attributes

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

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

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

Attributes

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

matches if map contains all the specified pairs

matches if map contains all the specified pairs

Attributes

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

match if there is a way to size T

match if there is a way to size T

Attributes

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

match if there is a way to size T

match if there is a way to size T

Attributes

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

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

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

Attributes

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

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

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

Attributes

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

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

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

Attributes

Inherited from:
MapBaseMatchers (hidden)
def header(header: String, of: Accumulator[ByteString, Result])(implicit timeout: Timeout, mat: Materializer): Option[String]

Extracts an Header value of this Result value.

Extracts an Header value of this Result value.

Attributes

Inherited from:
ResultExtractors
def header(header: String, of: Future[Result])(implicit timeout: Timeout): Option[String]

Extracts an Header value of this Result value.

Extracts an Header value of this Result value.

Attributes

Inherited from:
ResultExtractors
def headers(of: Accumulator[ByteString, Result])(implicit timeout: Timeout, mat: Materializer): Map[String, String]

Extracts all Headers of this Result value.

Extracts all Headers of this Result value.

Attributes

Inherited from:
ResultExtractors
def headers(of: Future[Result])(implicit timeout: Timeout): Map[String, String]

Extracts all Headers of this Result value.

Extracts all Headers of this Result value.

Attributes

Inherited from:
ResultExtractors
def inMemoryDatabase(name: String, options: Map[String, String]): Map[String, String]

Constructs a in-memory (h2) database configuration to add to an Application.

Constructs a in-memory (h2) database configuration to add to an Application.

Attributes

Inherited from:
PlayRunners
def include(tags: String): Arguments

shortcut to include only some tagged fragments

shortcut to include only some tagged fragments

Attributes

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

shortcut to add include trace patterns

shortcut to add include trace patterns

Attributes

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

shortcut to create a stackTrace filter to include only some elements

shortcut to create a stackTrace filter to include only some elements

Attributes

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

Attributes

Inherited from:
AnyBeHaveMatchers
def is: SpecStructure

Attributes

Inherited from:
MutableFragmentBuilder
def isolated: Arguments

Attributes

Returns

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

Inherited from:
ArgumentsShortcuts
def jRoute(app: Application, r: RequestHeader, body: RequestBody): Option[Future[Result]]

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

alias for haveSize

alias for haveSize

Attributes

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

alias for haveSize

alias for haveSize

Attributes

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

Attributes

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

matches if x <= n

matches if x <= n

Attributes

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

Attributes

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

Attributes

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

modify the fragments, using the current environment

modify the fragments, using the current environment

Attributes

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

modify the fragments

modify the fragments

Attributes

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

modify the specification structure

modify the specification structure

Attributes

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

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

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
Results
def nocolor: Arguments

shortcut to avoid colored output

shortcut to avoid colored output

Attributes

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

Attributes

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

Attributes

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

negate a matcher

negate a matcher

Attributes

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

Attributes

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

Attributes

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

shortcut to execute and print only some examples

shortcut to execute and print only some examples

Attributes

Inherited from:
ArgumentsShortcuts
override def p: Fragments

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
StandardResults
override def pending: Pending

Attributes

Definition Classes
ThrownStandardResults -> StandardResults
Inherited from:
ThrownStandardResults
override def pending(m: String): Pending

Attributes

Definition Classes
ThrownStandardResults -> StandardResults
Inherited from:
ThrownStandardResults
protected def pending(p: Pending): Pending

Attributes

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

Attributes

Returns

Pending unless the result is a success

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

Attributes

Returns

Pending unless the result is a success

Inherited from:
PendingUntilFixed
def plan: Arguments

shortcut to show only the text without any execution

shortcut to show only the text without any execution

Attributes

Inherited from:
ArgumentsShortcuts
def redirectLocation(of: Accumulator[ByteString, Result])(implicit timeout: Timeout, mat: Materializer): Option[String]

Extracts the Location header of this Result value if this Result is a Redirect.

Extracts the Location header of this Result value if this Result is a Redirect.

Attributes

Inherited from:
ResultExtractors
def redirectLocation(of: Future[Result])(implicit timeout: Timeout): Option[String]

Extracts the Location header of this Result value if this Result is a Redirect.

Extracts the Location header of this Result value if this Result is a Redirect.

Attributes

Inherited from:
ResultExtractors
def retry[T](m: Matcher[T])(retries: Int)(implicit ee: ExecutionEnv): Matcher[Future[T]]

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
EitherBaseMatchers (hidden)
def route[T](app: Application, req: Request[T])(implicit w: Writeable[T]): Option[Future[Result]]

Use the HttpRequestHandler to determine the Action to call for this request and execute it.

Use the HttpRequestHandler to determine the Action to call for this request and execute it.

The body is serialised using the implicit writable, so that the action body parser can deserialize it.

Attributes

Inherited from:
RouteInvokers
def route[T](app: Application, rh: RequestHeader, body: T)(implicit w: Writeable[T]): Option[Future[Result]]

Use the HttpRequestHandler to determine the Action to call for this request and execute it.

Use the HttpRequestHandler to determine the Action to call for this request and execute it.

The body is serialised using the implicit writable, so that the action body parser can deserialize it.

Attributes

Inherited from:
RouteInvokers
def route[T](router: Router, req: Request[T])(implicit w: Writeable[T], mat: Materializer): Option[Future[Result]]

Use the Router to determine the Action to call for this request and execute it.

Use the Router to determine the Action to call for this request and execute it.

The body is serialised using the implicit writable, so that the action body parser can deserialize it.

Attributes

Inherited from:
RouteInvokers
def route[T](router: Router, rh: RequestHeader, body: T)(implicit w: Writeable[T], mat: Materializer): Option[Future[Result]]

Use the Router to determine the Action to call for this request and execute it.

Use the Router to determine the Action to call for this request and execute it.

The body is serialised using the implicit writable, so that the action body parser can deserialize it.

Attributes

Inherited from:
RouteInvokers
def running[T](testServer: TestServer, webDriver: WebDriver)(block: TestBrowser => T): T

Executes a block of code in a running server, with a test browser.

Executes a block of code in a running server, with a test browser.

Attributes

Inherited from:
PlayRunners
def running[T, WEBDRIVER <: WebDriver](testServer: TestServer, webDriver: Class[WEBDRIVER])(block: TestBrowser => T): T

Executes a block of code in a running server, with a test browser.

Executes a block of code in a running server, with a test browser.

Attributes

Inherited from:
PlayRunners
def running[T](testServer: TestServer)(block: => T): T

Executes a block of code in a running server.

Executes a block of code in a running server.

Attributes

Inherited from:
PlayRunners

Attributes

Inherited from:
PlayRunners
def running[T](app: Application)(block: => T): T

Executes a block of code in a running application.

Executes a block of code in a running application.

Attributes

Inherited from:
PlayRunners
def running[T]()(block: Application => T): T

Attributes

Inherited from:
PlayRunners
def runningWithPort[T](testServer: TestServer, webDriver: WebDriver)(block: (TestBrowser, Int) => T): T

Executes a block of code in a running server, with a test browser and a port. If available the http port will be used first, before falling back to the https port.

Executes a block of code in a running server, with a test browser and a port. If available the http port will be used first, before falling back to the https port.

Attributes

Inherited from:
PlayRunners
def runningWithPort[T, WEBDRIVER <: WebDriver](testServer: TestServer, webDriver: Class[WEBDRIVER])(block: (TestBrowser, Int) => T): T

Executes a block of code in a running server, with a test browser and a port.

Executes a block of code in a running server, with a test browser and a port.

Attributes

Inherited from:
PlayRunners
def runningWithPort[T](testServer: TestServer)(block: Int => T): T

Executes a block of code in a running server, with a port. If available the http port will be used first, before falling back to the https port.

Executes a block of code in a running server, with a port. If available the http port will be used first, before falling back to the https port.

Attributes

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

add fragments created with the s2 interpolated string

add fragments created with the s2 interpolated string

Attributes

Definition Classes
SpecificationCreation -> S2StringContextCreation
Inherited from:
SpecificationCreation
override def sandboxMatchResult[T](mr: => MatchResult[T]): MatchResult[T]

Attributes

Returns

the value without any side-effects for expectations

Definition Classes
ThrownStandardMatchResults -> ExpectationsCreation
Inherited from:
ThrownStandardMatchResults
override def section(tag: NamedTag): Fragment

Attributes

Definition Classes
TagDsl -> TagDsl
Inherited from:
TagDsl
override def section(names: String*): Fragment

Attributes

Definition Classes
TagDsl -> TagDsl
Inherited from:
TagDsl
override def see(s: => SpecificationStructure): Fragment

Attributes

Definition Classes
ReferenceDsl -> ReferenceCreation
Inherited from:
ReferenceDsl
override def see(s: SpecStructure): Fragment

Attributes

Definition Classes
ReferenceDsl -> ReferenceCreation
Inherited from:
ReferenceDsl
def sequential: Arguments

Attributes

Returns

arguments for a specification where examples must be executed sequentially

Inherited from:
ArgumentsShortcuts
def session(of: Accumulator[ByteString, Result])(implicit timeout: Timeout, mat: Materializer): Session

Extracts the Session set by this Result value.

Extracts the Session set by this Result value.

Attributes

Inherited from:
ResultExtractors
def session(of: Future[Result])(implicit timeout: Timeout): Session

Extracts the Session values set by this Result value.

Extracts the Session values set by this Result value.

Attributes

Inherited from:
ResultExtractors
def setArguments(a: Arguments): Arguments

Attributes

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

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

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

Attributes

Inherited from:
MatchResultStackTrace
def setTitle(t: String): SpecHeader

Attributes

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

shortcut to print only some statuses

shortcut to print only some statuses

Attributes

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

alias for haveSize

alias for haveSize

Attributes

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

alias for haveSize

alias for haveSize

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
def skipAll: Arguments

shortcut to skip all examples

shortcut to skip all examples

Attributes

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

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

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

Attributes

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

shortcut to skip all examples when a condition is false.

shortcut to skip all examples when a condition is false.

Attributes

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

Attributes

Inherited from:
StandardResults
override def skipped: Skipped

Attributes

Definition Classes
ThrownStandardResults -> StandardResults
Inherited from:
ThrownStandardResults
override def skipped(m: String): Skipped

Attributes

Definition Classes
ThrownStandardResults -> StandardResults
Inherited from:
ThrownStandardResults
protected def skipped(s: Skipped): Skipped

Attributes

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

Attributes

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

Attributes

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

alias for beSorted

alias for beSorted

Attributes

Inherited from:
TraversableBaseMatchers (hidden)
def specificationFragments: Fragments

Attributes

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

matches if b.startsWith(a)

matches if b.startsWith(a)

Attributes

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

Attributes

Inherited from:
StringBeHaveMatchers (hidden)
def status(of: Accumulator[ByteString, Result])(implicit timeout: Timeout, mat: Materializer): Int

Extracts the Status code of this Result value.

Extracts the Status code of this Result value.

Attributes

Inherited from:
ResultExtractors
def status(of: Future[Result])(implicit timeout: Timeout): Int

Extracts the Status code of this Result value.

Extracts the Status code of this Result value.

Attributes

Inherited from:
ResultExtractors
override def step(a: => Any, global: Boolean): Fragment

Attributes

Definition Classes
ActionDsl -> ActionDsl
Inherited from:
ActionDsl
override def step(a: => Any): Fragment

Attributes

Definition Classes
ActionDsl -> ActionDsl
Inherited from:
ActionDsl
def stopOnFail: Arguments

shortcut to stop after the first failure or error

shortcut to stop after the first failure or error

Attributes

Inherited from:
ArgumentsShortcuts
def stopOnSkip: Arguments

shortcut to stop after the first skipped result

shortcut to stop after the first skipped result

Attributes

Inherited from:
ArgumentsShortcuts
def stopWhen(f: Result => Boolean): Fragment

Attributes

Inherited from:
ActionDsl
def stopWhen(r: Result): Fragment

Attributes

Inherited from:
ActionDsl
def stopWhenFail(when: => Boolean): Fragment

Attributes

Inherited from:
ActionDsl
def stopWhenFail: Fragment

Attributes

Inherited from:
ActionDsl
def stopWhenSkipped(when: => Boolean): Fragment

Attributes

Inherited from:
ActionDsl
def stopWhenSkipped: Fragment

Attributes

Inherited from:
ActionDsl
def structure: Env => SpecStructure

Attributes

Inherited from:
SpecificationStructure
protected def success(m: String): Success

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Definition Classes
FormattingFragments -> FormattingFragments
Inherited from:
FormattingFragments
override def t: Fragment

Attributes

Definition Classes
FormattingFragments -> FormattingFragments
Inherited from:
FormattingFragments
override def tag(tag: NamedTag): Fragment

Attributes

Definition Classes
TagDsl -> TagDsl
Inherited from:
TagDsl
override def tag(names: String*): Fragment

Attributes

Definition Classes
TagDsl -> TagDsl
Inherited from:
TagDsl
def testServerAddress: String

Attributes

Inherited from:
PlayRunners
def testServerHttpsPort: Option[Int]

Attributes

Inherited from:
PlayRunners
def testServerPort: Int

The port to use for a test server. Defaults to a random port. May be configured using the system property testserver.port

The port to use for a test server. Defaults to a random port. May be configured using the system property testserver.port

Attributes

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

Attributes

Returns

a matcher checking the value of an Exception

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

Attributes

Returns

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

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

Attributes

Returns

a matcher checking the type of an Exception

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

alias for throwA

alias for throwA

Attributes

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

alias for throwA

alias for throwA

Attributes

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

alias for throwA

alias for throwA

Attributes

Inherited from:
ExceptionBaseMatchers (hidden)
override def todo: Pending

Attributes

Definition Classes
ThrownStandardResults -> StandardResults
Inherited from:
ThrownStandardResults
def typedEqualTo[T](t: => T): EqualityMatcher[T]

matches if a == b

matches if a == b

Attributes

Inherited from:
AnyBaseMatchers (hidden)
def unbatched: Arguments

Attributes

Returns

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

Inherited from:
ArgumentsShortcuts
def updateArguments(a: Arguments): Arguments

Attributes

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

Attributes

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

an expected value can be used to check another value

an expected value can be used to check another value

Attributes

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

Attributes

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

shortcut to include only examples with some previous statuses

shortcut to include only examples with some previous statuses

Attributes

Inherited from:
ArgumentsShortcuts
def wontdo: Success

Attributes

Inherited from:
StandardResults
def writeableOf_AnyContentAsJson(codec: Codec, contentType: Option[String]): Writeable[AnyContentAsJson]

Attributes

Inherited from:
Writeables

If you pass a boundary, it will be used to separate the data/file parts of the multipart/form-data body. If you don't pass a boundary a random one will be generated.

If you pass a boundary, it will be used to separate the data/file parts of the multipart/form-data body. If you don't pass a boundary a random one will be generated.

Attributes

Inherited from:
Writeables
def xonly: Arguments

shortcut to print only failures and errors

shortcut to print only failures and errors

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

alias for beCloseTo

alias for beCloseTo

Attributes

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

alias for beCloseTo

alias for beCloseTo

Attributes

Inherited from:
NumericBaseMatchers (hidden)

Inherited fields

val ACCEPT: String

Attributes

Inherited from:
HeaderNames
val ACCEPTED: Int

Attributes

Inherited from:
Status
val ACCEPT_CHARSET: String

Attributes

Inherited from:
HeaderNames
val ACCEPT_ENCODING: String

Attributes

Inherited from:
HeaderNames
val ACCEPT_LANGUAGE: String

Attributes

Inherited from:
HeaderNames
val ACCEPT_RANGES: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames
val AGE: String

Attributes

Inherited from:
HeaderNames
val ALLOW: String

Attributes

Inherited from:
HeaderNames
val AUTHORIZATION: String

Attributes

Inherited from:
HeaderNames
val BAD_GATEWAY: Int

Attributes

Inherited from:
Status
val BAD_REQUEST: Int

Attributes

Inherited from:
Status
val CACHE_CONTROL: String

Attributes

Inherited from:
HeaderNames
val CHUNKED: String

Attributes

Inherited from:
HttpProtocol
val CONFLICT: Int

Attributes

Inherited from:
Status
val CONNECTION: String

Attributes

Inherited from:
HeaderNames
val CONTENT_DISPOSITION: String

Attributes

Inherited from:
HeaderNames
val CONTENT_ENCODING: String

Attributes

Inherited from:
HeaderNames
val CONTENT_LANGUAGE: String

Attributes

Inherited from:
HeaderNames
val CONTENT_LENGTH: String

Attributes

Inherited from:
HeaderNames
val CONTENT_LOCATION: String

Attributes

Inherited from:
HeaderNames
val CONTENT_MD5: String

Attributes

Inherited from:
HeaderNames
val CONTENT_RANGE: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames
val CONTENT_TYPE: String

Attributes

Inherited from:
HeaderNames
val CONTINUE: Int

Attributes

Inherited from:
Status
val CREATED: Int

Attributes

Inherited from:
Status
val DATE: String

Attributes

Inherited from:
HeaderNames
val DELETE: String

Attributes

Inherited from:
HttpVerbs
val ETAG: String

Attributes

Inherited from:
HeaderNames
val EXPECT: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status
val EXPIRES: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status
val FIREFOX: Class[FirefoxDriver]

Attributes

Inherited from:
PlayRunners
val FORBIDDEN: Int

Attributes

Inherited from:
Status
val FORWARDED: String

Attributes

Inherited from:
HeaderNames
val FOUND: Int

Attributes

Inherited from:
Status
val FROM: String

Attributes

Inherited from:
HeaderNames
val GATEWAY_TIMEOUT: Int

Attributes

Inherited from:
Status
val GET: String

Attributes

Inherited from:
HttpVerbs
val GONE: Int

Attributes

Inherited from:
Status
val HEAD: String

Attributes

Inherited from:
HttpVerbs
val HOST: String

Attributes

Inherited from:
HeaderNames
val HTMLUNIT: Class[HtmlUnitDriver]

Attributes

Inherited from:
PlayRunners
val HTTP_1_0: String

Attributes

Inherited from:
HttpProtocol
val HTTP_1_1: String

Attributes

Inherited from:
HttpProtocol
val HTTP_2_0: String

Attributes

Inherited from:
HttpProtocol

Attributes

Inherited from:
Status
val IF_MATCH: String

Attributes

Inherited from:
HeaderNames
val IF_MODIFIED_SINCE: String

Attributes

Inherited from:
HeaderNames
val IF_NONE_MATCH: String

Attributes

Inherited from:
HeaderNames
val IF_RANGE: String

Attributes

Inherited from:
HeaderNames
val IF_UNMODIFIED_SINCE: String

Attributes

Inherited from:
HeaderNames
val IM_A_TEAPOT: Int

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status
val LAST_MODIFIED: String

Attributes

Inherited from:
HeaderNames
val LENGTH_REQUIRED: Int

Attributes

Inherited from:
Status
val LOCATION: String

Attributes

Inherited from:
HeaderNames
val LOCKED: Int

Attributes

Inherited from:
Status
val MAX_FORWARDS: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status
val MULTIPLE_CHOICES: Int

Attributes

Inherited from:
Status
val MULTI_STATUS: Int

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status
val NOT_ACCEPTABLE: Int

Attributes

Inherited from:
Status
val NOT_FOUND: Int

Attributes

Inherited from:
Status
val NOT_IMPLEMENTED: Int

Attributes

Inherited from:
Status
val NOT_MODIFIED: Int

Attributes

Inherited from:
Status
val NO_CONTENT: Int

Attributes

Inherited from:
Status
val OK: Int

Attributes

Inherited from:
Status
val OPTIONS: String

Attributes

Inherited from:
HttpVerbs
val ORIGIN: String

Attributes

Inherited from:
HeaderNames
val PARTIAL_CONTENT: Int

Attributes

Inherited from:
Status
val PATCH: String

Attributes

Inherited from:
HttpVerbs
val PAYMENT_REQUIRED: Int

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status
val POST: String

Attributes

Inherited from:
HttpVerbs
val PRAGMA: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status
val PROXY_AUTHENTICATE: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status
val PROXY_AUTHORIZATION: String

Attributes

Inherited from:
HeaderNames
val PUT: String

Attributes

Inherited from:
HttpVerbs
val RANGE: String

Attributes

Inherited from:
HeaderNames
val REFERER: String

Attributes

Inherited from:
HeaderNames
val REFERRER_POLICY: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status
val REQUEST_TIMEOUT: Int

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status
val RESET_CONTENT: Int

Attributes

Inherited from:
Status
val RETRY_AFTER: String

Attributes

Inherited from:
HeaderNames
val SEE_OTHER: Int

Attributes

Inherited from:
Status
val SERVER: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status
val SET_COOKIE2: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status
val TE: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status
val TRAILER: String

Attributes

Inherited from:
HeaderNames
val TRANSFER_ENCODING: String

Attributes

Inherited from:
HeaderNames
val UNAUTHORIZED: Int

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status
val UPGRADE: String

Attributes

Inherited from:
HeaderNames
val UPGRADE_REQUIRED: Int

Attributes

Inherited from:
Status
val USER_AGENT: String

Attributes

Inherited from:
HeaderNames
val USE_PROXY: Int

Attributes

Inherited from:
Status
val VARY: String

Attributes

Inherited from:
HeaderNames
val VIA: String

Attributes

Inherited from:
HeaderNames
val WARNING: String

Attributes

Inherited from:
HeaderNames
val WWW_AUTHENTICATE: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames
val X_FORWARDED_FOR: String

Attributes

Inherited from:
HeaderNames
val X_FORWARDED_HOST: String

Attributes

Inherited from:
HeaderNames
val X_FORWARDED_PORT: String

Attributes

Inherited from:
HeaderNames
val X_FORWARDED_PROTO: String

Attributes

Inherited from:
HeaderNames
val X_FRAME_OPTIONS: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames
val X_REQUESTED_WITH: String

Attributes

Inherited from:
HeaderNames
val X_XSS_PROTECTION: String

Attributes

Inherited from:
HeaderNames
lazy override val args: ArgumentsNamespaceMutable

Attributes

Inherited from:
ArgumentsCreation

The base builder used in the running method.

The base builder used in the running method.

Attributes

Inherited from:
PlayRunners
lazy override val ko: MatchResult[Any]

Attributes

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

Attributes

Inherited from:
StandardMatchResults
lazy override val success: Success

Attributes

Inherited from:
ThrownStandardResults

Implicits

Inherited implicits

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

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

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

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

Attributes

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

Attributes

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

Attributes

Inherited from:
ExceptionBeHaveMatchers (hidden)
final implicit def FragmentTaggedAs(f: => Fragment): FragmentTaggedAs

This implicit allows to add tags and sections after the examples

This implicit allows to add tags and sections after the examples

Attributes

Inherited from:
TagDsl
final implicit def FragmentsTaggedAs(fs: => Fragments): FragmentsTaggedAs

This implicit allows to add tags and sections after the examples

This implicit allows to add tags and sections after the examples

Attributes

Inherited from:
TagDsl
final implicit def FutureMatchable[T](m: Matcher[T])(implicit ee: ExecutionEnv): FutureMatchable[T]

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
final implicit def HiddenFragment(fragment: Fragment): HiddenFragment

Attributes

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

Attributes

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

Attributes

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

implicit definition to create significant figures for the beCloseTo matcher

implicit definition to create significant figures for the beCloseTo matcher

Attributes

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

implicit definition to create significant figures for the beCloseTo matcher

implicit definition to create significant figures for the beCloseTo matcher

Attributes

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

implicit definition to create delta for the beCloseTo matcher

implicit definition to create delta for the beCloseTo matcher

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
MatcherZipOperators
> result ***-e97" data-f-keywords="implicit" data-f-inherited="BlockDsl">

adding a conflicting implicit to warn the user when a >> was forgotten

adding a conflicting implicit to warn the user when a >> was forgotten

Attributes

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

Attributes

Definition Classes
MustThrownExpectables -> MustExpectations
Inherited from:
MustThrownExpectables
implicit override def akaShould[T](tm: Expectable[T]): ShouldExpectable[T]

Attributes

Definition Classes
ShouldThrownExpectables -> ShouldExpectations
Inherited from:
ShouldThrownExpectables
implicit def anyAsResultIsInterpolatedFragment(r: => Function0Result): InterpolatedFragment

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
AnyBeHaveMatchers

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
SpecStructureDsl

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

implicit definition to transform any MatchResult to a Result

implicit definition to transform any MatchResult to a Result

Attributes

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

Attributes

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

Attributes

Definition Classes
ExampleDsl -> ExampleDsl
Inherited from:
ExampleDsl
implicit def blockExample(d: String): BlockExample

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
Debug
implicit def defaultAwaitTimeout: Timeout

The default await timeout. Override this to change it.

The default await timeout. Override this to change it.

Attributes

Inherited from:
DefaultAwaitTimeout

Attributes

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

describe a value with the aka method

describe a value with the aka method

Attributes

Inherited from:
ExpectationsDescription
final implicit def describe(d: String): describe

Attributes

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

Attributes

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

Attributes

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

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

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

Attributes

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

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

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

Attributes

Inherited from:
ImplicitExecutionContextFromExecutionEnv
implicit def executionEnvToExecutorService(implicit ee: ExecutionEnv): ExecutorService

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

Attributes

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

Attributes

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

Attributes

Inherited from:
SpecStructureDsl
final implicit def fragmentFormatting(f: => Fragment): fragmentFormatting

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
SpecStructureDsl1 (hidden)
final implicit def fragmentsFormatting(fs: => Fragments): fragmentsFormatting

Attributes

Inherited from:
TextDsl
implicit def fragmentsIsInterpolatedFragment(fragments: Fragments): InterpolatedFragment

Attributes

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

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

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

Attributes

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

This method transforms a function to a Matcher

This method transforms a function to a Matcher

Attributes

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

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

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

Attributes

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

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

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

Attributes

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

This method transforms a function to a Matcher

This method transforms a function to a Matcher

Attributes

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

This method transforms a function to a Matcher

This method transforms a function to a Matcher

Attributes

Inherited from:
MatchersCreation
final implicit def futureAsResult[T](f: => Future[T])(implicit ee: ExecutionEnv, asResult: AsResult[T]): futureAsResult[T]

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
implicit lazy val implicitParameter: ImplicitParam

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter1: ImplicitParam1

Attributes

Inherited from:
ImplicitParameters

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter2: ImplicitParam2

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter3: ImplicitParam3

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter4: ImplicitParam4

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter5: ImplicitParam5

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter6: ImplicitParam6

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter7: ImplicitParam7

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter8: ImplicitParam8

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter9: ImplicitParam9

Attributes

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

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

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

Attributes

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

Attributes

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

This method transforms a function returning a Result to a Matcher

This method transforms a function returning a Result to a Matcher

Attributes

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

a Matcher[T] can check a value

a Matcher[T] can check a value

Attributes

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

Attributes

Inherited from:
TraversableBaseMatchersLowImplicits (hidden)
final implicit def mutableLinkFragment(alias: String): mutableLinkFragment

Attributes

Inherited from:
ReferenceDsl
final implicit def mutableSeeFragment(alias: String): mutableSeeFragment

Attributes

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

Attributes

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

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

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

Attributes

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

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

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

Attributes

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

Attributes

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

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

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

Attributes

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

Attributes

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

implicit definition to transform a Seq of MatchResults to a Result

implicit definition to transform a Seq of MatchResults to a Result

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher

adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher

Attributes

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

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

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

Attributes

Inherited from:
MatchersCreation
final implicit def textFragment(s: String): textFragment

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

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

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

Attributes

Inherited from:
NumberOfTimes
implicit override def title(s: String): MutableTitleOps

Attributes

Definition Classes
TitleDsl -> TitleDsl
Inherited from:
TitleDsl
implicit def toAnyMatcherResult(result: MatchResult[AnyRef]): AnyMatcherResult

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

matcher aliases and implicits to use with be + matcher

matcher aliases and implicits to use with be + matcher

Attributes

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

Attributes

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

Attributes

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

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

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

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

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

Attributes

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

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

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

Attributes

Inherited from:
TypedEqual
implicit def writeableOf_AnyContentAsEmpty(implicit code: Codec): Writeable[AnyContentAsEmpty.type]

Attributes

Inherited from:
Writeables

Attributes

Inherited from:
Writeables

Attributes

Inherited from:
Writeables

Attributes

Inherited from:
Writeables

Attributes

Inherited from:
Writeables

Attributes

Inherited from:
Writeables

Attributes

Inherited from:
Writeables

Deprecated and Inherited implicits

implicit def writeableOf_AnyContentAsMultipartForm(contentType: Option[String])(implicit codec: Codec): Writeable[AnyContentAsMultipartFormData]

Attributes

Deprecated
true
Inherited from:
Writeables