Skip to content

Repository files navigation

income-tax-returns-frontend

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

Requirements

This service is written in Scala and Play, so needs at least a [JRE] to run.

Compiling the application

To simply compile application across all three code domains: code, unit tests and integration tests run following command:

sbt compileAll

Run the application

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"]}'

To run the application locally execute the following:

sbt 'run 9097'

To run the application locally execute in test mode the following:

sbt "run 9097 -Dplay.http.router=testOnlyDoNotUseInAppConf.Routes"

Test the application

To test the application execute:

sbt clean coverage test it/test coverageOff coverageReport

How to run sbt-scoverage plugin for the application

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

License

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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages