Easily create unique instances of mutable / stateful objects per test

scoped-fixtures 2.0.0


Group ID:
com.spingo
Artifact ID:
scoped-fixtures_2.11
Version:
2.0.0
Release Date:
Jan 17, 2017
Licenses:

libraryDependencies += "com.spingo" %% "scoped-fixtures" % "2.0.0"
resolvers += Resolver.bintrayJCenter

Mill build tool

ivy"com.spingo::scoped-fixtures:2.0.0"
MavenRepository("https://jcenter.bintray.com")

Scala CLI

//> using lib com.spingo::scoped-fixtures:2.0.0

Ammonite REPL

import $ivy.`com.spingo::scoped-fixtures:2.0.0`
import ammonite._, Resolvers._
val res = Resolver.Http(
  "Bintray's JCenter",
  "Some(https://jcenter.bintray.com)",
  IvyPattern,
  false)
interp.resolvers() = interp.resolvers() :+ res

<dependency>
  <groupId>com.spingo</groupId>
  <artifactId>scoped-fixtures_2.11</artifactId>
  <version>2.0.0</version>
</dependency>

compile group: 'com.spingo', name: 'scoped-fixtures_2.11', version: '2.0.0'