API functional tests are written using the following
- axios - Promised based HTTP Client
- mocha - Test Runner
- chai - Assertion library
- ajv - JSON schema validator
- Each component has its own folder under the
/tests
folder. Eg. matcher tests are present under/test/matcher
- Similarly, each compnonent has its own script. Eg. to run macher tests, run
yarn run matcher
- clone this repo
yarn install
yarn run setup
- for
bank-api
tests, copy all your client-certficates and private keys into their respective folders under/certificates/<env name>
(these files are git ignored) yarn run <component name>