CatsResource

abstract class CatsResource[F <: ([_$1] =>> Any), A] extends BeforeAfterAll with CatsEffect
trait BeforeAfterAll
trait FragmentsFactory
trait SpecificationStructure
trait ContextualSpecificationStructure
class Object
trait Matchable
class Any

Value members

Methods

override def beforeAll(): Unit
Definition Classes
BeforeAfterAll
override def afterAll(): Unit
Definition Classes
BeforeAfterAll
def withResource[R](f: A => F[R]): F[R]

Fields

val resource: Resource[F, A]
protected val ResourceTimeout: Duration

Inherited methods

def org$specs2$specification$BeforeAfterAll$$super$map(fs: => Fragments): Fragments
Inhertied from
BeforeAfterAll
def is: SpecStructure
Inhertied from
SpecificationStructure
def decorate(is: SpecStructure, env: Env): SpecStructure
Inhertied from
SpecificationStructure
def fragments: Env => Fragments
Inhertied from
ContextualSpecificationStructure
protected def fragmentFactory: FragmentFactory
Inhertied from
FragmentsFactory
def structure: Env => SpecStructure
Inhertied from
SpecificationStructure
override def map(fs: => Fragments): Fragments
Definition Classes
BeforeAfterAll -> SpecificationStructure
Inhertied from
BeforeAfterAll
def map(fs: => Fragments, env: Env): Fragments
Inhertied from
SpecificationStructure
def map(structure: SpecStructure): SpecStructure
Inhertied from
SpecificationStructure

Inherited fields

protected val Timeout: Duration
Inhertied from
CatsEffect

Implicits

Inherited implicits

implicit def resourceAsExecution[F <: ([_$3] =>> Any), R](evidence$2: UnsafeRun[F], F: MonadCancel[F, Throwable], R: AsResult[R]): AsExecution[Resource[F, R]]
Inhertied from
CatsEffect
implicit def effectAsExecution[F <: ([_$1] =>> Any), R](evidence$1: UnsafeRun[F], R: AsResult[R]): AsExecution[F[R]]
Inhertied from
CatsEffect