hmrctest will no longer be supported. If you are considering using hmrctest for integration testing (with sm server), please use the service-integration-test library.
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.
Include one of the following dependencies in your SBT build based on whether you are using Play 2.5 or Play 2.6
resolvers += Resolver.bintrayRepo("hmrc", "releases")
libraryDependencies += "uk.gov.hmrc" %% "hmrctest" % "x.x.x-play-25" % "test"
or
libraryDependencies += "uk.gov.hmrc" %% "hmrctest" % "x.x.x-play-26" % "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"
This code is open source software licensed under the Apache 2.0 License.