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 ...
Get jQuery in Action, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.