O'Reilly logo

jQuery in Action, Third Edition by Yehuda Katz Bear Bibeault and Aurelio De Rosa

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

Chapter 14. Unit testing with QUnit

This chapter covers

  • Why testing is important
  • What unit testing means
  • Installing QUnit
  • Testing your JavaScript code with QUnit
  • How to create a complete test suite with QUnit

The previous chapter was the last discussing concepts strictly related to the jQuery core. Deferred and Promise might have been tough arguments to learn but, hopefully, with our help the process has gone smoothly.

It’s now time for you to enhance your skills even further. In this chapter you’ll learn other tools and techniques that every pro must know. You’ll apply them to code written using jQuery, but you can reuse this knowledge with any code written in JavaScript. Testing is an essential concept to master if you’re working ...

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