Class/Object

org.specs2.main

Arguments

Related Docs: object Arguments | package main

Permalink

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
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())

    Permalink

Value Members

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

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

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

    Permalink

    alias for overrideWith

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

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

    Permalink
    Definition Classes
    Any
  6. def batchSize: Int

    Permalink
  7. def canShow(s: String): Boolean

    Permalink
  8. def clone(): AnyRef

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

    Permalink
  10. def colors: Colors

    Permalink
  11. val commandLine: CommandLine

    Permalink
  12. def commandLineFilter(included: String*): Arguments

    Permalink

    returns

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

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

    Permalink

    returns

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

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

    Permalink
  15. def diffs: Diffs

    Permalink
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def errorColor(s: String): String

    Permalink
  18. def ex: String

    Permalink
  19. def exclude: String

    Permalink
  20. val execute: Execute

    Permalink
  21. def failtrace: Boolean

    Permalink
  22. def failureColor(s: String): String

    Permalink
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  24. def hasFilter: Boolean

    Permalink
  25. def include: String

    Permalink
  26. final def isInstanceOf[T0]: Boolean

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

    Permalink

    returns

    true if a switch is present or a flag is set

  28. def isolated: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  33. def offset: Int

    Permalink
  34. def overrideWith(other: Arguments): Arguments

    Permalink

    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

    Permalink
  36. def plan: Boolean

    Permalink
  37. def removeColors(s: String): String

    Permalink
  38. val report: Report

    Permalink
  39. def scheduledThreadsNb: Int

    Permalink
  40. val select: Select

    Permalink
  41. def sequential: Boolean

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

    Permalink
    Definition Classes
    ShowArgs
  43. def showtimes: Boolean

    Permalink
  44. def skipAll: Boolean

    Permalink
  45. def skippedColor(s: String): String

    Permalink
  46. def specs2ThreadsNb: Int

    Permalink
  47. def statsColor(s: String): String

    Permalink
  48. def stopOnError: Boolean

    Permalink
  49. def stopOnFail: Boolean

    Permalink
  50. def stopOnIssue: Boolean

    Permalink
  51. def stopOnSkip: Boolean

    Permalink
  52. val store: Store

    Permalink
  53. def successColor(s: String): String

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

    Permalink
    Definition Classes
    AnyRef
  55. def textColor(s: String): String

    Permalink

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

  56. def threadsNb: Int

    Permalink
  57. def toString(): String

    Permalink
    Definition Classes
    Arguments → AnyRef → Any
  58. def traceFilter: StackTraceFilter

    Permalink
  59. def useCustomClassLoader: Boolean

    Permalink
  60. def verbose: Boolean

    Permalink
  61. final def wait(arg0: Long, arg1: Int): Unit

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

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

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

    Permalink
  65. def wasIsDefined: Boolean

    Permalink
  66. def xonly: Boolean

    Permalink

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ShowArgs

Inherited from AnyRef

Inherited from Any

Ungrouped