Skip to content

Testing

Daniel Molina edited this page Feb 22, 2017 · 4 revisions

We implemented a Test-driven development (TDD) called Mocha to perform a test in the receiver.js and auth.js lambdas. The worker.js lambda keep out of TDD because is seriously dependent of AWS CloudWatch Scheduler Trigger and SQS.

Installing Mocha

  • npm install mocha -g

Running test

  • npm test
Clone this wiki locally