All Downloads are FREE. Search and download functionalities are using the official Maven repository.

weaver.framework.SuiteLoader.scala Maven / Gradle / Ivy

There is a newer version: 0.8.4
Show newest version
package weaver
package framework

import sbt.testing.TaskDef

/**
 * An interface for loading weaver suites from a task def.
 */
trait SuiteLoader[F[_]] {
  def apply(TaskDef: TaskDef): Option[Loader]

  sealed trait Loader
  case class SuiteRef(suite: F[EffectSuite[F]])           extends Loader
  case class GlobalResourcesRef(init: GlobalResourceF[F]) extends Loader
  case class ResourcesSharingSuiteRef(
      build: GlobalResourceF.Read[F] => F[EffectSuite[F]])
      extends Loader
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy