org.specs2.main

package org.specs2.main

Members list

Type members

Classlikes

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ArgProperties.type
object arguments.type
object ArgumentsArgs.type
object ArgumentsShortcuts.type
Show all
object ArgProperties extends ArgProperties

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
class ArgProperty[T](aProperty: Property[T])(using x$2: CanEqual[T, T])

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object ArgProperty

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait ArgumentType

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
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

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait ShowArgs
class Object
trait Matchable
class Any
Show all
object Arguments extends Extract

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait Extract
class Object
trait Matchable
class Any
Show all
Self type
Arguments.type

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object arguments.type
object ArgumentsArgs.type
object ArgumentsShortcuts.type
object ArgumentsArgs extends ArgumentsArgs

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Show all
Self type

Methods with default Property values to create Arguments instances

Methods with default Property values to create Arguments instances

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object arguments.type
object ArgumentsArgs.type
object ArgumentsShortcuts.type

This trait provides shortcuts for frequently used arguments

This trait provides shortcuts for frequently used arguments

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object arguments.type
object ArgumentsShortcuts.type
Self type

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Show all
Self type
case class BooleanArgument(name: String) extends ArgumentType

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait ArgumentType
class Object
trait Matchable
class Any
Show all
case class CommandLine(_arguments: Seq[String]) extends ShowArgs

Command-line arguments

Command-line arguments

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait ShowArgs
class Object
trait Matchable
class Any
Show all
object CommandLine extends Extract

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait Extract
class Object
trait Matchable
class Any
Show all
Self type
trait Diffs

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

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class SmartDiffs
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], _discardRejectedFutures: Option[Boolean], _batchSize: Option[Int], _timeFactor: Option[Int], _timeout: Option[FiniteDuration], _executor: Option[String]) extends ShowArgs

Execution arguments

Execution arguments

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait ShowArgs
class Object
trait Matchable
class Any
Show all
object Execute extends Extract

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait Extract
class Object
trait Matchable
class Any
Show all
Self type
Execute.type
trait Extract

Extraction functions for command line parameters

Extraction functions for command line parameters

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Arguments.type
object CommandLine.type
object Execute.type
object Report.type
object Select.type
object Store.type
Show all
case class FilesRunnerArguments(verbose: Boolean, basePath: String, glob: String, pattern: String)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

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

Attributes

Supertypes
class Object
trait Matchable
class Any
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

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait ShowArgs
class Object
trait Matchable
class Any
Show all
object Report extends Extract

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait Extract
class Object
trait Matchable
class Any
Show all
Self type
Report.type
case class Select(_ex: Option[String], _include: Option[String], _exclude: Option[String], _was: Option[String], _selector: Option[String]) extends ShowArgs

Selection arguments

Selection arguments

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait ShowArgs
class Object
trait Matchable
class Any
Show all
object Select extends Extract

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait Extract
class Object
trait Matchable
class Any
Show all
Self type
Select.type
trait ShowArgs

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Arguments
class CommandLine
class Execute
class Report
class Select
class Store
Show all
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

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Diffs
class Object
trait Matchable
class Any
Show all
object SmartDiffs

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
SmartDiffs.type
case class Store(_reset: Option[Boolean], _never: Option[Boolean]) extends ShowArgs

Storing arguments

Storing arguments

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait ShowArgs
class Object
trait Matchable
class Any
Show all
object Store extends Extract

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait Extract
class Object
trait Matchable
class Any
Show all
Self type
Store.type

Get systems properties prefixed with specs2

Get systems properties prefixed with specs2

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object SystemProperties.type

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
case class ValuedArgument(name: String) extends ArgumentType

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait ArgumentType
class Object
trait Matchable
class Any
Show all