Mix-in trait for specifications that enables checking of doobie Query and Update values.
// An example specification, taken from the examples project.class ExampleSpec extends FunSuite with QueryChecker {
// The transactor to use for the tests.val transactor = DriverManagerTransactor[IOLite](
"org.postgresql.Driver",
"jdbc:postgresql:world",
"postgres", ""
)
// Now just mention the queries. Arguments are not used.
test("findByNameAndAge") { check(MyDaoModule.findByNameAndAge(null, 0)) }
test("allWoozles") { check(MyDaoModule.allWoozles) }
}
Mix-in trait for specifications that enables checking of doobie
Query
andUpdate
values.