Skip to content

ngoulongkam/ngc-nsandi-contract-tests

Repository files navigation

ngc-nsandi-contract-tests

Download

Contract tests for the contracts that #team-nextgenconsumer's services expect of National Savings and Investments' (NS&I's) APIs.

Note that these tests do not connect directly to NS&I, they connect to help-to-save-proxy which in turn connects to NS&I. help-to-save-proxy handles authentication to NS&I using certificates and HTTP basic auth.

Running air gap tests locally

Ensure you have the following installed:

Copy the air gap JSON spreadsheet (e.g. WebApiTestingReport_16042018_fixed_headings.xlsx) into directory src/test/resources/airgap.

Then run tests with:

sbt "testOnly *.AirGap*Spec"

Running locally against stub:

sm --start NGC_HELP_TO_SAVE_CONTRACT_TESTS -f
sbt test

License

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published