Debug

org.specs2.control.Debug
See theDebug companion object
trait Debug

This trait provides simple a way to print out any object to the console:

"this string".pp must ===("this string")

will print 'this string' and pass it to the rest of the expectation

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Debug.type
trait NoDebug

Members list

Givens

Extensions

Extensions

extension [T](t: => T)(using not: NotGiven[NoDebug], output: ConsoleOutput)
def pp: T

print the object to the console and return it

print the object to the console and return it

Attributes

def pp(condition: Boolean): T

print the object to the console and return it, if the condition is satisfied

print the object to the console and return it, if the condition is satisfied

Attributes

def pp(condition: T => Boolean): T

print the object to the console and return it, if the condition is satisfied

print the object to the console and return it, if the condition is satisfied

Attributes

def pp(show: T => String): T

print the object to the console with a specific function and return it

print the object to the console with a specific function and return it

Attributes

def pp(pre: String): T

print the object to the console with a small message before

print the object to the console with a small message before

Attributes