analysisspec

doobie.specs2.analysisspec$

Module with a mix-in trait for specifications that enables checking of doobie Query and Update values.

// An example specification, taken from the examples project.
class AnalysisTestSpec extends Specification with AnalysisSpec {

 // The transactor to use for the tests.
 val transactor = Transactor.fromDriverManager[IO](...)

 // Now just mention the queries. Arguments are not used.
 check(MyDaoModule.findByNameAndAge(null, 0))
 check(MyDaoModule.allWoozles)

}

Attributes

Source:
analysisspec.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

trait Checker[M[_]] extends CheckerBase[M]

Attributes

Source:
analysisspec.scala
Graph
Supertypes
trait CheckerBase[M]
class Object
trait Matchable
class Any
Known subtypes
trait IOChecker
Self type
Specification
trait IOChecker extends Checker[IO]

Implementation of Checker[IO]

Implementation of Checker[IO]

Attributes

Source:
analysisspec.scala
Graph
Supertypes
trait Checker[IO]
trait CheckerBase[IO]
class Object
trait Matchable
class Any
Self type
Specification