package main
- Alphabetic
- Public
- Protected
Type Members
- trait ArgProperties extends AnyRef
- class ArgProperty[T] extends AnyRef
- sealed trait ArgumentType extends AnyRef
- case class Arguments(select: Select = Select(), execute: Execute = Execute(), store: Store = Store(), report: Report = Report(), commandLine: CommandLine = CommandLine(), unknown: List[String] = List()) extends ShowArgs with Product with Serializable
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
- trait ArgumentsArgs extends ArgumentsCreation with ArgProperties
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
- trait ArgumentsCreation extends AnyRef
Methods with default Property values to create Arguments instances
- trait ArgumentsShortcuts extends AnyRef
This trait provides shortcuts for frequently used arguments
- final case class BooleanArgument(name: String) extends ArgumentType with Product with Serializable
- case class CommandLine(_arguments: Seq[String] = Seq()) extends ShowArgs with Product with Serializable
Command-line arguments
- trait Diffs extends AnyRef
Define and compute the differences between strings (used by the printers)
- case class Execute(_plan: Option[Boolean] = None, _skipAll: Option[Boolean] = None, _stopOnFail: Option[Boolean] = None, _stopOnError: Option[Boolean] = None, _stopOnIssue: Option[Boolean] = None, _stopOnSkip: Option[Boolean] = None, _sequential: Option[Boolean] = None, _asap: Option[Boolean] = None, _isolated: Option[Boolean] = None, _useCustomClassLoader: Option[Boolean] = None, _threadsNb: Option[Int] = None, _specs2ThreadsNb: Option[Int] = None, _scheduledThreadsNb: Option[Int] = None, _batchSize: Option[Int] = None, _timeFactor: Option[Int] = None, _timeout: Option[FiniteDuration] = None, _retriesFactor: Option[Int] = None, _executor: Option[String] = None) extends ShowArgs with Product with Serializable
Execution arguments
- trait Extract extends AnyRef
Extraction functions for command line parameters
- case class FilesRunnerArguments(verbose: Boolean, basePath: String, glob: String, pattern: String) extends Product with Serializable
- trait NoArgProperties extends ArgProperties
This trait can be used to deactivate the conversion of any value to an ArgsProperty
- 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, _printer: Option[String] = None) extends ShowArgs with Product with Serializable
Reporting arguments
- 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
Selection arguments
- trait ShowArgs extends AnyRef
- 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
The SmartDiffs class holds all the required parameters to show differences between 2 values using the edit distance algorithm
- case class Store(_reset: Option[Boolean] = None, _never: Option[Boolean] = None) extends ShowArgs with Product with Serializable
Storing arguments
- trait SystemProperties extends AnyRef
Get systems properties prefixed with specs2
- final case class ValuedArgument(name: String) extends ArgumentType with Product with Serializable
Value Members
- object ArgProperties extends ArgProperties
- object ArgProperty
- object Arguments extends Extract with Serializable
- object ArgumentsArgs extends ArgumentsArgs
- object ArgumentsShortcuts extends ArgumentsShortcuts with ArgumentsArgs
- object CommandLine extends Extract with Serializable
- object Execute extends Extract with Serializable
- object FilesRunnerArguments extends Serializable
- object Report extends Extract with Serializable
- object Select extends Extract with Serializable
- object SmartDiffs extends Serializable
- object Store extends Extract with Serializable
- object SystemProperties extends SystemProperties