hmrc / reactivemongo-test

Test library for reactivemongo

Version Matrix


Download Apache-2.0 license Build Status

Test library for reactivemongo


Mixing this trait into your spec will trigger test failure if un-indexed queries are executed. This is achieved by activating Mongo's notablescan option before running the spec (and turning it off afterwards).


Include the following dependency in your SBT build

resolvers += Resolver.bintrayRepo("hmrc", "releases")

libraryDependencies += "" %% "reactivemongo-test" % "[INSERT_VERSION]"

For Java 7 and Play 2.3.x use versions <=1.1.0