Skip to Main Content
Implementing AWS: Design, Build, and Manage your Infrastructure
book

Implementing AWS: Design, Build, and Manage your Infrastructure

by Yohan Wadia, Rowan Udell, Lucas Chan, Udita Gupta
January 2019
Intermediate to advanced content levelIntermediate to advanced
690 pages
16h
English
Packt Publishing
Content preview from Implementing AWS: Design, Build, and Manage your Infrastructure

Testing functions using the npm modules

There is a lot of testing that you can do with mocha and chai, however, with time, your test code becomes really long, complex, and difficult to manage. This can prove to be an issue, especially when it comes to adding newer functionality to your code and then requiring to retest it all over again. 

That's one or more reasons why we now have a wide assortment of simpler, easier to use test frameworks that encapsulate a lot of the bulk validation code and help minimize the complexity of managing test cases. One such really interesting framework is provided as an npm module, so it makes it really easy to test Lambda functions that are written in Node.js and that module is called as lambda-tester created ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

AWS Account Setup Best Practices

AWS Account Setup Best Practices

Chad Smith
AWS Administration Cookbook

AWS Administration Cookbook

Rowan Udell, Lucas Chan

Publisher Resources

ISBN: 9781788835770OtherErrata Page