ArgumentsShortcuts

org.specs2.main.ArgumentsShortcuts
See theArgumentsShortcuts companion object

This trait provides shortcuts for frequently used arguments

Attributes

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

Members list

Value members

Concrete methods

def batchSize(n: Int): Arguments

Attributes

Returns

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

shortcut to set new Colors

shortcut to set new Colors

Attributes

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

def exclude(tags: String): Arguments

shortcut to exclude some tagged fragments

shortcut to exclude some tagged fragments

Attributes

shortcut to add exclude trace patterns

shortcut to add exclude trace patterns

Attributes

shortcut to create a stackTrace filter to exclude only some elements

shortcut to create a stackTrace filter to exclude only some elements

Attributes

shortcut to filter nothing

shortcut to filter nothing

Attributes

def include(tags: String): Arguments

shortcut to include only some tagged fragments

shortcut to include only some tagged fragments

Attributes

shortcut to add include trace patterns

shortcut to add include trace patterns

Attributes

shortcut to create a stackTrace filter to include only some elements

shortcut to create a stackTrace filter to include only some elements

Attributes

shortcut to avoid colored output

shortcut to avoid colored output

Attributes

def only(examples: String): Arguments

shortcut to execute and print only some examples

shortcut to execute and print only some examples

Attributes

shortcut to show only the text without any execution

shortcut to show only the text without any execution

Attributes

Attributes

Returns

arguments for a specification where examples must be executed sequentially

Attributes

Returns

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

def showOnly(s: String): Arguments

shortcut to print only some statuses

shortcut to print only some statuses

Attributes

shortcut to skip all examples

shortcut to skip all examples

Attributes

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

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

shortcut to stop after the first failure or error

shortcut to stop after the first failure or error

Attributes

shortcut to stop after the first skipped result

shortcut to stop after the first skipped result

Attributes

Attributes

Returns

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

def was(s: String): Arguments

shortcut to include only examples with some previous statuses

shortcut to include only examples with some previous statuses

Attributes

shortcut to print only failures and errors

shortcut to print only failures and errors

Attributes