ImplicitParameters

This trait is used to abuse method overloading and allow some of the methods in specs2 DSL to be applicable to various parameters.

This trait is used to abuse method overloading and allow some of the methods in specs2 DSL to be applicable to various parameters.

For example in a mutable specification, the >> method is overloaded for lots of different arguments:

  • result
  • function of the Environment
  • function of the Command line
  • ...
Companion
object
class Object
trait Matchable
class Any
trait Debug
object Debug
trait NoDebug