ArgumentsShortcuts

This trait provides shortcuts for frequently used arguments

Companion:
object
class Object
trait Matchable
class Any
object ArgumentsShortcuts.type
object arguments.type

Value members

Concrete methods

def batchSize(n: Int): Arguments
Returns:

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

shortcut to set new Colors

shortcut to set new Colors

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

def exclude(tags: String): Arguments

shortcut to exclude some tagged fragments

shortcut to exclude some tagged fragments

shortcut to add exclude trace patterns

shortcut to add exclude trace patterns

shortcut to create a stackTrace filter to exclude only some elements

shortcut to create a stackTrace filter to exclude only some elements

shortcut to filter nothing

shortcut to filter nothing

def include(tags: String): Arguments

shortcut to include only some tagged fragments

shortcut to include only some tagged fragments

shortcut to add include trace patterns

shortcut to add include trace patterns

shortcut to create a stackTrace filter to include only some elements

shortcut to create a stackTrace filter to include only some elements

shortcut to avoid colored output

shortcut to avoid colored output

def only(examples: String): Arguments

shortcut to execute and print only some examples

shortcut to execute and print only some examples

shortcut to show only the text without any execution

shortcut to show only the text without any execution

Returns:

arguments for a specification where examples must be executed sequentially

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

shortcut to skip all examples

shortcut to skip all examples

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

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.

shortcut to stop after the first failure or error

shortcut to stop after the first failure or error

shortcut to stop after the first skipped result

shortcut to stop after the first skipped result

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

shortcut to print only failures and errors

shortcut to print only failures and errors