Git Product home page Git Product logo

address-lookup-ingest-acceptance-tests's Introduction

This is a template README.md. Be sure to update this with project specific content that describes your api test project.

address-lookup-ingest-acceptance-tests

API test suite for the <digital service name> using ScalaTest and play-ws client.

Running the tests

Prior to executing the tests ensure you have:

Run the following commands to start services locally:

docker run --rm -d --name mongo -d -p 27017:27017 mongo:3.6
sm --start IVHO -r --wait 100

Using the --wait 100 argument ensures a health check is run on all the services started as part of the profile. 100 refers to the given number of seconds to wait for services to pass health checks.

Then execute the run_tests.sh script:

./run_tests.sh <environment>

The tests default to the local environment. For a complete list of supported param values, see:

  • src/test/resources/application.conf for environment

Running the tests against a test environment

To run the tests against an environment set the corresponding host environment property as specified under <env>.host.services in the application.conf.

Scalafmt

This repository uses Scalafmt, a code formatter for Scala. The formatting rules configured for this repository are defined within .scalafmt.conf.

To apply formatting to this repository using the configured rules in .scalafmt.conf execute:

sbt scalafmtAll scalafmtSbt

To check files have been formatted as expected execute:

sbt scalafmtCheckAll scalafmtSbtCheck

Visit the official Scalafmt documentation to view a complete list of tasks which can be run.

address-lookup-ingest-acceptance-tests's People

Contributors

ardesco avatar berlin-hmrc avatar beyond-code-github avatar hmrc-web-operations avatar ssaleem-ee avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.