org.specs2.mutable

SpecificationFeatures

trait SpecificationFeatures extends FragmentsBuilder with SpecificationInclusion with ArgumentsArgs with ArgumentsShortcuts with MustThrownMatchers with ShouldThrownMatchers with FormattingFragments with StandardResults with StandardMatchResults with AutoExamples with TimeConversions with PendingUntilFixed with Contexts with SpecificationNavigation with Debug

Linear Supertypes
Debug, Contexts, execute.PendingUntilFixed, TimeConversions, AutoExamples, specification.AutoExamples, AutoExamplesLowImplicits, StandardMatchResults, FormattingFragments, specification.FormattingFragments, ShouldThrownMatchers, ShouldThrownExpectations, ShouldExpectations, MustThrownMatchers, MustThrownExpectations, MustExpectations, ThrownExpectations, StandardResults, Matchers, LanguageFeatures, MatchersImplicits, ExpectationsDescription, Sentences, MatchResultImplicits, MatchResultCombinators, ResultLogicalCombinators, Results, MatchResultLogicalCombinators, ContentMatchers, ContentBeHaveMatchers, ContentBaseMatchers, SeqsContents, DifferenceFilters, FileMatchers, FileBeHaveMatchers, FileBaseMatchers, PathMatchers, PathBeHaveMatchers, PathBaseMatchers, FileSystem, FileWriter, FileReader, EventuallyMatchers, EventuallyResults, EitherMatchers, EitherBeHaveMatchers, EitherBaseMatchers, OptionMatchers, OptionBeHaveMatchers, OptionBaseMatchers, NumericMatchers, NumericBeHaveMatchers, NumericBaseMatchers, ExceptionMatchers, ExceptionBeHaveMatchers, ExceptionBaseMatchers, BeHaveMatchers, JsonMatchers, JsonBaseBeHaveMatchers, JsonBaseMatchers, JsonMatchersLowImplicits, Expectations, CanBeEqual, XmlMatchers, XmlBeHaveMatchers, XmlBaseMatchers, StringMatchers, StringBeHaveMatchers, StringBaseMatchers, MapMatchers, MapBeHaveMatchers, MapBaseMatchers, TraversableMatchers, matcher.TraversableBeHaveMatchers, TraversableBaseMatchers, LazyParameters, AnyMatchers, matcher.AnyBeHaveMatchers, AnyBaseMatchers, ArgumentsShortcuts, ArgumentsArgs, main.ArgumentsArgs, ArgProperties, SpecificationInclusion, specification.SpecificationInclusion, FragmentsBuilder, SideEffectingCreationPaths, SpecificationNavigation, ExamplesFactory, specification.FragmentsBuilder, specification.ExamplesFactory, RegexSteps, TuplesToSeq, RegexStepsFactory, ImplicitParameters, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SpecificationFeatures
  2. Debug
  3. Contexts
  4. PendingUntilFixed
  5. TimeConversions
  6. AutoExamples
  7. AutoExamples
  8. AutoExamplesLowImplicits
  9. StandardMatchResults
  10. FormattingFragments
  11. FormattingFragments
  12. ShouldThrownMatchers
  13. ShouldThrownExpectations
  14. ShouldExpectations
  15. MustThrownMatchers
  16. MustThrownExpectations
  17. MustExpectations
  18. ThrownExpectations
  19. StandardResults
  20. Matchers
  21. LanguageFeatures
  22. MatchersImplicits
  23. ExpectationsDescription
  24. Sentences
  25. MatchResultImplicits
  26. MatchResultCombinators
  27. ResultLogicalCombinators
  28. Results
  29. MatchResultLogicalCombinators
  30. ContentMatchers
  31. ContentBeHaveMatchers
  32. ContentBaseMatchers
  33. SeqsContents
  34. DifferenceFilters
  35. FileMatchers
  36. FileBeHaveMatchers
  37. FileBaseMatchers
  38. PathMatchers
  39. PathBeHaveMatchers
  40. PathBaseMatchers
  41. FileSystem
  42. FileWriter
  43. FileReader
  44. EventuallyMatchers
  45. EventuallyResults
  46. EitherMatchers
  47. EitherBeHaveMatchers
  48. EitherBaseMatchers
  49. OptionMatchers
  50. OptionBeHaveMatchers
  51. OptionBaseMatchers
  52. NumericMatchers
  53. NumericBeHaveMatchers
  54. NumericBaseMatchers
  55. ExceptionMatchers
  56. ExceptionBeHaveMatchers
  57. ExceptionBaseMatchers
  58. BeHaveMatchers
  59. JsonMatchers
  60. JsonBaseBeHaveMatchers
  61. JsonBaseMatchers
  62. JsonMatchersLowImplicits
  63. Expectations
  64. CanBeEqual
  65. XmlMatchers
  66. XmlBeHaveMatchers
  67. XmlBaseMatchers
  68. StringMatchers
  69. StringBeHaveMatchers
  70. StringBaseMatchers
  71. MapMatchers
  72. MapBeHaveMatchers
  73. MapBaseMatchers
  74. TraversableMatchers
  75. TraversableBeHaveMatchers
  76. TraversableBaseMatchers
  77. LazyParameters
  78. AnyMatchers
  79. AnyBeHaveMatchers
  80. AnyBaseMatchers
  81. ArgumentsShortcuts
  82. ArgumentsArgs
  83. ArgumentsArgs
  84. ArgProperties
  85. SpecificationInclusion
  86. SpecificationInclusion
  87. FragmentsBuilder
  88. SideEffectingCreationPaths
  89. SpecificationNavigation
  90. ExamplesFactory
  91. FragmentsBuilder
  92. ExamplesFactory
  93. RegexSteps
  94. TuplesToSeq
  95. RegexStepsFactory
  96. ImplicitParameters
  97. AnyRef
  98. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class AdapterFunction[T, S](f: (T) ⇒ S) extends Product with Serializable

    Definition Classes
    MatchersImplicits
  2. class AfterResult[T] extends AnyRef

    Definition Classes
    Contexts
  3. class AnyBeHaveMatchers[T] extends AnyRef

    Definition Classes
    AnyBeHaveMatchers
  4. class AnyMatcherResult extends AnyRef

    Definition Classes
    AnyBeHaveMatchers
  5. class AnyRefMatcherResult[T <: AnyRef] extends AnyRef

    Definition Classes
    AnyBeHaveMatchers
  6. class AnyWithEmptyMatchers[T] extends AnyRef

    Definition Classes
    AnyBeHaveMatchers
  7. class AroundResult[T] extends AnyRef

    Definition Classes
    Contexts
  8. case class AsFragments(fs: Fragments) extends Product with Serializable

    Definition Classes
    FragmentsBuilder
  9. class BeLikeResultMatcher[T] extends AnyRef

    Definition Classes
    AnyBeHaveMatchers
  10. class BeforeResult[T] extends AnyRef

    Definition Classes
    Contexts
  11. class BooleanResultFragment extends FragmentsFragment with (AutoExamplesLowImplicits.this)#ExampleFragment

    This class is especially created when the first fragment of a specification is a boolean result (no text before) The startDepth and offsets are special tweakings to make sure we get the right line in that specific case

    This class is especially created when the first fragment of a specification is a boolean result (no text before) The startDepth and offsets are special tweakings to make sure we get the right line in that specific case

    Definition Classes
    AutoExamplesLowImplicits
  12. class CanBeEqualExpectation[T] extends AnyRef

    Definition Classes
    CanBeEqual
  13. class ClassMatcherResult extends AnyRef

    Definition Classes
    AnyBeHaveMatchers
  14. class Debuggable[T] extends ConsoleOutput

    Definition Classes
    Debug
  15. class Described extends AnyRef

    Definition Classes
    FragmentsBuilder
  16. class Descriptible[T] extends AnyRef

    Definition Classes
    Expectations
  17. class EitherResultMatcher[L, R] extends AnyRef

    Definition Classes
    EitherBeHaveMatchers
  18. class ExampleDesc extends AnyRef

    transient class to hold an example description before creating a full Example

  19. trait ExampleFragment extends AnyRef

    Definition Classes
    AutoExamplesLowImplicits
  20. class ExceptionClassMatcher extends Matcher[Any]

    Exception matcher checking the type of a thrown exception.

    Exception matcher checking the type of a thrown exception.

    Definition Classes
    ExceptionBaseMatchers
  21. class ExceptionMatcher[E <: Throwable] extends Matcher[Any]

    This matchers matches exception instances.

    This matchers matches exception instances.

    Definition Classes
    ExceptionBaseMatchers
    See also

    throwA

  22. class ExceptionMatcherResult[T] extends AnyRef

    Definition Classes
    ExceptionBeHaveMatchers
  23. class ExpectationDescription extends AnyRef

    Definition Classes
    ExpectationsDescription
  24. class FileResultMatcher[T <: AnyRef { def getPath(): String }] extends AnyRef

    Definition Classes
    FileBeHaveMatchers
  25. class FindMatcher extends Matcher[String]

    Matcher to find if the regexp a is found inside b.

    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

    Definition Classes
    StringBaseMatchers
  26. class FindMatcherPattern extends FindMatcher

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

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

    Definition Classes
    StringBaseMatchers
  27. class FindMatcherPatternWithGroups extends FindMatcherWithGroups

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

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

    Definition Classes
    StringBaseMatchers
  28. class FindMatcherRegex extends FindMatcherPattern

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

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

    Definition Classes
    StringBaseMatchers
  29. class FindMatcherWithGroups extends Matcher[String]

    Matcher to find if the regexp a is found inside b.

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

    Definition Classes
    StringBaseMatchers
  30. case class FirstNDifferencesFilter(n: Int) extends Product with Serializable

    Definition Classes
    DifferenceFilters
  31. class FragmentAndFormattingFragment[T <: Fragment] extends AnyRef

    Definition Classes
    FormattingFragments
  32. class FragmentsAndFormattingFragment extends AnyRef

    Definition Classes
    FormattingFragments
  33. class FragmentsFragmentAndFormattingFragment extends AnyRef

    Definition Classes
    FormattingFragments
  34. class GWTToFragment extends AnyRef

    Definition Classes
    FragmentsBuilder
  35. class HasSize[T] extends AnyRef

    Definition Classes
    TraversableBeHaveMatchers
  36. class HtmlLinkFragments extends AnyRef

    Definition Classes
    FragmentsBuilder
  37. class HtmlLinkFragments2 extends AnyRef

    Definition Classes
    FragmentsBuilder
  38. trait ImplicitParam extends AnyRef

    Definition Classes
    ImplicitParameters
  39. trait ImplicitParam1 extends AnyRef

    Definition Classes
    ImplicitParameters
  40. trait ImplicitParam10 extends AnyRef

    Definition Classes
    ImplicitParameters
  41. trait ImplicitParam2 extends AnyRef

    Definition Classes
    ImplicitParameters
  42. trait ImplicitParam3 extends AnyRef

    Definition Classes
    ImplicitParameters
  43. trait ImplicitParam4 extends AnyRef

    Definition Classes
    ImplicitParameters
  44. trait ImplicitParam5 extends AnyRef

    Definition Classes
    ImplicitParameters
  45. trait ImplicitParam6 extends AnyRef

    Definition Classes
    ImplicitParameters
  46. trait ImplicitParam7 extends AnyRef

    Definition Classes
    ImplicitParameters
  47. trait ImplicitParam8 extends AnyRef

    Definition Classes
    ImplicitParameters
  48. trait ImplicitParam9 extends AnyRef

    Definition Classes
    ImplicitParameters
  49. class InExample extends AnyRef

    transient class to hold an example description before creating a full Example

  50. class JsonDeepPairMatcher extends Matcher[String]

    Definition Classes
    JsonBaseMatchers
  51. class JsonDeepValueMatcher extends Matcher[Any]

    Definition Classes
    JsonBaseMatchers
  52. case class JsonEqualValue extends JsonValueSpec with Product with Serializable

    Definition Classes
    JsonBaseMatchers
  53. class JsonPairMatcher extends Matcher[String]

    Definition Classes
    JsonBaseMatchers
  54. case class JsonPairSpec extends Product with Serializable

    Definition Classes
    JsonBaseMatchers
  55. case class JsonRegex extends JsonValueSpec with Product with Serializable

    Definition Classes
    JsonBaseMatchers
  56. case class JsonSelector extends Product with Serializable

    Definition Classes
    JsonBaseMatchers
  57. case class JsonStringMatcher extends JsonValueSpec with Product with Serializable

    Definition Classes
    JsonBaseMatchers
  58. class JsonValueMatcher extends Matcher[Any]

    Definition Classes
    JsonBaseMatchers
  59. trait JsonValueSpec extends AnyRef

    Definition Classes
    JsonBaseMatchers
  60. class LeftMatcher[T] extends Matcher[Either[T, _]]

    Definition Classes
    EitherBaseMatchers
  61. case class LinesComparisonMatcher[L1, L2] extends Matcher[L1] with Product with Serializable

    Matcher to compare the contents of line contents

    Matcher to compare the contents of line contents

    Definition Classes
    ContentBaseMatchers
  62. class LinesContentResultMatcher[L1] extends AnyRef

    Definition Classes
    ContentBeHaveMatchers
  63. case class LinesPairComparisonMatcher[L1, L2] extends Matcher[(L1, L2)] with Product with Serializable

    Definition Classes
    ContentBaseMatchers
  64. class MapKeyResultMatcher[K] extends AnyRef

    Definition Classes
    MapBeHaveMatchers
  65. class MapResultMatcher[K, V] extends AnyRef

    Definition Classes
    MapBeHaveMatchers
  66. class MapValueResultMatcher[V] extends AnyRef

    Definition Classes
    MapBeHaveMatchers
  67. class MatchResultCombinator[T] extends AnyRef

    Definition Classes
    MatchResultLogicalCombinators
  68. class MatchResultFragment extends FragmentsFragment with (AutoExamplesLowImplicits.this)#ExampleFragment

    This class is especially created when the first fragment of a specification is a match result (no text before) The startDepth and offsets are special tweakings to make sure we get the right line in that specific case

    This class is especially created when the first fragment of a specification is a match result (no text before) The startDepth and offsets are special tweakings to make sure we get the right line in that specific case

    Definition Classes
    AutoExamplesLowImplicits
  69. class MatchResultFunctionVerification[U, T] extends AnyRef

    Definition Classes
    MatchersImplicits
  70. class MatcherFunction[S, T] extends AnyRef

    Definition Classes
    MatchersImplicits
  71. class MatcherFunction2[T] extends AnyRef

    Definition Classes
    MatchersImplicits
  72. class MatcherFunction3[S, T] extends AnyRef

    Definition Classes
    MatchersImplicits
  73. class MutableSpecText extends AnyRef

    Definition Classes
    FragmentsBuilder
  74. class MutableSpecTitle extends SpecTitle

    Definition Classes
    FragmentsBuilder
  75. class NeutralMatcherElem extends AnyRef

    Definition Classes
    XmlBeHaveMatchers
  76. class NeutralMatcherNumeric extends AnyRef

    Definition Classes
    NumericBeHaveMatchers
  77. class NeutralMatcherOrdered extends AnyRef

    Definition Classes
    NumericBeHaveMatchers
  78. class NeutralStringMatcher extends AnyRef

    Definition Classes
    StringBeHaveMatchers
  79. class NotMatcherElem extends AnyRef

    Definition Classes
    XmlBeHaveMatchers
  80. class NotMatcherJson extends AnyRef

    Definition Classes
    JsonBaseBeHaveMatchers
  81. class NotStringMatcher extends AnyRef

    Definition Classes
    StringBeHaveMatchers
  82. class NumericResultMatcher[S] extends AnyRef

    Definition Classes
    NumericBeHaveMatchers
  83. class OptionResultMatcher[T] extends AnyRef

    Definition Classes
    OptionBeHaveMatchers
  84. class OrderedResultMatcher[S] extends AnyRef

    Definition Classes
    NumericBeHaveMatchers
  85. class OrderedSeqMatchResult[T] extends AnyRef

    Definition Classes
    TraversableBeHaveMatchers
  86. class PartialFunctionResultMatcher[K, V] extends AnyRef

    Definition Classes
    MapBeHaveMatchers
  87. class PathResultMatcher extends AnyRef

    Definition Classes
    PathBeHaveMatchers
  88. class PendingUntilFixed[T] extends AnyRef

    Definition Classes
    PendingUntilFixed
  89. class ReadAs extends AnyRef

    This class creates Given or Then extractors from a regular expression and a function

  90. class ResultFragment extends FragmentsFragment with (AutoExamplesLowImplicits.this)#ExampleFragment

    This class is especially created when the first fragment of a specification is a Result (no text before) The startDepth and offsets are special tweakings to make sure we get the right line in that specific case

    This class is especially created when the first fragment of a specification is a Result (no text before) The startDepth and offsets are special tweakings to make sure we get the right line in that specific case

    Definition Classes
    AutoExamplesLowImplicits
  91. class ResultLogicalCombinator extends AnyRef

    Definition Classes
    ResultLogicalCombinators
  92. class RightMatcher[T] extends Matcher[Either[_, T]]

    Definition Classes
    EitherBaseMatchers
  93. class SeqMatcher[S, T] extends Matcher[Seq[T]]

    The SeqMatcher class is a matcher matching a sequence of objects with a matcher returned by a function.

  94. class SetMatcher[S, T] extends Matcher[Set[T]]

    The SetMatcher class is a matcher matching a set of objects with a matcher returned by a function.

  95. case class SpecIdentificationMarkdownLink(s: String) extends Product with Serializable

    Definition Classes
    FragmentsBuilder
  96. class SpecTitle extends AnyRef

    Definition Classes
    FragmentsBuilder
  97. class StringMatcher extends AnyRef

    Definition Classes
    StringBaseMatchers
  98. class StringResultMatcher extends AnyRef

    Definition Classes
    StringBeHaveMatchers
  99. class TextAndFormattingFragment extends AnyRef

    Definition Classes
    FormattingFragments
  100. class ToBooleanExample extends AnyRef

    Definition Classes
    AutoExamplesLowImplicits
  101. class ToDataTableExample[T] extends AnyRef

    Definition Classes
    AutoExamples
  102. trait ToJsonValueSpec[T] extends AnyRef

    Definition Classes
    JsonBaseMatchers
  103. class ToMatchResultExample extends AnyRef

    this syntax allows to declare auto examples with { .

    this syntax allows to declare auto examples with { ... }.eg in mutable specifications

    Definition Classes
    AutoExamplesLowImplicits
  104. class ToResultExample extends AnyRef

    Definition Classes
    AutoExamplesLowImplicits
  105. class TraversableBeHaveMatchers[T] extends AnyRef

    Definition Classes
    TraversableBeHaveMatchers
  106. trait TraversableMatcher[T] extends Matcher[GenTraversableOnce[T]]

    Definition Classes
    TraversableBaseMatchers
  107. class WarningForgottenOperator extends AnyRef

    Definition Classes
    FragmentsBuilder
  108. class XmlResultMatcher extends AnyRef

    Definition Classes
    XmlBeHaveMatchers
  109. implicit class longAsTime extends AnyRef

    Definition Classes
    TimeConversions

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. def !=/(s: String): AdaptableMatcher[Any]

    matches if a.

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

    Definition Classes
    StringBaseMatchers
  4. def !==[T](t: ⇒ T): Matcher[T]

    matches if a != b

    matches if a != b

    Definition Classes
    AnyBaseMatchers
  5. final def ##(): Int

    Definition Classes
    AnyRef → Any
  6. implicit def ***If you see this message this means that you've forgotten an operator after the description string: you should write "example" >> result ***(s: String): WarningForgottenOperator

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

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

    Definition Classes
    FragmentsBuilder
  7. def */(pair: JsonPairSpec): JsonDeepPairMatcher

    match if the document contains the pair at any level

    match if the document contains the pair at any level

    Definition Classes
    JsonBaseMatchers
  8. def */(value: JsonValueSpec): JsonDeepValueMatcher

    match if the document contains the value at any level

    match if the document contains the value at any level

    Definition Classes
    JsonBaseMatchers
  9. def /(pair: JsonPairSpec): JsonPairMatcher

    match if the document contains the pair at the top level

    match if the document contains the pair at the top level

    Definition Classes
    JsonBaseMatchers
  10. def /(value: JsonValueSpec): JsonValueMatcher

    match if the document contains the value at the top-level

    match if the document contains the value at the top-level

    Definition Classes
    JsonBaseMatchers
  11. def /#(i: Int): JsonSelector

    allow to match on the i-th element of an Array or a Map (0-based)

    allow to match on the i-th element of an Array or a Map (0-based)

    Definition Classes
    JsonBaseMatchers
  12. def <[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    alias for beLessThan

    alias for beLessThan

    Definition Classes
    NumericBaseMatchers
  13. def <=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]

    alias for beLessThanOrEqualTo

    alias for beLessThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  14. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  16. def ==/(node: Elem): EqualIgnoringSpaceMatcher

    alias for beEqualToIgnoringSpace

    alias for beEqualToIgnoringSpace

    Definition Classes
    XmlBaseMatchers
  17. def ==/(node: Seq[Node]): EqualIgnoringSpaceMatcher

    alias for beEqualToIgnoringSpace

    alias for beEqualToIgnoringSpace

    Definition Classes
    XmlBaseMatchers
  18. def ==/(s: String): AdaptableMatcher[Any]

    matches if a.

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

    Definition Classes
    StringBaseMatchers
  19. def ===[T](t: ⇒ T): BeTypedEqualTo[T]

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  20. def ==~[T, S](s: ⇒ S)(implicit convert: (S) ⇒ T): Matcher[T]

    matches if a == b after an implicit conversion

    matches if a == b after an implicit conversion

    Definition Classes
    AnyBaseMatchers
  21. 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

    Definition Classes
    StringBaseMatchers
  22. 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

    Definition Classes
    StringBaseMatchers
  23. 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

    Definition Classes
    StringBaseMatchers
  24. def >[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    alias for beGreaterThan

    alias for beGreaterThan

    Definition Classes
    NumericBaseMatchers
  25. def >=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    alias for beGreaterThanOrEqualTo

    alias for beGreaterThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  26. implicit def RegexFragmentToFragments(r: RegexFragment): Fragments

    at any point in time a regex sequence can be transformed as a sequence of Fragments

    at any point in time a regex sequence can be transformed as a sequence of Fragments

    Definition Classes
    RegexSteps
  27. implicit def ToDelta[S](n: S)(implicit arg0: Numeric[S]): CanHaveDelta[S]

    implicit definition to create delta for the beCloseTo matcher

    implicit definition to create delta for the beCloseTo matcher

    Definition Classes
    NumericBaseMatchers
  28. object ToJsonValueSpec

    Definition Classes
    JsonBaseMatchers
  29. def \(label: String, attributeValues1: (String, String), attributeValues: (String, String)*): XmlMatcher

    alias for \\(node, attributeValues) with the node label only

    alias for \\(node, attributeValues) with the node label only

    Definition Classes
    XmlBaseMatchers
  30. def \(node: Node, attributeValues1: (String, String), attributeValues: (String, String)*): XmlMatcher

    match if node is the first node of the tested node and has exactly the attributeValues as names and values for its attributes

    match if node is the first node of the tested node and has exactly the attributeValues as names and values for its attributes

    Definition Classes
    XmlBaseMatchers
  31. def \(label: String, attributes: String*): XmlMatcher

    alias for \(node) with the node label only

    alias for \(node) with the node label only

    Definition Classes
    XmlBaseMatchers
  32. def \(node: Node): XmlMatcher

    match if node is the first node of the tested node

    match if node is the first node of the tested node

    Definition Classes
    XmlBaseMatchers
  33. def \(node: Node, attributes: String*): XmlMatcher

    match if node is the first node of the tested node an exact match on is required on attributes

    match if node is the first node of the tested node an exact match on is required on attributes

    Definition Classes
    XmlBaseMatchers
  34. def \\(label: String, attributeValues1: (String, String), attributeValues: (String, String)*): XmlMatcher

    alias for \\(node, attributeValues) with the node label only

    alias for \\(node, attributeValues) with the node label only

    Definition Classes
    XmlBaseMatchers
  35. def \\(node: Node, attributeValues1: (String, String), attributeValues: (String, String)*): XmlMatcher

    match if node is contained anywhere inside the tested node and has exactly the attributeValues as names and values for its attributes

    match if node is contained anywhere inside the tested node and has exactly the attributeValues as names and values for its attributes

    Definition Classes
    XmlBaseMatchers
  36. def \\(label: String, attributes: String*): XmlMatcher

    alias for \\(node) with the node label only

    alias for \\(node) with the node label only

    Definition Classes
    XmlBaseMatchers
  37. def \\(node: Node): XmlMatcher

    match if node is contained anywhere inside the tested node

    match if node is contained anywhere inside the tested node

    Definition Classes
    XmlBaseMatchers
  38. def \\(node: Node, attributes: String*): XmlMatcher

    match if node is contained anywhere inside the tested node an exact match on is required on attributes

    match if node is contained anywhere inside the tested node an exact match on is required on attributes

    Definition Classes
    XmlBaseMatchers
  39. implicit def aBooleanExample(expression: ⇒ Boolean): ToBooleanExample

    Definition Classes
    AutoExamplesLowImplicits
  40. implicit def aDataTableExample[T](expression: ⇒ DecoratedResult[T]): ToDataTableExample[T]

    this syntax allows to declare auto examples with { .

    this syntax allows to declare auto examples with { ... }.eg in mutable specifications

    Definition Classes
    AutoExamples
  41. def aDirectory[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  42. def aDirectoryPath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  43. def aFile[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  44. def aFilePath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  45. def aHiddenPath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  46. implicit def aMatchResultExample(expression: ⇒ MatchResult[_]): ToMatchResultExample

    Definition Classes
    AutoExamplesLowImplicits
  47. def aReadablePath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  48. implicit def aResultExample(expression: ⇒ Result): ToResultExample

    Definition Classes
    AutoExamplesLowImplicits
  49. def aWritablePath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  50. def absolute[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  51. def absolutePath[T <: AnyRef { def getPath(): String }](path: String): Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  52. def action(a: ⇒ Any): Action

    add a new action to the Fragments

    add a new action to the Fragments

    Definition Classes
    FragmentsBuilder
  53. implicit def adapterFunction[T, S](f: (T) ⇒ S): AdapterFunction[T, S]

    this implicit provides an inverted syntax to adapt matchers to make the adaptation more readable in some cases: - def haveExtension(extension: =>String) = ((_:File).

    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)

    Definition Classes
    MatchersImplicits
  54. def addArguments(a: Arguments): Arguments

    Attributes
    protected
    Definition Classes
    FragmentsBuilder
  55. def addExample(ex: ⇒ Example): Example

    Attributes
    protected
    Definition Classes
    FragmentsBuilder
  56. def addFragments(fs: Seq[Fragment]): Fragments

    Attributes
    protected
    Definition Classes
    FragmentsBuilder
  57. def addFragments(fs: Fragments): Fragments

    Attributes
    protected
    Definition Classes
    FragmentsBuilder
  58. def addFragments[T](s: String, fs: ⇒ T, word: String): Fragments

    Attributes
    protected
    Definition Classes
    FragmentsBuilder
  59. implicit def akaMust[T](tm: Expectable[T]): MustExpectable[T]

  60. implicit def akaShould[T](tm: Expectable[T]): ShouldExpectable[T]

  61. def allElementsLike[T, S](like: PartialFunction[T, MatchResult[S]]): HaveAllElementsLike[T, S]

    Definition Classes
    TraversableBaseMatchers
  62. def anAbsolutePath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  63. def anError: Error

    Definition Classes
    ThrownExpectations → StandardResults
  64. def anExistingPath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  65. def anInstanceOf[T](implicit arg0: ClassTag[T]): Matcher[Any]

    Definition Classes
    AnyBeHaveMatchers
  66. implicit def anyBeHaveMatcher[T](result: MatchResult[T]): AnyBeHaveMatchers[T]

    Definition Classes
    AnyBeHaveMatchers
  67. implicit def anyToArgProperty[T](t: ⇒ T): ArgProperty[T]

    Definition Classes
    ArgProperties
  68. implicit def anyToJSonValueSpec[T]: ToJsonValueSpec[T]

    Definition Classes
    JsonMatchersLowImplicits
  69. implicit def anyWithEmpty[T](result: MatchResult[T])(implicit arg0: (T) ⇒ Any { def isEmpty: Boolean }): AnyWithEmptyMatchers[T]

    Definition Classes
    AnyBeHaveMatchers
  70. def append(path: String)(function: (Writer) ⇒ Unit): Unit

    append some content to a file and take care of closing the file.

    append some content to a file and take care of closing the file.

    Usage:

    write("./dir/hello.txt") { out =>
    out.write("content")
    }
    path

    path of the file to write

    Definition Classes
    FileWriter
  71. def appendToFile(path: String, content: ⇒ String): Unit

    writes some content to a file.

    writes some content to a file.

    path

    path of the file to read

    content

    content of the file to write

    Definition Classes
    FileWriter
  72. def appendToXmlFile(path: String, content: ⇒ NodeSeq): Unit

    writes some xml content to a file.

    writes some xml content to a file.

    path

    path of the file to read

    content

    content of the file to write

    Definition Classes
    FileWriter
  73. def args(ex: ArgProperty[String] = ArgProperty[String](), include: ArgProperty[String] = ArgProperty[String](), exclude: ArgProperty[String] = ArgProperty[String](), wasIssue: ArgProperty[Boolean] = ArgProperty[Boolean](), was: ArgProperty[String] = ArgProperty[String](), plan: ArgProperty[Boolean] = ArgProperty[Boolean](), skipAll: ArgProperty[Boolean] = ArgProperty[Boolean](), stopOnFail: ArgProperty[Boolean] = ArgProperty[Boolean](), stopOnSkip: ArgProperty[Boolean] = ArgProperty[Boolean](), sequential: ArgProperty[Boolean] = ArgProperty[Boolean](), isolated: ArgProperty[Boolean] = ArgProperty[Boolean](), xonly: ArgProperty[Boolean] = ArgProperty[Boolean](), showOnly: ArgProperty[String] = ArgProperty[String](), color: ArgProperty[Boolean] = ArgProperty[Boolean](), noindent: ArgProperty[Boolean] = ArgProperty[Boolean](), markdown: ArgProperty[Boolean] = ArgProperty[Boolean]()): Arguments

    shorthand method to create an Arguments object

    shorthand method to create an Arguments object

    Definition Classes
    ArgumentsArgs → ArgumentsArgs
  74. lazy val args: ArgumentsNamespaceMutable

    Definition Classes
    ArgumentsArgs → ArgumentsArgs
  75. implicit def argumentsFragment(a: Arguments): FragmentsFragment

    Arguments creation

    Arguments creation

    returns

    a Fragments object which can be chained with other fragments

    Definition Classes
    FragmentsBuilder
  76. def asAbsolutePath(name: String): PathMatcher

    Definition Classes
    PathBeHaveMatchers
  77. def asCanonicalPath(name: String): PathMatcher

    Definition Classes
    PathBeHaveMatchers
  78. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  79. def asNoneAs[T](other: ⇒ Option[T]): Matcher[Option[T]]

    Definition Classes
    OptionBaseMatchers
  80. def asNullAs[T](a: ⇒ T): Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  81. implicit def asResult[T, M[_] <: MatchResult[_]](r: M[T]): Result

    implicit definition to transform any MatchResult to a Result

    implicit definition to transform any MatchResult to a Result

    Definition Classes
    MatchResultImplicits
  82. def assignableFrom[T](implicit arg0: ClassTag[T]): Matcher[Class[_]]

    Definition Classes
    AnyBeHaveMatchers
  83. def atLeastOnce[T, U](values: GenTraversableOnce[T])(f: (T) ⇒ MatchResult[U]): MatchResult[Seq[T]]

    verify the function f for at least one value

    verify the function f for at least one value

    Definition Classes
    MatchersImplicits
  84. def atLeastOnceWhen[T, U](values: GenTraversable[T])(f: PartialFunction[T, MatchResult[U]]): MatchResult[Seq[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

    Definition Classes
    MatchersImplicits
  85. def be: NeutralMatcher[Any]

    Definition Classes
    BeHaveMatchers
  86. def be[T <: AnyRef](t: ⇒ T): BeTheSameAs[T]

    alias for beTheSameAs

    alias for beTheSameAs

    Definition Classes
    AnyBaseMatchers
  87. def beADirectory[T <: AnyRef { def getPath(): String }]: Matcher[T]

    matches if file.

    matches if file.isDirectory

    Definition Classes
    FileBaseMatchers
  88. def beADirectoryPath: PathMatcher

    matches if new File(path).

    matches if new File(path).isDirectory

    Definition Classes
    PathBaseMatchers
  89. def beAFile[T <: AnyRef { def getPath(): String }]: Matcher[T]

    matches if file.

    matches if file.isFile

    Definition Classes
    FileBaseMatchers
  90. def beAFilePath: PathMatcher

    matches if new File(path).

    matches if new File(path).isFile

    Definition Classes
    PathBaseMatchers
  91. def beAHiddenPath: PathMatcher

    matches if new File(path).

    matches if new File(path).isHidden

    Definition Classes
    PathBaseMatchers
  92. def beAReadablePath: PathMatcher

    matches if new File(path).

    matches if new File(path).canRead

    Definition Classes
    PathBaseMatchers
  93. def beAWritablePath: PathMatcher

    matches if new File(path).

    matches if new File(path).canWrite

    Definition Classes
    PathBaseMatchers
  94. def beAbsolute[T <: AnyRef { def getPath(): String }]: Matcher[T]

    matches if file.

    matches if file.isAbsolute

    Definition Classes
    FileBaseMatchers
  95. def beAnAbsolutePath: PathMatcher

    matches if new File(path).

    matches if new File(path).isAbsolute

    Definition Classes
    PathBaseMatchers
  96. def beAnExistingPath: PathMatcher

    matches if new File(path).

    matches if new File(path).exists

    Definition Classes
    PathBaseMatchers
  97. def beAnInstanceOf[T](implicit arg0: ClassTag[T]): Matcher[Any]

    Definition Classes
    AnyBaseMatchers
  98. def beAsNoneAs[T](other: ⇒ Option[T]): Matcher[Option[T]]

    Definition Classes
    OptionBaseMatchers
  99. 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

    Definition Classes
    AnyBaseMatchers
  100. def beAssignableFrom[T](implicit arg0: ClassTag[T]): Matcher[Class[_]]

    matches if v.

    matches if v.isAssignableFrom(c)

    Definition Classes
    AnyBaseMatchers
  101. def beBetween[T](t1: T, t2: T)(implicit arg0: (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

    Definition Classes
    NumericBaseMatchers
  102. def beCloseTo[S](delta: Delta[S])(implicit arg0: Numeric[S]): Matcher[S]

    matches if x = n +/- delta

    matches if x = n +/- delta

    Definition Classes
    NumericBaseMatchers
  103. def beCloseTo[S](n: S, delta: S)(implicit arg0: Numeric[S]): Matcher[S]

    matches if x = n +/- delta

    matches if x = n +/- delta

    Definition Classes
    NumericBaseMatchers
  104. 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

    Definition Classes
    MapBaseMatchers
  105. 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

    Definition Classes
    MapBaseMatchers
  106. def beEmpty[T](implicit arg0: (T) ⇒ Any { def isEmpty: Boolean }): Matcher[T]

    matches if a.

    matches if a.isEmpty

    Definition Classes
    AnyBaseMatchers
  107. def beEqualTo[T](t: ⇒ T): BeEqualTo

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  108. def beEqualToIgnoringSep(other: String): PathMatcher

    matches if 2 paths are the same regardless of their separators

    matches if 2 paths are the same regardless of their separators

    Definition Classes
    PathBaseMatchers
  109. def beEqualToIgnoringSpace(node: Seq[Node]): EqualIgnoringSpaceMatcher

    match if node is equal to the tested node without testing empty text

    match if node is equal to the tested node without testing empty text

    Definition Classes
    XmlBaseMatchers
  110. def beFalse: Matcher[Boolean]

    matches if a == false

    matches if a == false

    Definition Classes
    AnyBaseMatchers
  111. def beGreaterThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    matches if x > n

    matches if x > n

    Definition Classes
    NumericBaseMatchers
  112. def beGreaterThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    matches if x >= n

    matches if x >= n

    Definition Classes
    NumericBaseMatchers
  113. def beHidden[T <: AnyRef { def getPath(): String }]: Matcher[T]

    matches if file.

    matches if file.isHidden

    Definition Classes
    FileBaseMatchers
  114. def beLeft[T]: LeftMatcher[T]

    Definition Classes
    EitherBaseMatchers
  115. def beLeft[T](t: ⇒ T): Matcher[Either[T, _]]

    Definition Classes
    EitherBaseMatchers
  116. def beLessThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    matches if x < n

    matches if x < n

    Definition Classes
    NumericBaseMatchers
  117. def beLessThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]

    matches if x <= n

    matches if x <= n

    Definition Classes
    NumericBaseMatchers
  118. 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

    Definition Classes
    AnyBaseMatchers
  119. def beLikeA[T](pattern: ⇒ PartialFunction[T, MatchResult[_]]): Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  120. def beMatching(a: Regex): BeMatchingRegex

    matches if b matches the regex a

    matches if b matches the regex a

    Definition Classes
    StringBaseMatchers
  121. def beMatching(a: Pattern): BeMatchingPattern

    matches if b matches the pattern a

    matches if b matches the pattern a

    Definition Classes
    StringBaseMatchers
  122. def beMatching(a: ⇒ String): BeMatching

    matches if b matches the regular expression a

    matches if b matches the regular expression a

    Definition Classes
    StringBaseMatchers
  123. def beNone: Matcher[Option[Any]]

    Definition Classes
    OptionBaseMatchers
  124. def beNull[T]: BeNull[T]

    matches if the value is null

    matches if the value is null

    Definition Classes
    AnyBaseMatchers
  125. def beOneOf[T](t: T*): Matcher[T]

    matches if t.

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

    Definition Classes
    AnyBaseMatchers
  126. def beReadable[T <: AnyRef { def getPath(): String }]: Matcher[T]

    matches if file.

    matches if file.canRead

    Definition Classes
    FileBaseMatchers
  127. def beRight[T]: RightMatcher[T]

    Definition Classes
    EitherBaseMatchers
  128. def beRight[T](t: ⇒ T): Matcher[Either[_, T]]

    Definition Classes
    EitherBaseMatchers
  129. def beSome[T]: SomeMatcher[T]

    Definition Classes
    OptionBaseMatchers
  130. def beSome[T](t: ⇒ T): Matcher[Option[T]]

    Definition Classes
    OptionBaseMatchers
  131. def beSorted[T](implicit arg0: Ordering[T]): OrderingMatcher[T]

    returns

    a matcher checking if the elements are ordered

    Definition Classes
    TraversableBaseMatchers
  132. def beTheSameAs[T <: AnyRef](t: ⇒ T): BeTheSameAs[T]

    matches if a eq b

    matches if a eq b

    Definition Classes
    AnyBaseMatchers
  133. def beTrue: BeTrueMatcher

    matches if a == true

    matches if a == true

    Definition Classes
    AnyBaseMatchers
  134. def beTypedEqualTo[T](t: ⇒ T, equality: (T, T) ⇒ Boolean): BeTypedEqualTo[T]

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  135. def beWritable[T <: AnyRef { def getPath(): String }]: Matcher[T]

    matches if file.

    matches if file.canWrite

    Definition Classes
    FileBaseMatchers
  136. def be[[T](t1: T, t2: T)(implicit arg0: (T) ⇒ Ordered[T]): BetweenMatcher[T]

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

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

    Definition Classes
    NumericBaseMatchers
  137. def be][T](t1: T, t2: T)(implicit arg0: (T) ⇒ Ordered[T]): BetweenMatcher[T]

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

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

    Definition Classes
    NumericBaseMatchers
  138. def be_!=[T](t: ⇒ T): Matcher[Any]

    matches if a != b

    matches if a != b

    Definition Classes
    AnyBaseMatchers
  139. def be_!=/(a: String): AdaptableMatcher[Any]

    matches if a.

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

    Definition Classes
    StringBaseMatchers
  140. def be_!==[T](t: ⇒ T): Matcher[T]

    matches if a != b

    matches if a != b

    Definition Classes
    AnyBaseMatchers
  141. def be_<[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    alias for beLessThan

    alias for beLessThan

    Definition Classes
    NumericBaseMatchers
  142. def be_<=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]

    alias for beLessThanOrEqualTo

    alias for beLessThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  143. def be_==[T](t: ⇒ T): BeEqualTo

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  144. def be_==/(node: Elem): EqualIgnoringSpaceMatcher

    alias for beEqualToIgnoringSpace

    alias for beEqualToIgnoringSpace

    Definition Classes
    XmlBaseMatchers
  145. def be_==/(node: Seq[Node]): EqualIgnoringSpaceMatcher

    alias for beEqualToIgnoringSpace

    alias for beEqualToIgnoringSpace

    Definition Classes
    XmlBaseMatchers
  146. def be_==/(a: String): AdaptableMatcher[Any]

    matches if a.

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

    Definition Classes
    StringBaseMatchers
  147. def be_===[T](t: ⇒ T): BeTypedEqualTo[T]

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  148. def be_==~[T, S](s: ⇒ S)(implicit convert: (S) ⇒ T): Matcher[T]

    matches if a == b after an implicit conversion

    matches if a == b after an implicit conversion

    Definition Classes
    AnyBaseMatchers
  149. def be_>[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    alias for beGreaterThan

    alias for beGreaterThan

    Definition Classes
    NumericBaseMatchers
  150. def be_>=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    alias for beGreaterThanOrEqualTo

    alias for beGreaterThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  151. def between[T](t1: T, t2: T)(implicit arg0: (T) ⇒ Ordered[T]): BetweenMatcher[T]

    Definition Classes
    NumericBaseMatchers
  152. implicit def booleanExample(expression: ⇒ Boolean): Example

    Definition Classes
    AutoExamples → AutoExamplesLowImplicits
  153. implicit def booleanFragments(expression: ⇒ Boolean): Fragments

    this implicit def is necessary when the expression is at the start of the spec

    this implicit def is necessary when the expression is at the start of the spec

    Definition Classes
    AutoExamplesLowImplicits
  154. implicit def booleanFragmentsFragment(expression: ⇒ Boolean): BooleanResultFragment

    this implicit def is necessary when the expression is at the start of the spec

    this implicit def is necessary when the expression is at the start of the spec

    Definition Classes
    AutoExamplesLowImplicits
  155. def br: Br

  156. def bt(n: Int): Backtab

  157. def bt: Backtab

  158. implicit def canBeEqual[T](t: ⇒ T): CanBeEqualExpectation[T]

    A value can be tested against another with the === operator.

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

    Definition Classes
    CanBeEqual
  159. def canRead(path: String): Boolean

    returns

    true if the file can be read

    Definition Classes
    FileSystem
  160. def canWrite(path: String): Boolean

    returns

    true if the file can be written

    Definition Classes
    FileSystem
  161. def canonicalPath[T <: AnyRef { def getPath(): String }](path: String): Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  162. def checkFailure[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
    protected
    Definition Classes
    Expectations
  163. 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
    protected
    Definition Classes
    ThrownExpectations → Expectations
  164. def checkResultFailure(r: Result): Result

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

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

    Attributes
    protected
    Definition Classes
    ThrownExpectations → Expectations
  165. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  166. def closeTo[S](delta: Delta[S])(implicit arg0: Numeric[S]): Matcher[S]

    Definition Classes
    NumericBaseMatchers
  167. def closeTo[S](n: S, delta: S)(implicit arg0: Numeric[S]): Matcher[S]

    Definition Classes
    NumericBaseMatchers
  168. def colors(c: Colors): Arguments

    shortcut to set new Colors

    shortcut to set new Colors

    Definition Classes
    ArgumentsShortcuts
  169. implicit def combineBoolean(b: ⇒ Boolean): ResultLogicalCombinator

    Definition Classes
    ResultLogicalCombinators
  170. implicit def combineMatchResult[T](m: ⇒ MatchResult[T]): MatchResultCombinator[T]

    Definition Classes
    MatchResultLogicalCombinators
  171. implicit def combineResult(r: ⇒ Result): ResultLogicalCombinator

    Definition Classes
    ResultLogicalCombinators
  172. def contain(t: Char): Matcher[String]

    matches if (b contains a)

    matches if (b contains a)

    Definition Classes
    StringBaseMatchers
  173. def contain(t: String): Matcher[String]

    matches if (b contains a)

    matches if (b contains a)

    Definition Classes
    StringBaseMatchers
  174. def contain[T](t: LazyParameter[T]*): ContainMatcher[T]

    match if traversable contains (t1, t2)

    match if traversable contains (t1, t2)

    Definition Classes
    TraversableBaseMatchers
  175. def contain[T](t: ⇒ T): ContainMatcher[T]

    match if an traversable contains (t).

    match if an traversable contains (t). This definition looks redundant with the one below but it is necessary to avoid the implicit argThat method from Mockito to infer an improper matcher

    Definition Classes
    TraversableBaseMatchers
    See also

    the HtmlPrinterSpec failing with a NPE if that method is missing

  176. def containAllOf[T](seq: Seq[T]): ContainMatcher[T]

    match if traversable contains (seq2).

    match if traversable contains (seq2). n is a dummy paramter to allow overloading

    Definition Classes
    TraversableBaseMatchers
  177. def containAnyOf[T](seq: Seq[T]): ContainAnyOfMatcher[T]

    match if traversable contains one of (t1, t2)

    match if traversable contains one of (t1, t2)

    Definition Classes
    TraversableBaseMatchers
  178. def containLines[L1, L2](ls2: L2)(implicit arg0: LinesContent[L1], arg1: LinesContent[L2]): LinesComparisonMatcher[L1, L2]

    matches if 1 lines content contains the lines of the other one

    matches if 1 lines content contains the lines of the other one

    Definition Classes
    ContentBaseMatchers
  179. def containMatch[T](t: ⇒ String): ContainLikeMatcher[T]

    match if traversable contains (x matches .

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

    Definition Classes
    TraversableBaseMatchers
  180. def containPattern[T](t: ⇒ String): ContainLikeMatcher[T]

    match if traversable contains (x matches p)

    match if traversable contains (x matches p)

    Definition Classes
    TraversableBaseMatchers
  181. def containTheSameElementsAs[T](seq: Seq[T]): Matcher[Traversable[T]]

    does a containAll comparison in both ways

    does a containAll comparison in both ways

    Definition Classes
    TraversableBaseMatchers
  182. def containing(s: String): Matcher[String]

    Definition Classes
    StringBeHaveMatchers
  183. implicit def contextAsResult[T, M[_] <: MatchResult[_]](implicit context: Context = defaultContext): AsResult[M[T]]

    transform a context to a result to allow the implicit passing of a context to each example

  184. def copy(input: InputStream, output: OutputStream): Unit

    Copy an input stream to an output stream.

    Copy an input stream to an output stream.

    input

    input stream

    output

    output stream

    Definition Classes
    FileSystem
  185. def copyDir(src: String, dest: String): Unit

    copy the content of a directory to another.

    copy the content of a directory to another.

    dest

    destination directory path

    Definition Classes
    FileSystem
  186. def copyDir(url: URL, dest: String): Unit

    copy the content of a directory to another.

    copy the content of a directory to another.

    url

    url of the directory to copy

    dest

    destination directory path

    Definition Classes
    FileSystem
  187. def copyFile(path: String, dest: String): Unit

    Copy the content of a directory to another.

    Copy the content of a directory to another.

    path

    path of the file to copy

    dest

    destination directory path

    Definition Classes
    FileSystem
  188. def copySpecResourcesDir(src: String, outputDir: String): Unit

    Copy specs resources found either in the specs jar or in the classpath directories to an output directory

    Copy specs resources found either in the specs jar or in the classpath directories to an output directory

    src

    name of the resource directory to copy

    outputDir

    output directory where to copy the files to

    Definition Classes
    FileSystem
  189. def createDir(path: String): Boolean

    creates a directory for a given path

    creates a directory for a given path

    Definition Classes
    FileSystem
  190. def createExpectable[T](t: ⇒ T, alias: Option[(String) ⇒ String]): Expectable[T]

    returns

    an Expectable with a description function

    Definition Classes
    ThrownExpectations → Expectations
  191. def createExpectable[T](t: ⇒ T, alias: (String) ⇒ String): Expectable[T]

    returns

    an Expectable with a description function

    Definition Classes
    Expectations
  192. def createExpectable[T](t: ⇒ T, alias: ⇒ String): Expectable[T]

    returns

    an Expectable with a description

    Definition Classes
    Expectations
  193. def createExpectable[T](t: ⇒ T): Expectable[T]

    returns

    an Expectable

    Definition Classes
    Expectations
  194. def createExpectableWithShowAs[T](t: ⇒ T, show: ⇒ String): Expectable[T]

    returns

    an Expectable with a function to show the element T

    Definition Classes
    ThrownExpectations → Expectations
  195. def createFile(path: String): AnyVal

    creates a file for a given path.

    creates a file for a given path. Create the parent directory if necessary.

    Definition Classes
    FileWriter
  196. def createMustExpectable[T](t: ⇒ T): MustExpectable[T]

    Attributes
    protected
    Definition Classes
    MustThrownExpectations → MustExpectations
  197. def createShouldExpectable[T](t: ⇒ T): ShouldExpectable[T]

    Attributes
    protected
    Definition Classes
    ShouldThrownExpectations → ShouldExpectations
  198. implicit def dataTableExample[T](result: ⇒ DecoratedResult[T]): Example

    Definition Classes
    AutoExamples
  199. implicit def dataTableFragments[T](result: ⇒ DecoratedResult[T]): Fragments

    specific implicits for datatables

    specific implicits for datatables

    Definition Classes
    AutoExamples
  200. implicit def debug[T](t: ⇒ T): Debuggable[T]

    Definition Classes
    Debug
  201. val defaultContext: Context

    Attributes
    protected[org.specs2]
    Definition Classes
    Contexts
  202. def definedAt[K](values: K*): Matcher[PartialFunction[K, Any]]

    Definition Classes
    MapBeHaveMatchers
  203. def definedBy[K, V](values: (K, V)*): Matcher[PartialFunction[K, V]]

    Definition Classes
    MapBeHaveMatchers
  204. def delete(path: String): Boolean

    delete a file

    delete a file

    Definition Classes
    FileWriter
  205. def descFromExpectations: Arguments

    shortcut to display the example descriptions from the expectations ok messages

    shortcut to display the example descriptions from the expectations ok messages

    Definition Classes
    ArgumentsShortcuts
  206. implicit def describe[T](t: ⇒ T): Descriptible[T]

    describe a value with the aka method

    describe a value with the aka method

    Definition Classes
    Expectations
  207. implicit def describeExpectation(description: String): ExpectationDescription

    Definition Classes
    ExpectationsDescription
  208. implicit def described(s: String): Described

    Definition Classes
    FragmentsBuilder
  209. def diffs(show: Boolean = true, separators: String = "[]", triggerSize: Int = 20, diffRatio: Int = 30, shortenSize: Int = 5, full: Boolean = false): Arguments

    shortcut to display the differences with some specific parameters

    shortcut to display the differences with some specific parameters

    Definition Classes
    ArgumentsShortcuts
  210. implicit def doAfter[T](t: ⇒ T)(implicit arg0: AsResult[T]): AfterResult[T]

    add an after action to any kind of result

    add an after action to any kind of result

    Definition Classes
    Contexts
  211. implicit def doAround[T](t: ⇒ T)(implicit arg0: AsResult[T]): AroundResult[T]

    add an Around function to any kind of result

    add an Around function to any kind of result

    Definition Classes
    Contexts
  212. implicit def doBefore[T](t: ⇒ T)(implicit arg0: AsResult[T]): BeforeResult[T]

    add a before action to any kind of result

    add a before action to any kind of result

    Definition Classes
    Contexts
  213. def done: Success

    Definition Classes
    StandardResults
  214. implicit def downcastGiven[X, Y <: X](gv: Given[Y]): Given[X] { def extract(s: String): Y }

    implicit conversion to transform a Given[Y] to Given[X] when Y <: X

    implicit conversion to transform a Given[Y] to Given[X] when Y <: X

    Definition Classes
    RegexSteps
  215. def eg[T](expression: ⇒ DecoratedResult[T])(implicit p: ImplicitParam): Example

    explicit call

    explicit call

    Definition Classes
    AutoExamples
  216. def eg(expression: ⇒ Result): Fragment

    explicit call The result type is different from the eg method to create examples in order to avoid an overloading error

    explicit call The result type is different from the eg method to create examples in order to avoid an overloading error

    Definition Classes
    AutoExamplesLowImplicits
  217. def eg(expression: ⇒ Boolean): Fragments

    explicit call.

    explicit call. The result type is different from the eg method to create examples in order to avoid an overloading error

    Definition Classes
    AutoExamplesLowImplicits
  218. def eg(expression: ⇒ MatchResult[_]): Example

    explicit call

    explicit call

    Definition Classes
    AutoExamplesLowImplicits
  219. def empty[T <: Any { def isEmpty: Boolean }]: Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  220. def end: End

  221. def endWith(t: ⇒ String): Matcher[String]

    matches if b.

    matches if b.endsWith(a)

    Definition Classes
    StringBaseMatchers
  222. def endbr: Fragments

  223. def endingWith(s: ⇒ String): Matcher[String]

    Definition Classes
    StringBeHaveMatchers
  224. def endp: Fragments

  225. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  226. def equalTo[T](t: ⇒ T): BeEqualTo

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  227. def equalToIgnoringSep(other: String): PathMatcher

    Definition Classes
    PathBeHaveMatchers
  228. def equalToIgnoringSpace(node: Elem): EqualIgnoringSpaceMatcher

    alias for beEqualToIgnoringSpace

    alias for beEqualToIgnoringSpace

    Definition Classes
    XmlBaseMatchers
  229. def equalToIgnoringSpace(node: Seq[Node]): EqualIgnoringSpaceMatcher

    alias for beEqualToIgnoringSpace

    alias for beEqualToIgnoringSpace

    Definition Classes
    XmlBaseMatchers
  230. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  231. def eventually[T](nested: ⇒ Matcher[T]): Matcher[T]

    returns

    a matcher that will retry the nested matcher 40 times

    Definition Classes
    EventuallyMatchers
  232. def eventually[T](retries: Int, sleep: Duration)(nested: ⇒ Matcher[T]): Matcher[T]

    returns

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

    Definition Classes
    EventuallyMatchers
  233. def eventually[T](result: ⇒ T)(implicit arg0: AsResult[T]): T

    returns

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

    Definition Classes
    EventuallyResults
  234. def eventually[T](retries: Int, sleep: Duration)(result: ⇒ T)(implicit arg0: AsResult[T]): T

    returns

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

    Definition Classes
    EventuallyResults
  235. lazy val exampleDepth: Int

    Definition Classes
    AutoExamples → AutoExamplesLowImplicits
  236. implicit def exampleFactory: ExampleFactory

    Definition Classes
    ExamplesFactory → ExamplesFactory
  237. def exclude(tags: String): Arguments

    shortcut to exclude some tagged fragments

    shortcut to exclude some tagged fragments

    Definition Classes
    ArgumentsShortcuts
  238. def excludeAlsoTrace(patterns: String*): IncludeExcludeStackTraceFilter

    shortcut to add exclude trace patterns

    shortcut to add exclude trace patterns

    Definition Classes
    ArgumentsShortcuts
  239. 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

    Definition Classes
    ArgumentsShortcuts
  240. def exist[T <: AnyRef { def getPath(): String }]: Matcher[T]

    matches if file.

    matches if file.exists

    Definition Classes
    FileBaseMatchers
  241. def exists(path: String): Boolean

    returns

    true if the file exists

    Definition Classes
    FileWriter
  242. def failure(f: Failure): Nothing

    Attributes
    protected
    Definition Classes
    ThrownExpectations
  243. def failure(m: String): Nothing

    Attributes
    protected
    Definition Classes
    ThrownExpectations
  244. def failure: Failure

    Definition Classes
    ThrownExpectations → StandardResults
  245. implicit val fileContentForMatchers: LinesContent[File]

    Attributes
    protected
    Definition Classes
    ContentBaseMatchers
  246. def filePaths(basePath: String = ".", path: String = "*", verbose: Boolean = false): Seq[String]

    path

    glob expression, for example: ./dir/**/.xml

    returns

    the list of paths represented by the "glob" definition path

    Definition Classes
    FileSystem
  247. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  248. def find(r: Regex): FindMatcherRegex

    matches if the regexp r is found inside b

    matches if the regexp r is found inside b

    Definition Classes
    StringBaseMatchers
  249. def find(p: Pattern): FindMatcherPattern

    matches if the pattern p is found inside b

    matches if the pattern p is found inside b

    Definition Classes
    StringBaseMatchers
  250. def find(a: ⇒ String): FindMatcher

    matches if the regexp a is found inside b

    matches if the regexp a is found inside b

    Definition Classes
    StringBaseMatchers
  251. def findDeep(key: JsonValueSpec, json: JSONType): Option[JSONType]

    returns

    findDeep with a Regex or a String or a String matcher

    Definition Classes
    JsonBaseMatchers
  252. implicit def forExample(s: String): ExampleDesc

    Example creation

    Example creation

    returns

    an Example description from a string, to create a full Example once the body is defined

    Definition Classes
    FragmentsBuilder
  253. def forall[T, U](values: GenTraversableOnce[T])(f: (T) ⇒ MatchResult[U]): MatchResult[Seq[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

    Definition Classes
    MatchersImplicits
  254. def forallWhen[T, U](values: GenTraversable[T])(f: PartialFunction[T, MatchResult[U]]): MatchResult[Seq[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

    Definition Classes
    MatchersImplicits
  255. def foreach[T, U](values: GenTraversableOnce[T])(f: (T) ⇒ MatchResult[U]): MatchResult[Seq[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

    Definition Classes
    MatchersImplicits
  256. def foreachWhen[T, U](values: GenTraversable[T])(f: PartialFunction[T, MatchResult[U]]): MatchResult[Seq[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

    Definition Classes
    MatchersImplicits
  257. implicit def fragmentAndFormattingFragment[T <: Fragment](f: ⇒ T): FragmentAndFormattingFragment[T]

    This implicit allows to follow a fragment by a Formatting fragment

    This implicit allows to follow a fragment by a Formatting fragment

    Definition Classes
    FormattingFragments
  258. implicit def fragmentFragments(f: ⇒ Fragment): FragmentsFragment

    Definition Classes
    FragmentsBuilder
  259. def fragments: Fragments

    Attributes
    protected[org.specs2]
    Definition Classes
    FragmentsBuilder
  260. implicit def fragments(f: ⇒ Fragment): Fragments

    returns

    a Fragments object from a single Fragment

    Definition Classes
    FragmentsBuilder
  261. implicit def fragmentsAndFormattingFragment(f: ⇒ Fragments): FragmentsAndFormattingFragment

    This implicit allows to follow a Fragments object by a Formatting fragment

    This implicit allows to follow a Fragments object by a Formatting fragment

    Definition Classes
    FormattingFragments
  262. implicit def fragmentsFragmentAndFormattingFragment(f: ⇒ FragmentsFragment): FragmentsFragmentAndFormattingFragment

    This implicit allows to follow a FragmentsFragment object by a Formatting fragment

    This implicit allows to follow a FragmentsFragment object by a Formatting fragment

    Definition Classes
    FormattingFragments
  263. implicit def fragmentsFragmentToFragments(fs: FragmentsFragment): Fragments

    reverse conversion from a Fragment containing a Fragments object to the Fragments object

    reverse conversion from a Fragment containing a Fragments object to the Fragments object

    Definition Classes
    FragmentsBuilder
  264. implicit def fragmentsFragments(fs: ⇒ Fragments): FragmentsFragment

    Definition Classes
    FragmentsBuilder
  265. def freetext: Arguments

    shortcut to not executing the text and avoid automatic indentation

    shortcut to not executing the text and avoid automatic indentation

    Definition Classes
    ArgumentsShortcuts
  266. implicit def fromMatchResult(r: ⇒ MatchResult[_]): Boolean

    implicit definition to accept any MatchResult as a Boolean value.

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

    Definition Classes
    MatchResultImplicits
  267. def fullStackTrace: Arguments

    shortcut to filter nothing

    shortcut to filter nothing

    Definition Classes
    ArgumentsShortcuts
  268. implicit def functionAndKoMessageToMatcher[T](f: ((T) ⇒ Boolean, (T) ⇒ String)): Matcher[T]

    This method transform a function to a Matcher

    This method transform a function to a Matcher

    Definition Classes
    MatchersImplicits
  269. implicit def functionAndMessagesToMatcher[T](f: ((T) ⇒ Boolean, (T) ⇒ String, (T) ⇒ String)): Matcher[T]

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

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

    Definition Classes
    MatchersImplicits
  270. implicit def functionToMatcher[T](f: ((T) ⇒ Boolean, String)): Matcher[T]

    This method transform a function to a Matcher

    This method transform a function to a Matcher

    Definition Classes
    MatchersImplicits
  271. implicit def functionToMatcher2[T](f: ((T) ⇒ Boolean, String, String)): Matcher[T]

    This method transform a function to a Matcher

    This method transform a function to a Matcher

    Definition Classes
    MatchersImplicits
  272. def getAbsolutePath(path: String): String

    returns

    the file absolute path

    Definition Classes
    FileSystem
  273. def getCanonicalPath(path: String): String

    returns

    the file canonical path

    Definition Classes
    FileSystem
  274. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  275. def getName(path: String): String

    returns

    the file name

    Definition Classes
    FileSystem
  276. def getParent(path: String): String

    returns

    the file parent path

    Definition Classes
    FileSystem
  277. def getWriter(path: String, append: Boolean = false): Writer

    The getWriter function can be overriden to provide a mock writer writing to the console for example

    The getWriter function can be overriden to provide a mock writer writing to the console for example

    returns

    a Writer object opened on the file designated by path

    Definition Classes
    FileWriter
  278. def globToPattern(glob: String): String

    returns

    the regular expression equivalent to a glob pattern (see the specs for Fragments)

    Definition Classes
    FileSystem
  279. def greaterThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Definition Classes
    NumericBaseMatchers
  280. def greaterThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Definition Classes
    NumericBaseMatchers
  281. def groupAs(groupRegex: String): ReadAs

    factory method to create a Given or a Then element from a regex, using a regex denoting groups to extract

    factory method to create a Given or a Then element from a regex, using a regex denoting groups to extract

    Definition Classes
    RegexStepsFactory
  282. implicit def gwtToFragment(s: String): GWTToFragment

    Create GWT fragments with the << syntax for a mutable specification

    Create GWT fragments with the << syntax for a mutable specification

    Definition Classes
    FragmentsBuilder
  283. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  284. def have: NeutralMatcher[Any]

    Definition Classes
    BeHaveMatchers
  285. def have[T](function: (T) ⇒ Boolean): Matcher[GenTraversableOnce[T]]

    Matches if there is one element in the traversable verifying the function parameter: (traversable.exists(function(_))

    Matches if there is one element in the traversable verifying the function parameter: (traversable.exists(function(_))

    Definition Classes
    TraversableBaseMatchers
  286. def haveAbsolutePath[T <: AnyRef { def getPath(): String }](path: String): Matcher[T]

    matches if file.

    matches if file.getAbsolutePath == path

    Definition Classes
    FileBaseMatchers
  287. def haveAllElementsLike[T, S](like: PartialFunction[T, MatchResult[S]]): HaveAllElementsLike[T, S]

    Matches if all the elements are matching a "like" function

    Matches if all the elements are matching a "like" function

    Definition Classes
    TraversableBaseMatchers
  288. def haveAsAbsolutePath(path: String): PathMatcher

    matches if new File(path).

    matches if new File(path).getAbsolutePath == absolutePath

    Definition Classes
    PathBaseMatchers
  289. def haveAsCanonicalPath(path: String): PathMatcher

    matches if new File(path).

    matches if new File(path).getCanonicalPath == canonicalPath

    Definition Classes
    PathBaseMatchers
  290. def haveCanonicalPath[T <: AnyRef { def getPath(): String }](path: String): Matcher[T]

    matches if file.

    matches if file.getCanonicalPath == path

    Definition Classes
    FileBaseMatchers
  291. def haveClass[T](implicit arg0: ClassTag[T]): Matcher[Any]

    matches if v.

    matches if v.getClass == c

    Definition Classes
    AnyBaseMatchers
  292. def haveInterface[T](implicit arg0: ClassTag[T]): Matcher[Any]

    matches if x.

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

    Definition Classes
    AnyBaseMatchers
  293. def haveKey[K](k: K): Matcher[Iterable[(K, Any)]]

    matches if map.

    matches if map.contains(k)

    Definition Classes
    MapBaseMatchers
  294. def haveKeys[K](keys: K*): Matcher[Iterable[(K, Any)]]

    matches if map.

    matches if map.contains(k) forall key k

    Definition Classes
    MapBaseMatchers
  295. def haveLength[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  296. def haveList[T <: AnyRef { def getPath(): String }](list: String): Matcher[T]

    matches if file.

    matches if file.list == list

    Definition Classes
    FileBaseMatchers
  297. def haveName[T <: AnyRef { def getPath(): String }](name: String): Matcher[T]

    matches if file.

    matches if file.getName == name

    Definition Classes
    FileBaseMatchers
  298. def haveOneElementLike[T, S](like: PartialFunction[T, MatchResult[S]]): HaveOneElementLike[T, S]

    Matches if there is at least one matching a "like" function

    Matches if there is at least one matching a "like" function

    Definition Classes
    TraversableBaseMatchers
  299. def havePair[K, V](p: (K, V)): Matcher[Iterable[(K, V)]]

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

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

    Definition Classes
    MapBaseMatchers
  300. 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

    Definition Classes
    MapBaseMatchers
  301. def haveParent[T <: AnyRef { def getPath(): String }](path: String): Matcher[T]

    matches if file.

    matches if file.getParent == path

    Definition Classes
    FileBaseMatchers
  302. def haveParentPath(parent: String): PathMatcher

    matches if new File(path).

    matches if new File(path).getParent == parent

    Definition Classes
    PathBaseMatchers
  303. def havePathName(name: String): PathMatcher

    matches if new File(path).

    matches if new File(path).getName == name

    Definition Classes
    PathBaseMatchers
  304. def haveSameLines[L1, L2](implicit arg0: LinesContent[L1], arg1: LinesContent[L2]): LinesPairComparisonMatcher[L1, L2]

    matches if 2 contents, as a pair, have the same lines

    matches if 2 contents, as a pair, have the same lines

    Definition Classes
    ContentBaseMatchers
  305. def haveSameLinesAs[L1, L2](ls2: L2)(implicit arg0: LinesContent[L1], arg1: LinesContent[L2]): LinesComparisonMatcher[L1, L2]

    matches if 2 contents have the same lines

    matches if 2 contents have the same lines

    Definition Classes
    ContentBaseMatchers
  306. def haveSize[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]

    match if there is a way to size T

    match if there is a way to size T

    Definition Classes
    TraversableBaseMatchers
  307. def haveSuperclass[T](implicit arg0: ClassTag[T]): Matcher[Any]

    matches if c.

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

    Definition Classes
    AnyBaseMatchers
  308. def haveTheSameElementsAs[T](l: ⇒ Traversable[T], equality: (T, T) ⇒ Boolean): HaveTheSameElementsAs[T]

    Matches if there l contains the same elements as the Traversable traversable.

    Matches if there l contains the same elements as the Traversable traversable.
    This verification does not consider the order of the elements but checks the traversables recursively

    Definition Classes
    TraversableBaseMatchers
  309. def haveValue[V](v: V): Matcher[Iterable[(Any, V)]]

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

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

    Definition Classes
    MapBaseMatchers
  310. 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

    Definition Classes
    MapBaseMatchers
  311. def hidden[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  312. implicit lazy val implicitParam: ImplicitParam

    Definition Classes
    ImplicitParameters
  313. implicit lazy val implicitParam1: ImplicitParam1

    Definition Classes
    ImplicitParameters
  314. implicit lazy val implicitParam10: ImplicitParam10

    Definition Classes
    ImplicitParameters
  315. implicit lazy val implicitParam2: ImplicitParam2

    Definition Classes
    ImplicitParameters
  316. implicit lazy val implicitParam3: ImplicitParam3

    Definition Classes
    ImplicitParameters
  317. implicit lazy val implicitParam4: ImplicitParam4

    Definition Classes
    ImplicitParameters
  318. implicit lazy val implicitParam5: ImplicitParam5

    Definition Classes
    ImplicitParameters
  319. implicit lazy val implicitParam6: ImplicitParam6

    Definition Classes
    ImplicitParameters
  320. implicit lazy val implicitParam7: ImplicitParam7

    Definition Classes
    ImplicitParameters
  321. implicit lazy val implicitParam8: ImplicitParam8

    Definition Classes
    ImplicitParameters
  322. implicit lazy val implicitParam9: ImplicitParam9

    Definition Classes
    ImplicitParameters
  323. implicit lazy val implicitsAreAllowed: implicitConversions

    Definition Classes
    LanguageFeatures
  324. implicit def inExample(s: String): InExample

    add a new example using 'in' or '>>' or '!'

    add a new example using 'in' or '>>' or '!'

    Definition Classes
    FragmentsBuilder
  325. implicit def inScope(s: Scope): Success

    transform a scope to a success to be able to create traits containing any variables and usable in any Examples

    transform a scope to a success to be able to create traits containing any variables and usable in any Examples

    Definition Classes
    FragmentsBuilder
  326. def include(tags: String): Arguments

    shortcut to include only some tagged fragments

    shortcut to include only some tagged fragments

    Definition Classes
    ArgumentsShortcuts
  327. def include(f: Fragments): FragmentsFragment

  328. def include(args: Arguments, f: Fragments, fs: Fragments*): FragmentsFragment

    Definition Classes
    SpecificationInclusion
  329. def include(args: Arguments, f: Fragments): FragmentsFragment

    Definition Classes
    SpecificationInclusion
  330. def include(args: Arguments, s: SpecificationStructure, ss: SpecificationStructure*): FragmentsFragment

    Definition Classes
    SpecificationInclusion
  331. def include(args: Arguments, s: SpecificationStructure): FragmentsFragment

    Definition Classes
    SpecificationInclusion
  332. def include(s: SpecificationStructure, ss: SpecificationStructure*): FragmentsFragment

    Definition Classes
    SpecificationInclusion
  333. implicit def include(s: SpecificationStructure): FragmentsFragment

    Definition Classes
    SpecificationInclusion
  334. def include(f: Fragments, fs: Fragments*): FragmentsFragment

    Definition Classes
    SpecificationInclusion
  335. def includeAlsoTrace(patterns: String*): IncludeExcludeStackTraceFilter

    shortcut to add include trace patterns

    shortcut to add include trace patterns

    Definition Classes
    ArgumentsShortcuts
  336. 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

    Definition Classes
    ArgumentsShortcuts
  337. def inline(specs: SpecificationStructure*): Fragments

    add the fragments of another specification without start and end

    add the fragments of another specification without start and end

    Definition Classes
    SpecificationInclusion → SpecificationInclusion
  338. def inputStream(filePath: String): InputStream

    returns

    a FileInputStream for a given file path

    Definition Classes
    FileReader
  339. implicit def intToRichLong(v: Int): longAsTime

    Definition Classes
    TimeConversions
  340. def interface[T](implicit arg0: ClassTag[T]): Matcher[Any]

    Definition Classes
    AnyBeHaveMatchers
  341. def isAbsolute(path: String): Boolean

    returns

    true if the file is absolute

    Definition Classes
    FileSystem
  342. def isDir(path: String): Boolean

    returns

    true if the File represented by this path is a directory

    Definition Classes
    FileSystem
  343. def isDirectory(path: String): Boolean

    returns

    true if the file is a directory

    Definition Classes
    FileSystem
  344. def isFile(path: String): Boolean

    returns

    true if the file is a file

    Definition Classes
    FileSystem
  345. def isHidden(path: String): Boolean

    returns

    true if the file is hidden

    Definition Classes
    FileSystem
  346. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  347. def isolated: Arguments

    returns

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

    Definition Classes
    ArgumentsShortcuts
  348. implicit def javaCollectionIsSized[T <: Collection[_]]: Sized[T]

    any java collection has a size

    any java collection has a size

    Definition Classes
    TraversableBaseMatchers
  349. def key[K](k: K): Matcher[Iterable[(K, Any)]]

    Definition Classes
    MapBeHaveMatchers
  350. def keys[K](ks: K*): Matcher[Iterable[(K, Any)]]

    Definition Classes
    MapBeHaveMatchers
  351. def klass[T](implicit arg0: ClassTag[T]): Matcher[Any]

    Definition Classes
    AnyBeHaveMatchers
  352. def ko(m: String): MatchFailure[None.type]

    Definition Classes
    StandardMatchResults
  353. lazy val ko: MatchFailure[None.type]

    Definition Classes
    StandardMatchResults
  354. implicit def lazyfy[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

    Definition Classes
    LazyParameters
  355. def left[T]: LeftMatcher[Nothing]

    Definition Classes
    EitherBaseMatchers
  356. def left[T](t: ⇒ T): Matcher[Either[T, _]]

    Definition Classes
    EitherBaseMatchers
  357. def length[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  358. def lessThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    Definition Classes
    NumericBaseMatchers
  359. def lessThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]

    Definition Classes
    NumericBaseMatchers
  360. def like[T](pattern: ⇒ PartialFunction[T, MatchResult[_]]): Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  361. def likeA[T](pattern: ⇒ PartialFunction[T, MatchResult[_]]): Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  362. def link(htmlLink: HtmlLink, fs: Fragments): Fragments

    Definition Classes
    FragmentsBuilder → FragmentsBuilder
  363. def link(fss: Seq[Fragments]): Fragments

    add a new link to the Fragments

    add a new link to the Fragments

    Definition Classes
    FragmentsBuilder → FragmentsBuilder
  364. def link(htmlLink: HtmlLink, s: SpecificationStructure): Fragments

    create a link directly on a specification, with a given link

    create a link directly on a specification, with a given link

    Definition Classes
    FragmentsBuilder
  365. def link(fs: Fragments, fss: Fragments*): Fragments

    Definition Classes
    FragmentsBuilder
  366. def link(fs: Fragments): Fragments

    Definition Classes
    FragmentsBuilder
  367. def link(ss: Seq[SpecificationStructure], dummy: Int = 0): Fragments

    Definition Classes
    FragmentsBuilder
  368. def link(s: SpecificationStructure, ss: SpecificationStructure*): Fragments

    Definition Classes
    FragmentsBuilder
  369. def link(s: SpecificationStructure): Fragments

    create a link directly on a specification

    create a link directly on a specification

    Definition Classes
    FragmentsBuilder
  370. def listFiles(path: String): List[String]

    returns

    the files of that directory

    Definition Classes
    FileSystem
  371. def listPaths(list: String*): PathMatcher

    matches if new File(path).

    matches if new File(path).list == list(files)

    Definition Classes
    PathBaseMatchers
  372. def literate: Arguments

    returns

    arguments for a literate specification: no auto indent and a sequential execution

    Definition Classes
    ArgumentsShortcuts
  373. def loadXhtmlFile(filePath: String, report: (Exception, String) ⇒ Unit = defaultLoadXhtmlFileReport, sourceErrors: Boolean = true): NodeSeq

    returns

    the xml content of a file using the Xhtml parser

    if the file contains several nodes, it wraps them up in a single artificial node

    Definition Classes
    FileReader
  374. def loadXmlFile(filePath: String)(report: (Exception) ⇒ Unit = (e:Exception) => e.printStackTrace): NodeSeq

    returns

    the xml content of a file, using the XML parser

    Definition Classes
    FileReader
  375. def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]

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

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

    Attributes
    protected
    Definition Classes
    Expectations
  376. implicit def matchExample(expression: ⇒ MatchResult[_]): Example

    Definition Classes
    AutoExamples → AutoExamplesLowImplicits
  377. implicit def matchFragments(expression: ⇒ MatchResult[_]): Fragments

    this implicit def is necessary when the expression is at the start of the spec The startDepth and offsets are special tweakings to make sure we get the right line in that specific case

    this implicit def is necessary when the expression is at the start of the spec The startDepth and offsets are special tweakings to make sure we get the right line in that specific case

    Definition Classes
    AutoExamplesLowImplicits
  378. implicit def matchFragmentsFragment(expression: ⇒ MatchResult[_]): MatchResultFragment

    this implicit def is necessary when the expression is at the start of the spec

    this implicit def is necessary when the expression is at the start of the spec

    Definition Classes
    AutoExamplesLowImplicits
  379. implicit def matchResultAsResult[T, M[_] <: MatchResult[_]]: AsResult[M[T]]

    implicit typeclass instance to create examples from MatchResults

    implicit typeclass instance to create examples from MatchResults

    Definition Classes
    MatchResultImplicits
  380. implicit def matchResultFunctionToMatcher[T](f: (T) ⇒ MatchResult[_]): Matcher[T]

    This method transform a function returning a MatchResult to a Matcher

    This method transform a function returning a MatchResult to a Matcher

    Definition Classes
    MatchersImplicits
  381. implicit def matchResultSeqAsResult[T]: AsResult[Seq[MatchResult[T]]]

    implicit typeclass instance to create examples from a sequence of MatchResults

    implicit typeclass instance to create examples from a sequence of MatchResults

    Definition Classes
    MatchResultImplicits
  382. implicit def matcherFunction[S, T](f: (S) ⇒ Matcher[T]): MatcherFunction[S, T]

    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

    Definition Classes
    MatchersImplicits
  383. implicit def matcherFunction2[T](f: (T) ⇒ Matcher[T]): MatcherFunction2[T]

    Definition Classes
    MatchersImplicits
  384. implicit def matcherFunction3[S, T](f: (S) ⇒ MatchResult[T]): MatcherFunction3[S, T]

    Definition Classes
    MatchersImplicits
  385. def matching(r: Regex): BeMatchingRegex

    Definition Classes
    StringBeHaveMatchers
  386. def matching(t: Pattern): BeMatchingPattern

    Definition Classes
    StringBeHaveMatchers
  387. def matching(t: ⇒ String): BeMatching

    Definition Classes
    StringBeHaveMatchers
  388. def mkdirs(path: String): Boolean

    creates a new directory

    creates a new directory

    Definition Classes
    FileWriter
  389. def name[T <: AnyRef { def getPath(): String }](name: String): Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  390. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  391. def negateSentence(sentence: String): String

    replace the first occurrence of a verb in the negations table with its negation.

    replace the first occurrence of a verb in the negations table with its negation.

    We first try to negate an existing negation

    Definition Classes
    Sentences
  392. lazy val negationsTable: BiMap[String, String]

    Attributes
    protected
    Definition Classes
    Sentences
  393. def nocolor: Arguments

    shortcut to avoid colored output

    shortcut to avoid colored output

    Definition Classes
    ArgumentsShortcuts
  394. def noindent: Arguments

    shortcut to avoid automatic indentation

    shortcut to avoid automatic indentation

    Definition Classes
    ArgumentsShortcuts
  395. def none: Matcher[Option[Any]]

    Definition Classes
    OptionBaseMatchers
  396. def not: NotMatcher[Any]

    Definition Classes
    BeHaveMatchers
  397. def not[T](m: Matcher[T]): Matcher[T]

    negate a matcher

    negate a matcher

    Definition Classes
    AnyBaseMatchers
  398. final def notify(): Unit

    Definition Classes
    AnyRef
  399. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  400. def ok(m: String): MatchSuccess[None.type]

    Definition Classes
    StandardMatchResults
  401. lazy val ok: MatchSuccess[None.type]

    Definition Classes
    StandardMatchResults
  402. def oneElementLike[T, S](like: PartialFunction[T, MatchResult[S]]): HaveOneElementLike[T, S]

    Definition Classes
    TraversableBaseMatchers
  403. def oneOf[T](t: T*): Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  404. def only(examples: String): Arguments

    shortcut to execute and print only some examples

    shortcut to execute and print only some examples

    Definition Classes
    ArgumentsShortcuts
  405. implicit def orderedSeqMatchResult[T](result: MatchResult[Seq[T]])(implicit arg0: Ordering[T]): OrderedSeqMatchResult[T]

    Definition Classes
    TraversableBeHaveMatchers
  406. implicit def outsideFunctionToResult[T, R](implicit arg0: Outside[T], arg1: AsResult[R]): AsResult[(T) ⇒ R]

    use an available outside context to transform a function returning a value convertible to a result, into a result

  407. def p: Fragments

  408. def pair[K, V](p: (K, V)): Matcher[Iterable[(K, V)]]

    Definition Classes
    MapBeHaveMatchers
  409. implicit def pairFunctionToMatcher[T](f: (T) ⇒ (Boolean, String)): Matcher[T]

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

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

    Definition Classes
    MatchersImplicits
  410. def pairs[K, V](pairs: (K, V)*): Matcher[Iterable[(K, V)]]

    Definition Classes
    MapBeHaveMatchers
  411. def parent[T <: AnyRef { def getPath(): String }](path: String): Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  412. def parentPath(parent: String): PathMatcher

    Definition Classes
    PathBeHaveMatchers
  413. def pathName(name: String): PathMatcher

    Definition Classes
    PathBeHaveMatchers
  414. def paths[T <: AnyRef { def getPath(): String }](list: String): Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  415. def pending(s: Pending): Nothing

    Attributes
    protected
    Definition Classes
    ThrownExpectations
  416. def pending(m: String): Nothing

    Attributes
    protected
    Definition Classes
    ThrownExpectations
  417. def pending: Pending

    Definition Classes
    ThrownExpectations → StandardResults
  418. def plan: Arguments

    shortcut to show only the text without any execution

    shortcut to show only the text without any execution

    Definition Classes
    ArgumentsShortcuts
  419. implicit lazy val postfixOpsAreAllowed: postfixOps

    Definition Classes
    LanguageFeatures
  420. def readAs(regex: String): ReadAs

    factory method to create a Given or a Then element from a regex

    factory method to create a Given or a Then element from a regex

    Definition Classes
    RegexStepsFactory
  421. def readFile(path: String): String

    reads the content of a file

    reads the content of a file

    path

    the path of the file to read

    returns

    the content of the file at path

    Definition Classes
    FileReader
  422. def readLines(path: String): IndexedSeq[String]

    Definition Classes
    FileReader
  423. def readable[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  424. implicit val regexToJSonValueSpec: ToJsonValueSpec[Regex]

    Definition Classes
    JsonBaseMatchers
  425. def removeDir(path: String): String

    deletes the directory and all directory content at the specified path and return the parent path of that directory

    deletes the directory and all directory content at the specified path and return the parent path of that directory

    Definition Classes
    FileSystem
  426. implicit def resultExample(expression: ⇒ Result): Example

    Definition Classes
    AutoExamples → AutoExamplesLowImplicits
  427. implicit def resultFragments(result: ⇒ Result): Fragments

    this implicit def is necessary when the expression is at the start of the spec

    this implicit def is necessary when the expression is at the start of the spec

    Definition Classes
    AutoExamplesLowImplicits
  428. def resultFragmentsFragment(expression: ⇒ Result): ResultFragment

    this implicit def is necessary when the expression is at the start of the spec

    this implicit def is necessary when the expression is at the start of the spec

    Definition Classes
    AutoExamplesLowImplicits
  429. def right[T]: RightMatcher[Nothing]

    Definition Classes
    EitherBaseMatchers
  430. def right[T](t: ⇒ T): Matcher[Either[_, T]]

    Definition Classes
    EitherBaseMatchers
  431. def sameLinesAs[L1, L2](ls2: L2)(implicit arg0: LinesContent[L1], arg1: LinesContent[L2]): LinesComparisonMatcher[L1, L2]

    Definition Classes
    ContentBeHaveMatchers
  432. def samePath(p1: String, p2: String): Boolean

    returns

    true if 2 paths are the same according to their canonical representation

    Definition Classes
    FileSystem
  433. implicit def scalaArrayIsSized[T]: Sized[Array[T]]

    any scala array has a size

    any scala array has a size

    Definition Classes
    TraversableBaseMatchers
  434. implicit def scalaTraversableIsSized[I <: GenTraversable[_]]: Sized[I]

    any scala collection has a size

    any scala collection has a size

    Definition Classes
    TraversableBaseMatchers
  435. implicit def scopeAsResult[S <: Scope]: AsResult[S]

    typeclass to transform a Scope to a Result

    typeclass to transform a Scope to a Result

    Definition Classes
    FragmentsBuilder
  436. def see(htmlLink: HtmlLink, fs: Fragments): Fragments

    Definition Classes
    FragmentsBuilder → FragmentsBuilder
  437. def see(fss: Seq[Fragments]): Fragments

    Definition Classes
    FragmentsBuilder → FragmentsBuilder
  438. def see(htmlLink: HtmlLink, s: SpecificationStructure): Fragments

    create a see-only link directly on a specification, with a given link

    create a see-only link directly on a specification, with a given link

    Definition Classes
    FragmentsBuilder
  439. def see(fs: Fragments, fss: Fragments*): Fragments

    Definition Classes
    FragmentsBuilder
  440. def see(fs: Fragments): Fragments

    Definition Classes
    FragmentsBuilder
  441. def see(s: SpecificationStructure): Fragments

    Definition Classes
    FragmentsBuilder
  442. def see(ss: Seq[SpecificationStructure])(implicit p1: ImplicitParam1): Fragments

    Definition Classes
    FragmentsBuilder
  443. def see(s: SpecificationStructure, ss: SpecificationStructure*): Fragments

    create a html link without including the other specification fragments

    create a html link without including the other specification fragments

    Definition Classes
    FragmentsBuilder
  444. implicit def seqContentForMatchers[T]: LinesContent[Seq[T]]

    Attributes
    protected
    Definition Classes
    SeqsContents
  445. 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

    Definition Classes
    MatchResultImplicits
  446. def sequential: Arguments

    returns

    arguments for a specification where examples must be executed sequentially

    Definition Classes
    ArgumentsShortcuts
  447. def showOnly(s: String): Arguments

    shortcut to print only some statuses

    shortcut to print only some statuses

    Definition Classes
    ArgumentsShortcuts
  448. def silentLoadXhtmlFileReport: (Exception, String) ⇒ Unit

    Definition Classes
    FileReader
  449. def size[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  450. implicit def sized[T](s: MatchResult[T])(implicit arg0: Sized[T]): HasSize[T]

    Definition Classes
    TraversableBeHaveMatchers
  451. def skipAll: Arguments

    shortcut to skip all examples

    shortcut to skip all examples

    Definition Classes
    ArgumentsShortcuts
  452. def skipAllIf(condition: ⇒ Boolean): Arguments

    shortcut to skip all examples when a condition is true.

    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

    Definition Classes
    ArgumentsShortcuts
  453. 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.

    Definition Classes
    ArgumentsShortcuts
  454. def skipped(s: Skipped): Nothing

    Attributes
    protected
    Definition Classes
    ThrownExpectations
  455. def skipped(m: String): Nothing

    Attributes
    protected
    Definition Classes
    ThrownExpectations
  456. def skipped: Skipped

    Definition Classes
    ThrownExpectations → StandardResults
  457. def some[T]: SomeMatcher[T]

    Definition Classes
    OptionBaseMatchers
  458. def some[T](t: ⇒ T): Matcher[Option[T]]

    Definition Classes
    OptionBaseMatchers
  459. def sorted[T](implicit arg0: Ordering[T]): OrderingMatcher[T]

    alias for beSorted

    alias for beSorted

    Definition Classes
    TraversableBaseMatchers
  460. var specFragments: Fragments

    local mutable contents of the specification

    local mutable contents of the specification

    Attributes
    protected[org.specs2.mutable]
    Definition Classes
    FragmentsBuilder
  461. implicit def specIdentificationMarkdownLink(s: String): SpecIdentificationMarkdownLink

    create markdown links from string + spec identification

    create markdown links from string + spec identification

    Definition Classes
    FragmentsBuilder
  462. implicit def specificationStructureToFragments(s: SpecificationStructure): AsFragments

    this implicit allows to call some functions directly on a specification, like 'hide'

    this implicit allows to call some functions directly on a specification, like 'hide'

    Definition Classes
    FragmentsBuilder
  463. def startWith(t: ⇒ String): Matcher[String]

    matches if b.

    matches if b.startsWith(a)

    Definition Classes
    StringBaseMatchers
  464. def startingWith(s: ⇒ String): Matcher[String]

    Definition Classes
    StringBeHaveMatchers
  465. def step(stopOnFail: Boolean = false): Step

    add a new stopOnFail step to the Fragments

    add a new stopOnFail step to the Fragments

    Definition Classes
    FragmentsBuilder
  466. def step(a: ⇒ Any): Step

    add a new step to the Fragments

    add a new step to the Fragments

    Definition Classes
    FragmentsBuilder
  467. def stopOnFail: Arguments

    shortcut to stop after the first failure or error

    shortcut to stop after the first failure or error

    Definition Classes
    ArgumentsShortcuts
  468. def stopOnSkip: Arguments

    shortcut to stop after the first skipped result

    shortcut to stop after the first skipped result

    Definition Classes
    ArgumentsShortcuts
  469. implicit def stringIsSized: Sized[String]

    a regular string has a size, without having to be converted to an Traversable

    a regular string has a size, without having to be converted to an Traversable

    Definition Classes
    TraversableBaseMatchers
  470. 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

    Definition Classes
    StringBaseMatchers
  471. implicit val stringMatcherToJSonValueSpec: ToJsonValueSpec[Matcher[String]]

    Definition Classes
    JsonBaseMatchers
  472. implicit def stringToHtmlLinkFragments(s: String): HtmlLinkFragments

    Links to other specifications creation

    Links to other specifications creation

    Definition Classes
    FragmentsBuilder
    See also

    org.specs2.UserGuide

  473. implicit def stringToHtmlLinkFragments2(s: String): HtmlLinkFragments2

    Definition Classes
    FragmentsBuilder
  474. def success: Success

    Definition Classes
    StandardResults
  475. def superClass[T](implicit arg0: ClassTag[T]): Matcher[Any]

    Definition Classes
    AnyBeHaveMatchers
  476. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  477. def t(n: Int): Tab

  478. def t: Tab

  479. implicit def text(s: String): MutableSpecText

    Definition Classes
    FragmentsBuilder
  480. implicit def textAndFormattingFragment(s: ⇒ String): TextAndFormattingFragment

    This implicit allows to follow a string object by a Formatting fragment

    This implicit allows to follow a string object by a Formatting fragment

    Definition Classes
    FormattingFragments
  481. implicit def textFragment(s: String): FragmentsFragment

    returns

    a Fragments object from a single piece of text

    Definition Classes
    FragmentsBuilder → FragmentsBuilder
  482. implicit def textStart(s: String): Fragments

    returns

    a Fragments object from a string

    Definition Classes
    FragmentsBuilder
  483. implicit def theBlock(t: ⇒ Nothing): MustExpectable[Nothing]

    Definition Classes
    MustExpectations
  484. implicit def theValue[T](t: ⇒ T): MustExpectable[T]

    Definition Classes
    MustExpectations
  485. implicit def thisBlock(t: ⇒ Nothing): ShouldExpectable[Nothing]

    Definition Classes
    ShouldExpectations
  486. implicit def thisValue[T](t: ⇒ T): ShouldExpectable[T]

    Definition Classes
    ShouldExpectations
  487. def throwA[E <: Throwable](e: E): ExceptionMatcher[E]

    returns

    a matcher checking the value of an Exception

    Definition Classes
    ExceptionBaseMatchers
  488. def throwA[E <: Throwable](message: String = ".*")(implicit m: ClassTag[E]): Matcher[Any]

    returns

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

    Definition Classes
    ExceptionBaseMatchers
  489. def throwA[E <: Throwable](implicit m: ClassTag[E]): ExceptionClassMatcher

    returns

    a matcher checking the type of an Exception

    Definition Classes
    ExceptionBaseMatchers
  490. def throwAn[E <: Throwable](e: E): ExceptionMatcher[E]

    alias for throwA

    alias for throwA

    Definition Classes
    ExceptionBaseMatchers
  491. def throwAn[E <: Throwable](message: String = ".*")(implicit m: ClassTag[E]): Matcher[Any]

    alias for throwA

    alias for throwA

    Definition Classes
    ExceptionBaseMatchers
  492. def throwAn[E <: Throwable](implicit m: ClassTag[E]): ExceptionClassMatcher

    alias for throwA

    alias for throwA

    Definition Classes
    ExceptionBaseMatchers
  493. implicit def title(s: String): MutableSpecTitle

    This method allows to add a title to the Specification.

    This method allows to add a title to the Specification. It can be used as an operation on a String: "spec title".title

    returns

    a Fragments object from a string, with the given title

    Definition Classes
    FragmentsBuilder → FragmentsBuilder
  494. implicit def toAnyMatcherResult(result: MatchResult[Any]): AnyMatcherResult

    Definition Classes
    AnyBeHaveMatchers
  495. implicit def toAnyRefMatcherResult[T <: AnyRef](result: MatchResult[T]): AnyRefMatcherResult[T]

    Definition Classes
    AnyBeHaveMatchers
  496. implicit def toBeLikeResultMatcher[T](result: MatchResult[T]): BeLikeResultMatcher[T]

    Definition Classes
    AnyBeHaveMatchers
  497. implicit def toClassMatcherResult(result: MatchResult[Class[_]]): ClassMatcherResult

    Definition Classes
    AnyBeHaveMatchers
  498. implicit def toDifferenceFilter(n: Int): FirstNDifferencesFilter

    Definition Classes
    DifferenceFilters
  499. implicit def toEitherResultMatcher[L, R](result: MatchResult[Either[L, R]]): EitherResultMatcher[L, R]

    Definition Classes
    EitherBeHaveMatchers
  500. implicit def toExceptionMatcher[T](result: MatchResult[T]): ExceptionMatcherResult[T]

    Definition Classes
    ExceptionBeHaveMatchers
  501. implicit def toFileResultMatcher[T <: AnyRef { def getPath(): String }](result: MatchResult[T]): FileResultMatcher[T]

    matcher aliases and implicits to use with BeVerb and HaveVerb

    matcher aliases and implicits to use with BeVerb and HaveVerb

    Definition Classes
    FileBeHaveMatchers
  502. implicit def toJsonPairSpec[K, V](kv: (K, V))(implicit arg0: ToJsonValueSpec[K], arg1: ToJsonValueSpec[V]): JsonPairSpec

    Definition Classes
    JsonBaseMatchers
  503. implicit def toJsonRegex(r: Regex): JsonRegex

    Definition Classes
    JsonBaseMatchers
  504. implicit def toJsonStringMatcher(m: Matcher[String]): JsonStringMatcher

    datatype to specify how json values must be checked

    datatype to specify how json values must be checked

    Definition Classes
    JsonBaseMatchers
  505. implicit def toJsonValue(s: Any): JsonEqualValue

    Definition Classes
    JsonBaseMatchers
  506. implicit def toLinesContentResultMatcher[L1](result: MatchResult[L1])(implicit arg0: LinesContent[L1]): LinesContentResultMatcher[L1]

    matcher aliases and implicits to use with BeVerb and HaveVerb

    matcher aliases and implicits to use with BeVerb and HaveVerb

    Definition Classes
    ContentBeHaveMatchers
  507. implicit def toMapKeyResultMatcher[K](result: MatchResult[Iterable[(K, Any)]]): MapKeyResultMatcher[K]

    Definition Classes
    MapBeHaveMatchers
  508. implicit def toMapResultMatcher[K, V](result: MatchResult[Iterable[(K, V)]]): MapResultMatcher[K, V]

    Definition Classes
    MapBeHaveMatchers
  509. implicit def toMapValueResultMatcher[V](result: MatchResult[Iterable[(Any, V)]]): MapValueResultMatcher[V]

    Definition Classes
    MapBeHaveMatchers
  510. implicit def toNeutralMatcherElem(result: NeutralMatcher[Any]): NeutralMatcherElem

    Definition Classes
    XmlBeHaveMatchers
  511. implicit def toNeutralMatcherNumeric(result: NeutralMatcher[Any]): NeutralMatcherNumeric

    Definition Classes
    NumericBeHaveMatchers
  512. implicit def toNeutralMatcherOrdered(result: NeutralMatcher[Any]): NeutralMatcherOrdered

    Definition Classes
    NumericBeHaveMatchers
  513. implicit def toNeutralStringMatcher(result: NeutralMatcher[Any]): NeutralStringMatcher

    Definition Classes
    StringBeHaveMatchers
  514. implicit def toNotMatcherElem(result: NotMatcher[Any]): NotMatcherElem

    Definition Classes
    XmlBeHaveMatchers
  515. implicit def toNotMatcherJson(result: NotMatcher[Any]): NotMatcherJson

    Definition Classes
    JsonBaseBeHaveMatchers
  516. implicit def toNotStringMatcher(result: NotMatcher[Any]): NotStringMatcher

    Definition Classes
    StringBeHaveMatchers
  517. implicit def toNumericResultMatcher[S](result: MatchResult[S])(implicit arg0: Numeric[S]): NumericResultMatcher[S]

    Definition Classes
    NumericBeHaveMatchers
  518. implicit def toOptionResultMatcher[T](result: MatchResult[Option[T]]): OptionResultMatcher[T]

    Definition Classes
    OptionBeHaveMatchers
  519. implicit def toOrderedResultMatcher[S](result: MatchResult[S])(implicit arg0: (S) ⇒ Ordered[S]): OrderedResultMatcher[S]

    matcher aliases and implicits to use with be + matcher

    matcher aliases and implicits to use with be + matcher

    Definition Classes
    NumericBeHaveMatchers
  520. implicit def toPartialFunctionResultMatcher[K, V](result: MatchResult[PartialFunction[K, V]]): PartialFunctionResultMatcher[K, V]

    Definition Classes
    MapBeHaveMatchers
  521. implicit def toPathResultMatcher(result: MatchResult[String]): PathResultMatcher

    matcher aliases and implicits to use with be / have + matcher

    matcher aliases and implicits to use with be / have + matcher

    Definition Classes
    PathBeHaveMatchers
  522. implicit def toPendingUntilFixed[T](t: ⇒ T)(implicit arg0: AsResult[T]): PendingUntilFixed[T]

    Definition Classes
    PendingUntilFixed
  523. 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

    Definition Classes
    Results
  524. def toString(): String

    Definition Classes
    AnyRef → Any
  525. implicit def toStringResultMatcher(result: MatchResult[String]): StringResultMatcher

    Definition Classes
    StringBeHaveMatchers
  526. implicit def toXmlResultMatcher(result: MatchResult[Seq[Node]]): XmlResultMatcher

    Definition Classes
    XmlBeHaveMatchers
  527. def todo: Pending

    Definition Classes
    StandardResults
  528. implicit def traversable[T](s: MatchResult[GenTraversableOnce[T]]): TraversableBeHaveMatchers[T]

    Definition Classes
    TraversableBeHaveMatchers
  529. implicit def tripletFunctionToMatcher[T](f: (T) ⇒ (Boolean, String, String)): Matcher[T]

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

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

    Definition Classes
    MatchersImplicits
  530. implicit def tupleToSeq10[T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10))(implicit e1: <:<[T1, T], e2: <:<[T2, T], e3: <:<[T3, T], e4: <:<[T4, T], e5: <:<[T5, T], e6: <:<[T6, T], e7: <:<[T7, T], e8: <:<[T8, T], e9: <:<[T9, T], e10: <:<[T10, T]): Seq[T]

    Definition Classes
    TuplesToSeq
  531. implicit def tupleToSeq2[T, T1, T2](t: (T1, T2))(implicit e1: <:<[T1, T], e2: <:<[T2, T]): Seq[T]

    Definition Classes
    TuplesToSeq
  532. implicit def tupleToSeq3[T, T1, T2, T3](t: (T1, T2, T3))(implicit e1: <:<[T1, T], e2: <:<[T2, T], e3: <:<[T3, T]): Seq[T]

    Definition Classes
    TuplesToSeq
  533. implicit def tupleToSeq4[T, T1, T2, T3, T4](t: (T1, T2, T3, T4))(implicit e1: <:<[T1, T], e2: <:<[T2, T], e3: <:<[T3, T], e4: <:<[T4, T]): Seq[T]

    Definition Classes
    TuplesToSeq
  534. implicit def tupleToSeq5[T, T1, T2, T3, T4, T5](t: (T1, T2, T3, T4, T5))(implicit e1: <:<[T1, T], e2: <:<[T2, T], e3: <:<[T3, T], e4: <:<[T4, T], e5: <:<[T5, T]): Seq[T]

    Definition Classes
    TuplesToSeq
  535. implicit def tupleToSeq6[T, T1, T2, T3, T4, T5, T6](t: (T1, T2, T3, T4, T5, T6))(implicit e1: <:<[T1, T], e2: <:<[T2, T], e3: <:<[T3, T], e4: <:<[T4, T], e5: <:<[T5, T], e6: <:<[T6, T]): Seq[T]

    Definition Classes
    TuplesToSeq
  536. implicit def tupleToSeq7[T, T1, T2, T3, T4, T5, T6, T7](t: (T1, T2, T3, T4, T5, T6, T7))(implicit e1: <:<[T1, T], e2: <:<[T2, T], e3: <:<[T3, T], e4: <:<[T4, T], e5: <:<[T5, T], e6: <:<[T6, T], e7: <:<[T7, T]): Seq[T]

    Definition Classes
    TuplesToSeq
  537. implicit def tupleToSeq8[T, T1, T2, T3, T4, T5, T6, T7, T8](t: (T1, T2, T3, T4, T5, T6, T7, T8))(implicit e1: <:<[T1, T], e2: <:<[T2, T], e3: <:<[T3, T], e4: <:<[T4, T], e5: <:<[T5, T], e6: <:<[T6, T], e7: <:<[T7, T], e8: <:<[T8, T]): Seq[T]

    Definition Classes
    TuplesToSeq
  538. implicit def tupleToSeq9[T, T1, T2, T3, T4, T5, T6, T7, T8, T9](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9))(implicit e1: <:<[T1, T], e2: <:<[T2, T], e3: <:<[T3, T], e4: <:<[T4, T], e5: <:<[T5, T], e6: <:<[T6, T], e7: <:<[T7, T], e8: <:<[T8, T], e9: <:<[T9, T]): Seq[T]

    Definition Classes
    TuplesToSeq
  539. def typedEqualTo[T](t: ⇒ T, equality: (T, T) ⇒ Boolean): BeTypedEqualTo[T]

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  540. def unjar(path: String, dirPath: String, regexFilter: String): Unit

    Unjar the jar (or zip file) specified by "path" to the "dest" directory.

    Unjar the jar (or zip file) specified by "path" to the "dest" directory. Filters files which shouldn't be extracted with a regular expression.

    path

    path of the jar file

    regexFilter

    regular expression filtering files which shouldn't be extracted

    Definition Classes
    FileSystem
  541. def unjar(path: String, dest: String): Unit

    Unjar the jar (or zip file) specified by "path" to the "dest" directory.

    Unjar the jar (or zip file) specified by "path" to the "dest" directory.

    path

    path of the jar file

    dest

    destination directory path

    Definition Classes
    FileSystem
  542. implicit def upcastThen[X, Y <: X](th: Then[X]): Then[Y]

    implicit conversion to transform a Then[Y] to Then[X] when Y <: X

    implicit conversion to transform a Then[Y] to Then[X] when Y <: X

    Definition Classes
    RegexSteps
  543. implicit def updowncastWhen[P, Q, R <: P, S >: Q](wh: When[P, Q]): When[R, S]

    implicit conversion to transform a When[P, Q] to When[R, S] when R <: P and S >: Q

    implicit conversion to transform a When[P, Q] to When[R, S] when R <: P and S >: Q

    Definition Classes
    RegexSteps
  544. def value[V](v: V): Matcher[Iterable[(Any, V)]]

    Definition Classes
    MapBeHaveMatchers
  545. def values[V](vs: V*): Matcher[Iterable[(Any, V)]]

    Definition Classes
    MapBeHaveMatchers
  546. implicit def verifyFunction[U, T](t: (U) ⇒ MatchResult[T]): MatchResultFunctionVerification[U, T]

    Definition Classes
    MatchersImplicits
  547. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  548. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  549. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  550. def was(s: String): Arguments

    shortcut to include only examples with some previous statuses

    shortcut to include only examples with some previous statuses

    Definition Classes
    ArgumentsShortcuts
  551. def wasIssue: Arguments

    shortcut to include only previousy failed/errors examples

    shortcut to include only previousy failed/errors examples

    Definition Classes
    ArgumentsShortcuts
  552. def wontdo: Success

    Definition Classes
    StandardResults
  553. def writable[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  554. def write(path: String)(function: (Writer) ⇒ Unit): Unit

    writes some content to a file and take care of closing the file.

    writes some content to a file and take care of closing the file.

    Usage:

    write("./dir/hello.txt") { out =>
    out.write("content")
    }
    path

    path of the file to write

    Definition Classes
    FileWriter
  555. def writeFile(path: String, content: ⇒ String): Unit

    writes some content to a file.

    writes some content to a file.

    path

    path of the file to read

    content

    content of the file to write

    Definition Classes
    FileWriter
  556. def writeXmlFile(path: String, content: ⇒ NodeSeq): Unit

    writes some xml content to a file.

    writes some xml content to a file.

    path

    path of the file to read

    content

    content of the file to write

    Definition Classes
    FileWriter
  557. def xonly: Arguments

    shortcut to print only failures and errors

    shortcut to print only failures and errors

    Definition Classes
    ArgumentsShortcuts
  558. def ~[S](delta: Delta[S])(implicit arg0: Numeric[S]): Matcher[S]

    alias for beCloseTo

    alias for beCloseTo

    Definition Classes
    NumericBaseMatchers
  559. def ~[S](n: S)(delta: S)(implicit arg0: Numeric[S]): Matcher[S]

    alias for beCloseTo

    alias for beCloseTo

    Definition Classes
    NumericBaseMatchers

Inherited from Debug

Inherited from Contexts

Inherited from execute.PendingUntilFixed

Inherited from TimeConversions

Inherited from AutoExamples

Inherited from specification.AutoExamples

Inherited from AutoExamplesLowImplicits

Inherited from StandardMatchResults

Inherited from FormattingFragments

Inherited from ShouldThrownMatchers

Inherited from ShouldThrownExpectations

Inherited from ShouldExpectations

Inherited from MustThrownMatchers

Inherited from MustThrownExpectations

Inherited from MustExpectations

Inherited from ThrownExpectations

Inherited from StandardResults

Inherited from Matchers

Inherited from LanguageFeatures

Inherited from MatchersImplicits

Inherited from ExpectationsDescription

Inherited from Sentences

Inherited from MatchResultImplicits

Inherited from MatchResultCombinators

Inherited from ResultLogicalCombinators

Inherited from Results

Inherited from MatchResultLogicalCombinators

Inherited from ContentMatchers

Inherited from ContentBeHaveMatchers

Inherited from ContentBaseMatchers

Inherited from SeqsContents

Inherited from DifferenceFilters

Inherited from FileMatchers

Inherited from FileBeHaveMatchers

Inherited from FileBaseMatchers

Inherited from PathMatchers

Inherited from PathBeHaveMatchers

Inherited from PathBaseMatchers

Inherited from FileSystem

Inherited from FileWriter

Inherited from FileReader

Inherited from EventuallyMatchers

Inherited from EventuallyResults

Inherited from EitherMatchers

Inherited from EitherBeHaveMatchers

Inherited from EitherBaseMatchers

Inherited from OptionMatchers

Inherited from OptionBeHaveMatchers

Inherited from OptionBaseMatchers

Inherited from NumericMatchers

Inherited from NumericBeHaveMatchers

Inherited from NumericBaseMatchers

Inherited from ExceptionMatchers

Inherited from ExceptionBeHaveMatchers

Inherited from ExceptionBaseMatchers

Inherited from BeHaveMatchers

Inherited from JsonMatchers

Inherited from JsonBaseBeHaveMatchers

Inherited from JsonBaseMatchers

Inherited from JsonMatchersLowImplicits

Inherited from Expectations

Inherited from CanBeEqual

Inherited from XmlMatchers

Inherited from XmlBeHaveMatchers

Inherited from XmlBaseMatchers

Inherited from StringMatchers

Inherited from StringBeHaveMatchers

Inherited from StringBaseMatchers

Inherited from MapMatchers

Inherited from MapBeHaveMatchers

Inherited from MapBaseMatchers

Inherited from TraversableMatchers

Inherited from matcher.TraversableBeHaveMatchers

Inherited from TraversableBaseMatchers

Inherited from LazyParameters

Inherited from AnyMatchers

Inherited from matcher.AnyBeHaveMatchers

Inherited from AnyBaseMatchers

Inherited from ArgumentsShortcuts

Inherited from ArgumentsArgs

Inherited from main.ArgumentsArgs

Inherited from ArgProperties

Inherited from SpecificationInclusion

Inherited from FragmentsBuilder

Inherited from SpecificationNavigation

Inherited from ExamplesFactory

Inherited from RegexSteps

Inherited from TuplesToSeq

Inherited from RegexStepsFactory

Inherited from ImplicitParameters

Inherited from AnyRef

Inherited from Any

Ungrouped