hmrc / hmrctest

Scala library providing some useful functionality for unit and integration tests

GitHub

hmrctest

Build Status Download

hmrctest is a Scala library providing some useful functionality for unit and integration tests.

In order to use the classes from the uk.gov.hmrc.play.it package, you need to run smserver.

Adding to your service

Include the following dependency in your SBT build

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

libraryDependencies += "uk.gov.hmrc" %% "hmrctest" % "x.x.x" % "test"

Optionally, to make hmrctest-provided components available for dependency injection, add the following to your reference.conf:

play.modules.enabled += "uk.gov.hmrc.play.it.HmrcTestModule"

License

This code is open source software licensed under the Apache 2.0 License.