Packages

p

doobie

munit

package munit

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. munit
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Checker[M[_]] = munit.analysisspec.Checker[M]
  2. type IOChecker = munit.analysisspec.IOChecker

Value Members

  1. 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](
        "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) }
    
    }

Inherited from AnyRef

Inherited from Any

Ungrouped