analysisspec

doobie.munit.analysisspec$

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

class ExampleSuite extends FunSuite with IOChecker {

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

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

}

Attributes

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

Members list

Concise view

Type members

Classlikes

object Checker

Attributes

Companion:
trait
Source:
analysisspec.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Checker.type
trait Checker[M[_]] extends CheckerBase[M]

Attributes

Companion:
object
Source:
analysisspec.scala
Graph
Supertypes
trait CheckerBase[M]
class Object
trait Matchable
class Any
Known subtypes
trait IOChecker
Self type
Assertions
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
Assertions