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 diffs: Diffs

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

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

  17. def ex: String

  18. def exclude: String

  19. val execute: Execute

  20. def failtrace: Boolean

  21. def failureColor(s: String): String

  22. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  24. def hasFilter: Boolean

  25. def include: String

  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def isSet(a: String): Boolean

    returns

    true if a switch is present or a flag is set

  28. def isolated: Boolean

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

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

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

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

    Definition Classes
    AnyRef
  33. def offset: Int

  34. def overrideWith(other: Arguments): Arguments

    returns

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

  35. def pendingColor(s: String): String

  36. def plan: Boolean

  37. def removeColors(s: String): String

  38. val report: Report

  39. val select: Select

  40. def sequential: Boolean

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

    Definition Classes
    ShowArgs
  42. def showtimes: Boolean

  43. def skipAll: Boolean

  44. def skippedColor(s: String): String

  45. def statsColor(s: String): String

  46. def stopOnFail: Boolean

  47. def stopOnSkip: Boolean

  48. val store: Store

  49. def successColor(s: String): String

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

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

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

  52. def threadsNb: Int

  53. def toString(): String

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

  55. def verbose: Boolean

  56. final def wait(): Unit

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

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

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

  60. def wasIsDefined: Boolean

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