Unit Testing with QUnit
WHAT’S IN THIS CHAPTER?
- An Introduction to Unit Testing
- Getting Started with QUnit
- Asynchronous Testing
- Putting It All Together
In this chapter, you learn about the benefits of unit testing and about the specific unit testing framework created and used by the jQuery project itself, QUnit. You learn how to write your own tests and how to integrate QUnit with your own projects to increase code quality, maintainability, and overall confidence.
AN INTRODUCTION TO UNIT TESTING
As you’ll soon see, the benefits are ...