Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.02 KB

README.md

File metadata and controls

33 lines (21 loc) · 1.02 KB

aws-sqs-mocha-testframework

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.

Pre-Reqs:

  • Node
  • Npm or Yarn
  • Java
  • ElasticMQ

Get Started:

  • 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 under test-reports folder