Book Image

Mastering Web Application Development with Express

By : Alexandru Vladutu
Book Image

Mastering Web Application Development with Express

By: Alexandru Vladutu

Overview of this book

Table of Contents (18 chapters)
Mastering Web Application Development with Express
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Client-side testing


So far, we have covered testing the backend functionality of our projects as well as ensuring that the server returns the correct HTTP responses by using supertest. To achieve the holy grail of programming, we can go even further and test our client-side code.

We will not focus on test frameworks or how to write client-side tests and run them step-by-step, but instead, we will see what our toolbox contains so that we have our options clear.

There are different types of tools that can help us in our quest by either spinning up a real browser or simulating their environment, such as the following ones: