O'Reilly logo

JavaScript Testing by Liang Yuxian Eugene

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action—coding, modifying, throwing, and catching errors

I need you to focus and pay attention in this section because we will be applying all that we have learnt previously when we first created an application. After that, we will attempt to generate our own errors and throw various error messages as a part of our testing process.

What we will create is a mock movie booking system. I'm not sure about you, but I've noticed that the folks at the service counter use some form of a movie booking system that has a GUI to facilitate their booking process. Not only will we be creating that, but we will also add more features, such as purchasing food and drinks to go with the movie tickets.

Here are the details of the movie tickets booking system: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required