org.specs2.main

Arguments

Related Docs: object Arguments | package main

case class Arguments(select: Select = Select(), execute: Execute = Execute(), store: Store = Store(), report: Report = Report(), commandLine: CommandLine = CommandLine()) 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. Arguments
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ShowArgs
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Arguments(select: Select = Select(), execute: Execute = Execute(), store: Store = Store(), report: Report = Report(), commandLine: CommandLine = CommandLine())

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. def <|(other: Arguments): Arguments

    alias for overrideWith

  4. final def ==(arg0: Any): Boolean

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

    Definition Classes
    Any
  6. def canShow(s: String): Boolean

  7. def clone(): AnyRef

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

  9. def colors: Colors

  10. val commandLine: CommandLine

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

    returns

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

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

    returns

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

  13. def contain(tags: String*): Boolean

  14. def contains(a: String): Boolean

    returns

    true if the command line contains a given string

  15. def debugMarkdown: Boolean

  16. def diffs: Diffs

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

    Definition Classes
    AnyRef
  18. def errorColor(s: String): String

  19. def ex: String

  20. def exclude: String

  21. val execute: Execute

  22. def failtrace: Boolean

  23. def failureColor(s: String): String

  24. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. def fromSource: Boolean

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

    Definition Classes
    AnyRef → Any
  27. def hasFilter: Boolean

  28. def include: String

  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. def isolated: Boolean

  31. def keep(tags: String*): Boolean

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

    Definition Classes
    AnyRef
  33. final def notify(): Unit

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

    Definition Classes
    AnyRef
  35. def offset: Int

  36. def overrideWith(other: Arguments): Arguments

    returns

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

  37. def pegdownExtensions: Int

  38. def pegdownTimeout: Long

  39. def pendingColor(s: String): String

  40. def plan: Boolean

  41. def random: Boolean

  42. def removeColors(s: String): String

  43. val report: Report

  44. val select: Select

  45. def sequential: Boolean

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

    Definition Classes
    ShowArgs
  47. def showtimes: Boolean

  48. def skipAll: Boolean

  49. def skippedColor(s: String): String

  50. def specName: String

  51. def statsColor(s: String): String

  52. def stopOnFail: Boolean

  53. def stopOnSkip: Boolean

  54. val store: Store

  55. def successColor(s: String): String

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

    Definition Classes
    AnyRef
  57. def textColor(s: String): String

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

  58. def threadsNb: Int

  59. def toString(): String

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

  61. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  64. def was(s: String): Boolean

  65. def wasIsDefined: Boolean

  66. def wasIssue: Boolean

  67. def xonly: Boolean

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ShowArgs

Inherited from AnyRef

Inherited from Any

Ungrouped