org.specs2.main

Arguments

case class Arguments (select: Select, execute: Execute, store: Store, report: Report, commandLine: Seq[String]) extends ShowArgs with Product with Serializable

This class holds all the options that are relevant for specs2 execution and reporting.

The arguments are grouped along 4 functions:

- select: for the selection of what must be executed - execute: for the execution of fragments - store: for the storing of execution results - report: for the reporting of results

Linear Supertypes
Serializable, Serializable, Product, Equals, ShowArgs, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Arguments
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ShowArgs
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Arguments (select: Select, execute: Execute, store: Store, report: Report, commandLine: Seq[String])

Value Members

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def <| (other: Arguments): Arguments

    alias for overrideWith

  5. def == (arg0: AnyRef): Boolean

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

    Attributes
    final
    Definition Classes
    Any
  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. def canEqual (arg0: Any): Boolean

    Definition Classes
    Arguments → Equals
  9. def canShow (s: String): Boolean

  10. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def color : Boolean

  12. def colors : Colors

  13. val commandLine : Seq[String]

  14. def commandLineFilter (included: String*): Arguments

    returns

    a new Arguments object with only some arguments on the command line

  15. def commandLineFilterNot (excluded: String*): Arguments

    returns

    a new Arguments object with some arguments removed from the command line

  16. def contains (a: String): Boolean

    returns

    true if the command line contains a given string

  17. def debugMarkdown : Boolean

  18. def diffs : Diffs

  19. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  20. def equals (arg0: Any): Boolean

    Definition Classes
    Arguments → Equals → AnyRef → Any
  21. def errorColor (s: String): String

  22. def ex : String

  23. def exclude : String

  24. val execute : Execute

  25. def failtrace : Boolean

  26. def failureColor (s: String): String

  27. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  28. def fromSource : Boolean

  29. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  30. def hashCode (): Int

    Definition Classes
    Arguments → AnyRef → Any
  31. def include : String

  32. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  33. def isolated : Boolean

  34. def markdown : Boolean

  35. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  36. def noindent : Boolean

  37. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  38. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  39. def offset : Int

  40. def overrideWith (other: Arguments): Arguments

    returns

    a new Arguments object where the values of this are overriden with the values of other if defined

  41. def pendingColor (s: String): String

  42. def plan : Boolean

  43. def productArity : Int

    Definition Classes
    Arguments → Product
  44. def productElement (arg0: Int): Any

    Definition Classes
    Arguments → Product
  45. def productIterator : Iterator[Any]

    Definition Classes
    Product
  46. def productPrefix : String

    Definition Classes
    Arguments → Product
  47. def removeColors (s: String): String

  48. val report : Report

  49. val select : Select

  50. def sequential : Boolean

  51. def showArg (a: (String, Option[_])): Option[String]

    Definition Classes
    ShowArgs
  52. def showtimes : Boolean

  53. def skipAll : Boolean

  54. def skippedColor (s: String): String

  55. def specName : String

  56. def statsColor (s: String): String

  57. def stopOnFail : Boolean

  58. def stopOnSkip : Boolean

  59. val store : Store

  60. def successColor (s: String): String

  61. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  62. def textColor (s: String): String

    shortcut methods to add ansi colors to some text depending on its status

  63. def threadsNb : Int

  64. def toString (): String

    Definition Classes
    Arguments → AnyRef → Any
  65. def traceFilter : StackTraceFilter

  66. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  69. def was (s: String): Boolean

  70. def wasIsDefined : Boolean

  71. def wasIssue : Boolean

  72. def xonly : Boolean

Deprecated Value Members

  1. def productElements : Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ShowArgs

Inherited from AnyRef

Inherited from Any