Package

org.specs2

main

Permalink

package main

Visibility
  1. Public
  2. All

Type Members

  1. trait ArgProperties extends AnyRef

    Permalink
  2. case class ArgProperty[T](aProperty: Property[T] = Property[T]()) extends Product with Serializable

    Permalink
  3. case class Arguments(select: Select = Select(), execute: Execute = Execute(), store: Store = Store(), report: Report = Report(), commandLine: CommandLine = CommandLine()) extends ShowArgs with Product with Serializable

    Permalink

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

    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

  4. trait ArgumentsArgs extends ArgumentsCreation with ArgProperties

    Permalink

    Methods with default Property values to create Arguments instances

    Methods with default Property values to create Arguments instances

    There is an implicit conversion from (=> T) to Property[T] to allow the direct passing of parameters

  5. trait ArgumentsCreation extends AnyRef

    Permalink

    Methods with default Property values to create Arguments instances

  6. trait ArgumentsShortcuts extends AnyRef

    Permalink

    This trait provides shortcuts for frequently used arguments

  7. case class CommandLine(_arguments: Seq[String] = Seq()) extends ShowArgs with Product with Serializable

    Permalink

    Command-line arguments

  8. trait CommandLineAsResult[R] extends AnyRef

    Permalink

    Typeclass for results depending on the command line

  9. trait Diffs extends AnyRef

    Permalink

    Define and compute the differences between strings (used by the printers)

  10. case class Execute(_plan: Option[Boolean] = None, _skipAll: Option[Boolean] = None, _stopOnFail: Option[Boolean] = None, _stopOnSkip: Option[Boolean] = None, _sequential: Option[Boolean] = None, _asap: Option[Boolean] = None, _isolated: Option[Boolean] = None, _threadsNb: Option[Int] = None, _scheduledThreadsNb: Option[Int] = None, _timeFactor: Option[Int] = None, _executor: Option[String] = None) extends ShowArgs with Product with Serializable

    Permalink

    Execution arguments

  11. trait Extract extends AnyRef

    Permalink

    Extraction functions for command line parameters

  12. trait NoArgProperties extends ArgProperties

    Permalink

    This trait can be used to deactivate the conversion of any value to an ArgsProperty

  13. case class Report(_showOnly: Option[String] = None, _failtrace: Option[Boolean] = None, _color: Option[Boolean] = None, _colors: Option[Colors] = None, _showtimes: Option[Boolean] = None, _offset: Option[Int] = None, _diffs: Option[Diffs] = None, _traceFilter: Option[StackTraceFilter] = None, _checkUrls: Option[Boolean] = None, _notoc: Option[Boolean] = None, _notifier: Option[String] = None, _exporter: Option[String] = None) extends ShowArgs with Product with Serializable

    Permalink

    Reporting arguments

  14. case class Select(_ex: Option[String] = None, _include: Option[String] = None, _exclude: Option[String] = None, _was: Option[String] = None, _selector: Option[String] = None) extends ShowArgs with Product with Serializable

    Permalink

    Selection arguments

  15. trait ShowArgs extends AnyRef

    Permalink
  16. case class SmartDiffs(show: Boolean = true, separators: String = "[]", triggerSize: Int = 20, shortenSize: Int = 5, diffRatio: Int = 30, showFull: Boolean = false, seqTriggerSize: Int = 0, seqMaxSize: Int = 1000000) extends Diffs with Product with Serializable

    Permalink

    The SmartDiffs class holds all the required parameters to show differences between 2 values using the edit distance algorithm

  17. case class Store(_reset: Option[Boolean] = None, _never: Option[Boolean] = None) extends ShowArgs with Product with Serializable

    Permalink

    Storing arguments

  18. trait SystemProperties extends AnyRef

    Permalink

    Get systems properties prefixed with specs2

Value Members

  1. object ArgProperties extends ArgProperties

    Permalink
  2. object ArgProperty extends Serializable

    Permalink
  3. object Arguments extends Extract with Serializable

    Permalink
  4. object ArgumentsArgs extends ArgumentsArgs

    Permalink
  5. object ArgumentsShortcuts extends ArgumentsShortcuts with ArgumentsArgs

    Permalink
  6. object CommandLine extends Extract with Serializable

    Permalink
  7. object CommandLineAsResult

    Permalink
  8. object Execute extends Extract with Serializable

    Permalink
  9. object Report extends Extract with Serializable

    Permalink
  10. object Select extends Extract with Serializable

    Permalink
  11. object SmartDiffs extends Serializable

    Permalink
  12. object Store extends Extract with Serializable

    Permalink
  13. object SystemProperties extends SystemProperties

    Permalink

Ungrouped