Trait/Object

org.specs2.main

ArgumentsShortcuts

Related Docs: object ArgumentsShortcuts | package main

Permalink

trait ArgumentsShortcuts extends AnyRef

This trait provides shortcuts for frequently used arguments

Self Type
ArgumentsShortcuts with ArgumentsCreation
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
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

    Permalink

    shortcut to set new Colors

  7. def diffs(show: Boolean = true, separators: String = "[]", triggerSize: Int = 20, diffRatio: Int = 30, shortenSize: Int = 5, full: Boolean = false, seqTriggerSize: Int = 0, seqMaxSize: Int = 1000000): Arguments

    Permalink

    shortcut to display the differences with some specific parameters

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

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

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

    Permalink

    shortcut to exclude some tagged fragments

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

    Permalink

    shortcut to add exclude trace patterns

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

    Permalink

    shortcut to create a stackTrace filter to exclude only some elements

  13. def finalize(): Unit

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

    Permalink

    shortcut to filter nothing

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

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

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

    Permalink

    shortcut to include only some tagged fragments

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

    Permalink

    shortcut to add include trace patterns

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

    Permalink

    shortcut to create a stackTrace filter to include only some elements

  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def isolated: Arguments

    Permalink

    returns

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

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

    Permalink
    Definition Classes
    AnyRef
  23. def nocolor: Arguments

    Permalink

    shortcut to avoid colored output

  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

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

    Permalink

    shortcut to execute and print only some examples

  27. def plan: Arguments

    Permalink

    shortcut to show only the text without any execution

  28. def sequential: Arguments

    Permalink

    returns

    arguments for a specification where examples must be executed sequentially

  29. def showOnly(s: String): Arguments

    Permalink

    shortcut to print only some statuses

  30. def skipAll: Arguments

    Permalink

    shortcut to skip all examples

  31. def skipAllIf(condition: ⇒ Boolean): Arguments

    Permalink

    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

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

    Permalink

    shortcut to skip all examples when a condition is false.

  33. def stopOnFail: Arguments

    Permalink

    shortcut to stop after the first failure or error

  34. def stopOnSkip: Arguments

    Permalink

    shortcut to stop after the first skipped result

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

    Permalink
    Definition Classes
    AnyRef
  36. def toString(): String

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

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

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

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

    Permalink

    shortcut to include only examples with some previous statuses

  41. def xonly: Arguments

    Permalink

    shortcut to print only failures and errors

Inherited from AnyRef

Inherited from Any

Ungrouped