ArgumentsShortcuts

org.specs2.main.ArgumentsShortcuts
See theArgumentsShortcuts companion trait

Attributes

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

Members list

Value members

Inherited methods

def args(ex: ArgProperty[String] = ..., include: ArgProperty[String] = ..., exclude: ArgProperty[String] = ..., was: ArgProperty[String] = ..., plan: ArgProperty[Boolean] = ..., skipAll: ArgProperty[Boolean] = ..., stopOnFail: ArgProperty[Boolean] = ..., stopOnError: ArgProperty[Boolean] = ..., stopOnIssue: ArgProperty[Boolean] = ..., stopOnSkip: ArgProperty[Boolean] = ..., sequential: ArgProperty[Boolean] = ..., sequentialRandom: ArgProperty[Boolean] = ..., batchSize: ArgProperty[Int] = ..., timeFactor: ArgProperty[Int] = ..., timeout: ArgProperty[FiniteDuration] = ..., asap: ArgProperty[Boolean] = ..., xonly: ArgProperty[Boolean] = ..., showOnly: ArgProperty[String] = ..., color: ArgProperty[Boolean] = ...): Arguments

shorthand method to create an Arguments object

shorthand method to create an Arguments object

Attributes

Inherited from:
ArgumentsCreation
def batchSize(n: Int): Arguments

Attributes

Returns

arguments for a specification where examples must in a given batch size

Inherited from:
ArgumentsShortcuts

shortcut to set new Colors

shortcut to set new Colors

Attributes

Inherited from:
ArgumentsShortcuts
def diffs(show: Boolean = ..., separators: String = ..., triggerSize: Int = ..., diffRatio: Int = ..., shortenSize: Int = ..., full: Boolean = ..., seqTriggerSize: Int = ..., seqMaxSize: Int = ...): Arguments

shortcut to display the differences with some specific parameters

shortcut to display the differences with some specific parameters

Attributes

Inherited from:
ArgumentsShortcuts
def exclude(tags: String): Arguments

shortcut to exclude some tagged fragments

shortcut to exclude some tagged fragments

Attributes

Inherited from:
ArgumentsShortcuts

shortcut to add exclude trace patterns

shortcut to add exclude trace patterns

Attributes

Inherited from:
ArgumentsShortcuts

shortcut to create a stackTrace filter to exclude only some elements

shortcut to create a stackTrace filter to exclude only some elements

Attributes

Inherited from:
ArgumentsShortcuts

shortcut to filter nothing

shortcut to filter nothing

Attributes

Inherited from:
ArgumentsShortcuts
def include(tags: String): Arguments

shortcut to include only some tagged fragments

shortcut to include only some tagged fragments

Attributes

Inherited from:
ArgumentsShortcuts

shortcut to add include trace patterns

shortcut to add include trace patterns

Attributes

Inherited from:
ArgumentsShortcuts

shortcut to create a stackTrace filter to include only some elements

shortcut to create a stackTrace filter to include only some elements

Attributes

Inherited from:
ArgumentsShortcuts

shortcut to avoid colored output

shortcut to avoid colored output

Attributes

Inherited from:
ArgumentsShortcuts
def only(examples: String): Arguments

shortcut to execute and print only some examples

shortcut to execute and print only some examples

Attributes

Inherited from:
ArgumentsShortcuts

shortcut to show only the text without any execution

shortcut to show only the text without any execution

Attributes

Inherited from:
ArgumentsShortcuts

Attributes

Returns

arguments for a specification where examples must be executed sequentially

Inherited from:
ArgumentsShortcuts

Attributes

Returns

arguments for a specification where examples must be executed sequentially but in a random order

Inherited from:
ArgumentsShortcuts
def showOnly(s: String): Arguments

shortcut to print only some statuses

shortcut to print only some statuses

Attributes

Inherited from:
ArgumentsShortcuts

shortcut to skip all examples

shortcut to skip all examples

Attributes

Inherited from:
ArgumentsShortcuts
def skipAllIf(condition: => Boolean): Arguments

shortcut to skip all examples when a condition is true. if the condition throws an exception, its stacktrace is not printed and all the examples are skipped

shortcut to skip all examples when a condition is true. if the condition throws an exception, its stacktrace is not printed and all the examples are skipped

Attributes

Inherited from:
ArgumentsShortcuts
def skipAllUnless(condition: => Boolean): Arguments

shortcut to skip all examples when a condition is false.

shortcut to skip all examples when a condition is false.

Attributes

Inherited from:
ArgumentsShortcuts

shortcut to stop after the first failure or error

shortcut to stop after the first failure or error

Attributes

Inherited from:
ArgumentsShortcuts

shortcut to stop after the first skipped result

shortcut to stop after the first skipped result

Attributes

Inherited from:
ArgumentsShortcuts

Attributes

Returns

arguments for a specification where examples must be executed inside just one big batch

Inherited from:
ArgumentsShortcuts
def was(s: String): Arguments

shortcut to include only examples with some previous statuses

shortcut to include only examples with some previous statuses

Attributes

Inherited from:
ArgumentsShortcuts

shortcut to print only failures and errors

shortcut to print only failures and errors

Attributes

Inherited from:
ArgumentsShortcuts

Inherited fields

lazy val args: ArgumentsNamespace

Attributes

Inherited from:
ArgumentsCreation

Implicits

Inherited implicits

implicit def toArgProperty[T](t: => T)(using NotGiven[NoArgProperties], CanEqual[T, T]): ArgProperty[T]

Attributes

Inherited from:
ArgProperties