doobie.munit

package doobie.munit

Members list

Type members

Classlikes

object analysisspec

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

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
Supertypes
class Object
trait Matchable
class Any
Self type

Types

type Checker[M[_]] = Checker[M]

Attributes

Source
package.scala

Attributes

Source
package.scala