doobie.specs2
package doobie.specs2
Members list
Type members
Classlikes
object analysismatchers
Attributes
- Source
- analysismatchers.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
analysismatchers.type
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.
// An example specification, taken from the examples project.
class AnalysisTestSpec extends Specification with AnalysisSpec {
// The transactor to use for the tests.
val transactor = Transactor.fromDriverManager[IO](...)
// Now just mention the queries. Arguments are not used.
check(MyDaoModule.findByNameAndAge(null, 0))
check(MyDaoModule.allWoozles)
}
Attributes
- Source
- analysisspec.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
analysisspec.type
Types
Attributes
- Source
- package.scala
Attributes
- Source
- package.scala
Attributes
- Source
- package.scala
Attributes
- Source
- package.scala
In this article