Package

doobie

specs2

Permalink

package specs2

Visibility
  1. Public
  2. All

Value Members

  1. object analysisspec

    Permalink

    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.

    // An example specification, taken from the examples project.
    object AnalysisTestSpec extends Specification with AnalysisSpec {
    
      // 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.
      check(MyDaoModule.findByNameAndAge(null, 0))
      check(MyDaoModule.allWoozles)
    
    }
  2. object imports

    Permalink

Ungrouped