This is the repository for the Income Tax Financials Details frontend.
Backends: https://github.com/hmrc/income-tax-calculation https://github.com/hmrc/income-tax-obligations https://github.com/hmrc/income-tax-business-details https://github.com/hmrc/income-tax-financial-details
Stub: https://github.com/hmrc/income-tax-vc-fs-and-stub
Feature switch info: https://confluence.tools.tax.service.gov.uk/pages/viewpage.action?spaceKey=MISUV&title=Feature+Switches+State
This service is written in Scala and Play, so needs at least a [JRE] to run.
To simply compile application across all three code domains: code, unit tests and integration tests run following command:
sbt compileAll
To start all Service Manager services from the latest RELEASE version instead of snapshot execute the following:
sm2 --start ITVC_TEST --appendArgs '{"CITIZEN_DETAILS":["-Dmongodb.cid-sautr-cache.enabled=false"]}'
sbt 'run 9097'
sbt "run 9097 -Dplay.http.router=testOnlyDoNotUseInAppConf.Routes"
To test the application execute:
sbt clean coverage test it/test coverageOff coverageReport
To generate scoverage report for the unit tests execute:
sbt clean coverage test coverageOff coverageReport
To generate scoverage report for the integration tests execute:
sbt clean coverage it/test coverageOff coverageReport
To generate aggregated scoverage report for the unit and integration tests in one go execute:
sbt clean coverage test it/test coverageOff coverageReport
This code is open source software licensed under the Apache 2.0 License