trait ArgumentsShortcuts extends AnyRef
This trait provides shortcuts for frequently used arguments
- Self Type
- ArgumentsShortcuts with ArgumentsCreation
- Alphabetic
- By Inheritance
- ArgumentsShortcuts
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
batchSize(n: Int): Arguments
- returns
arguments for a specification where examples must in a given batch size
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
colors(c: Colors): Arguments
shortcut to set new Colors
-
def
diffs(show: Boolean = true, separators: String = "[]", triggerSize: Int = 20, diffRatio: Int = 30, shortenSize: Int = 5, full: Boolean = false, seqTriggerSize: Int = 0, seqMaxSize: Int = 1000000): Arguments
shortcut to display the differences with some specific parameters
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
exclude(tags: String): Arguments
shortcut to exclude some tagged fragments
-
def
excludeAlsoTrace(patterns: String*): IncludeExcludeStackTraceFilter
shortcut to add exclude trace patterns
-
def
excludeTrace(patterns: String*): IncludeExcludeStackTraceFilter
shortcut to create a stackTrace filter to exclude only some elements
-
def
fullStackTrace: Arguments
shortcut to filter nothing
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
include(tags: String): Arguments
shortcut to include only some tagged fragments
-
def
includeAlsoTrace(patterns: String*): IncludeExcludeStackTraceFilter
shortcut to add include trace patterns
-
def
includeTrace(patterns: String*): IncludeExcludeStackTraceFilter
shortcut to create a stackTrace filter to include only some elements
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isolated: Arguments
- returns
arguments for a specification where examples must be executed in their own specification
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nocolor: Arguments
shortcut to avoid colored output
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
only(examples: String): Arguments
shortcut to execute and print only some examples
-
def
plan: Arguments
shortcut to show only the text without any execution
-
def
sequential: Arguments
- returns
arguments for a specification where examples must be executed sequentially
-
def
showOnly(s: String): Arguments
shortcut to print only some statuses
-
def
skipAll: Arguments
shortcut to skip all examples
-
def
skipAllIf(condition: ⇒ Boolean): Arguments
shortcut to skip all examples when a condition is true.
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.
-
def
stopOnFail: Arguments
shortcut to stop after the first failure or error
-
def
stopOnSkip: Arguments
shortcut to stop after the first skipped result
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unbatched: Arguments
- returns
arguments for a specification where examples must be executed inside just one big batch
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
was(s: String): Arguments
shortcut to include only examples with some previous statuses
-
def
xonly: Arguments
shortcut to print only failures and errors
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated