CustomInstances

case class CustomInstances(arguments: Arguments, loader: ClassLoader, logger: Logger)
Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def createCustomInstance[T <: AnyRef](name: String, failureMessage: String => String, noRequiredMessage: String)(using m: ClassTag[T]): Operation[Option[T]]

create a custom instance

create a custom instance

def createPrinterInstance(name: PrinterName, className: String, failureMessage: String, noRequiredMessage: String): Operation[Option[Printer]]

create a built-in specs2 printer

create a built-in specs2 printer

def noInstance[T](message: String): Operation[Option[T]]

print a message if a class can not be instantiated

print a message if a class can not be instantiated

def noInstanceWithException[T](message: String, t: Throwable, forceVerbose: Option[Boolean]): Operation[Option[T]]

print a message if a class can not be instantiated

print a message if a class can not be instantiated

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product