Testing your front-end application to production

A presentation at Decoupled Days in in New York, NY, USA by Bassam Ismail

Building a decoupled application is one half of the story before you can deploy it to production. To make sure you have a sturdy application you will have to test it on multiple fronts. You will have to tests various types of components, async operations, integration between multiple components, and a lot more.

In this example-driven session, you will learn how to drive an application from no tests to multiple unit, snapshot, and integration tests without breaking a sweat.

In this session, you will learn:

  • various ways to test your components. We will be using React as an example here.

  • how snapshot testing can help you keep looking at the UI every time you make a change.

  • writing integration tests to make sure all the components are working with each other.

  • Bonus: how type checking can help you refactor and find problems at compile time.

Attendees should have experience with ES2015 JavaScript. Familiarity with a JavaScript framework, such as React or Vue, may also be helpful.

Resources

The following resources were mentioned during the presentation or are useful additional information.