CatsResource

abstract
class CatsResource[F[_], A] extends BeforeAfterAll with CatsEffect
trait BeforeAfterAll
trait FragmentsFactory
trait SpecificationStructure
trait ContextualSpecificationStructure
class Object
trait Matchable
class Any

Value members

Concrete methods

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

Inherited methods

def decorate(is: SpecStructure, env: Env): SpecStructure
Inherited from
SpecificationStructure
protected
def finiteTimeout: Option[FiniteDuration]
Inherited from
CatsEffect
protected
def fragmentFactory: FragmentFactory
Inherited from
FragmentsFactory
def fragments: Env => Fragments
Inherited from
ContextualSpecificationStructure
def is: SpecStructure
Inherited from
SpecificationStructure
override
def map(fs: => Fragments): Fragments
Definition Classes
BeforeAfterAll -> SpecificationStructure
Inherited from
BeforeAfterAll
def map(fs: => Fragments, env: Env): Fragments
Inherited from
SpecificationStructure
def map(structure: SpecStructure): SpecStructure
Inherited from
SpecificationStructure
Inherited from
BeforeAfterAll
def structure: Env => SpecStructure
Inherited from
SpecificationStructure

Abstract fields

val resource: Resource[F, A]

Concrete fields

protected
val ResourceTimeout: Duration

Inherited fields

protected
val Timeout: Duration
Inherited from
CatsEffect

Implicits

Inherited implicits

implicit
def effectAsExecution[F[_] : UnsafeRun, R](implicit evidence$1: UnsafeRun[F], R: AsResult[R]): AsExecution[F[R]]
Inherited from
CatsEffect
implicit
def resourceAsExecution[F[_] : UnsafeRun, R](implicit evidence$2: UnsafeRun[F], F: MonadCancel[F, Throwable], R: AsResult[R]): AsExecution[Resource[F, R]]
Inherited from
CatsEffect