End-to-End Tests for AWS-SQS written in JavaScript ES6 using Mocha test framework and Chai assertion library. Tests are created against an Amazon SQS-compatible mock-server called ElasticMQ
Note: The framework has not been tested against real AWS-SQS Cloud Service. Minor modifications in configuration are needed for tests to run against the real Service.
- Node
- Npm or Yarn
- Java
- ElasticMQ
- One-liner clone and install -
git clone https://github.com/abhimassive/aws-sqs-mocha-testframework.git &&
cd aws-sqs-mocha-testframework &&
yarn install
-
Start ElasticMQ server and get its local server address/port (refer their repo link above)
-
Create a
.env
file at the root of this repo and populate the values taking.env_sample
as a reference -
Run TestSuite -
yarn run apitests
-
View Test Report - open
sqs-test-report.html
present undertest-reports
folder