package munit
- Source
- package.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- munit
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- type Checker[M[_]] = munit.analysisspec.Checker[M]
- type IOChecker = munit.analysisspec.IOChecker
Value Members
- object analysisspec
Module with a mix-in trait for specifications that enables checking of doobie
Query
andUpdate
values.Module with a mix-in trait for specifications that enables checking of doobie
Query
andUpdate
values.class ExampleSuite extends FunSuite with IOChecker { // The transactor to use for the tests. val transactor = Transactor.fromDriverManager[IO]( "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) } }