This is samle of test automation framework for testing the following applications:
-
API Gateway REST API with Lambda authorizer Testing for this app is done by Axios library
-
Lambda to S3 Testing for this app is done by aws-sdk library
yarn install
Copy ./.exmple.env as .test.env and fill yout own aws credentials, api endpoint and lambda function name
- Run all tests:
yarn run aws:test
- Run specific tests:
yarn run aws:test {fileName1} {fileName2}
where {fileName1} is a name of the file in ./tests folder