GlobalResourceBase

@EnableReflectiveInstantiation trait GlobalResourceBase

Top-level instances of this trait are detected by the framework and used to manage the lifecycle of shared resources.

Top-level instances of this trait are detected by the framework and used to manage the lifecycle of shared resources.

The weaver.GlobalResourceF.Write store is a channel that lets you store resources (http/database clients) using some type-specific tags. We provide scala.reflect.ClassTag based implementation that works for that aren't subject to type-erasure (ie when a Scala type is equivalent to a JVM class)

Stored resources can be retrieved in test suites, by having your suite sport a constructor that takes a GlobalResourceF instance.

class Object
trait Matchable
class Any