Packages

trait TestContext[F[_], M] extends AnyRef

the portion of a LongevityContext that deals with testing

F

the effect

M

the model

Source
TestContext.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TestContext
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val inMemTestRepo: Repo[F, M]

    an in-memory repository for this longevity context, for use in testing

  2. abstract val testDataGenerator: TestDataGenerator[M]

    a utility class for generating test data for the model type

  3. abstract val testRepo: Repo[F, M]

    a repository used for testing, targeting the same persistence strategy as your repo