Integration Testing a Cloud Native Application with JavaScript

This talk will take you through the challenge of testing a cloud-native application that uses MQTT (a pub/sub protocol), webhooks and REST to interact with IoT devices on top of AWS. It uses services which cannot be run on a developers machine for testing, so it was needed to develop a test setup which enables us to continuously test against real services. A Behavior-Driven Development (BDD) approach was used to write the tests to make the progress in the project self-documenting and the test immune against effects of big refactorings. This provided an extra set of challenges since these tests are written in a serial manner, which does not fit the asynchronous execution of the real solution. You will learn how all this is done using JavaScript and that this is not only an interesting challenge but uses tests that behave like real users, and that there is an Ops person in all of us.

Video producer: