org.specs2.main

Type members

Classlikes

Companion:
object
Companion:
class
class ArgProperty[T](aProperty: Property[T])(using x$2: CanEqual[T, T])
Companion:
object
Companion:
class
sealed trait ArgumentType
case class Arguments(select: Select, execute: Execute, store: Store, report: Report, commandLine: CommandLine, unknown: List[String]) extends ShowArgs

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
Companion:
object
object Arguments extends Extract
Companion:
class

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

Companion:
object
Companion:
class

Methods with default Property values to create Arguments instances

Methods with default Property values to create Arguments instances

This trait provides shortcuts for frequently used arguments

This trait provides shortcuts for frequently used arguments

Companion:
object
case class BooleanArgument(name: String) extends ArgumentType
case class CommandLine(_arguments: Seq[String]) extends ShowArgs

Command-line arguments

Command-line arguments

Companion:
object
object CommandLine extends Extract
Companion:
class
trait Diffs

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

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

case class Execute(_plan: Option[Boolean], _skipAll: Option[Boolean], _stopOnFail: Option[Boolean], _stopOnError: Option[Boolean], _stopOnIssue: Option[Boolean], _stopOnSkip: Option[Boolean], _sequential: Option[Boolean], _sequentialRandom: Option[Boolean], _asap: Option[Boolean], _useCustomClassLoader: Option[Boolean], _threadsNb: Option[Int], _specs2ThreadsNb: Option[Int], _scheduledThreadsNb: Option[Int], _batchSize: Option[Int], _timeFactor: Option[Int], _timeout: Option[FiniteDuration], _executor: Option[String]) extends ShowArgs

Execution arguments

Execution arguments

Companion:
object
object Execute extends Extract
Companion:
class
trait Extract

Extraction functions for command line parameters

Extraction functions for command line parameters

case class FilesRunnerArguments(verbose: Boolean, basePath: String, glob: String, pattern: String)
Companion:
object
Companion:
class

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

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

case class Report(_showOnly: Option[String], _failtrace: Option[Boolean], _color: Option[Boolean], _colors: Option[Colors], _showtimes: Option[Boolean], _offset: Option[Int], _diffs: Option[Diffs], _traceFilter: Option[StackTraceFilter], _checkUrls: Option[Boolean], _notoc: Option[Boolean], _notifier: Option[String], _printer: Option[String]) extends ShowArgs

Reporting arguments

Reporting arguments

Companion:
object
object Report extends Extract
Companion:
class
case class Select(_ex: Option[String], _include: Option[String], _exclude: Option[String], _was: Option[String], _selector: Option[String]) extends ShowArgs

Selection arguments

Selection arguments

Companion:
object
object Select extends Extract
Companion:
class
trait ShowArgs
case class SmartDiffs(show: Boolean, separators: String, triggerSize: Int, shortenSize: Int, diffRatio: Int, showFull: Boolean, seqTriggerSize: Int, seqMaxSize: Int) extends Diffs

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

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

Companion:
object
object SmartDiffs
Companion:
class
case class Store(_reset: Option[Boolean], _never: Option[Boolean]) extends ShowArgs

Storing arguments

Storing arguments

Companion:
object
object Store extends Extract
Companion:
class

Get systems properties prefixed with specs2

Get systems properties prefixed with specs2

Companion:
object
Companion:
class
case class ValuedArgument(name: String) extends ArgumentType