Avindra Fernando

Camp Counselor

Testing your UI Components

Event Logo

Wednesday, May 25, 2022 - 6:00 PM UTC, for 1 hour.

Regular, 60 minute presentation

Room: Campsite 6

When our clients give us kudos for releasing high quality applications, it makes us happy. To achieve great levels of quality, we need to thoroughly test our applications. But we know that some forms of testing can be expensive and tedious at times. Unit and integration tests help overcome some of the testing challenges companies are facing today. We’ve all heard that these types of tests help reduce bugs in new features. While reduced bugs are a great benefit, the main goal of unit and integration testing is to drive better design. As reusable units, React, Vue, or Angular components are perfect candidates for unit and integration testing. The "Testing Library" provides a great testing toolkit, which helps simulate how the user interacts with your application. In this session, we will explore how you can leverage the Testing Library and Jest to test React, Vue, or Angular components. By the end of this session, you will be better equipped to test your UI components and improve the quality of your application.

Prerequisites

JavaScript Basics

Take Aways

  • How to integrate the "Testing Library" into your application.
  • Learn to write complete tests for your UI components using Testing Library
favorited by:
Jake Pogorelec Homer Gaines