org.specs2.main

ArgumentsShortcuts

trait ArgumentsShortcuts extends AnyRef

This trait provides shortcuts for frequently used arguments

Self Type
ArgumentsShortcuts with ArgumentsArgs
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ArgumentsShortcuts
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

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

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def colors(c: Colors): Arguments

    shortcut to set new Colors

  9. def descFromExpectations: Arguments

    shortcut to display the example descriptions from the expectations ok messages

  10. 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

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

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def exclude(tags: String): Arguments

    shortcut to exclude some tagged fragments

  14. def excludeAlsoTrace(patterns: String*): IncludeExcludeStackTraceFilter

    shortcut to add exclude trace patterns

  15. def excludeTrace(patterns: String*): IncludeExcludeStackTraceFilter

    shortcut to create a stackTrace filter to exclude only some elements

  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def fullStackTrace: Arguments

    shortcut to filter nothing

  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. def include(tags: String): Arguments

    shortcut to include only some tagged fragments

  21. def includeAlsoTrace(patterns: String*): IncludeExcludeStackTraceFilter

    shortcut to add include trace patterns

  22. def includeTrace(patterns: String*): IncludeExcludeStackTraceFilter

    shortcut to create a stackTrace filter to include only some elements

  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. def isolated: Arguments

    returns

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

  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. def nocolor: Arguments

    shortcut to avoid colored output

  27. final def notify(): Unit

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

    Definition Classes
    AnyRef
  29. def only(examples: String): Arguments

    shortcut to execute and print only some examples

  30. def plan: Arguments

    shortcut to show only the text without any execution

  31. def sequential: Arguments

    returns

    arguments for a specification where examples must be executed sequentially

  32. def showOnly(s: String): Arguments

    shortcut to print only some statuses

  33. def skipAll: Arguments

    shortcut to skip all examples

  34. 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

  35. def skipAllUnless(condition: ⇒ Boolean): Arguments

    shortcut to skip all examples when a condition is false.

  36. def stopOnFail: Arguments

    shortcut to stop after the first failure or error

  37. def stopOnSkip: Arguments

    shortcut to stop after the first skipped result

  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  39. def toString(): String

    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit

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

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

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

    shortcut to include only examples with some previous statuses

  44. def wasIssue: Arguments

    shortcut to include only previousy failed/errors examples

  45. def xonly: Arguments

    shortcut to print only failures and errors

Inherited from AnyRef

Inherited from Any

Ungrouped