Instant Testing with QUnit

Front Cover
Packt Publishing, Jan 1, 2013 - Computers - 64 pages
1 Review
Reviews aren't verified, but Google checks for and removes fake content when it's identified
Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. A concise guide full of step-by-step recipes to teach you how to perform automated testing using QUnit."Instant Testing with QUnit" is for anyone working with JavaScript who is looking for a powerful and easy-to-use testing framework. The reader does not need to know any particular framework, only the basic principles of JavaScript and HTML.

What people are saying - Write a review

Reviews aren't verified, but Google checks for and removes fake content when it's identified
User Review - Flag as inappropriate

If you are going to build any non trivial web applications with javascript, you will need to test your code. There are a lot of JavaScript unit testing libraries available and Dmitry Sheiko's book "Instant Testing with QUnit" is a practical book which shows you how to deploy QUnit and its plugins, to increase your efficiency when testing JavaScript code.
QUnit, developed by the jQuery team, is a powerful easy-to-use and flexible JavaScript unit testing framework which can be used to test any generic JavaScript code in the web browser. In the introductory chapters, the book begins by showing you how to set up the QUnit testing environment and getting acquainted with the QUnit framework.
It then introduces you the QUnit core assertion methods in addition to some assertion methods provided by QUnit plugins. The chapters in the book use real code samples to introduce you to QUnit testing. It's just a real shame that one of the first code examples the book uses, has a typo error in the javascript which makes you think twice whether or not you want to persevere with the code examples!
This book is definitely not a book for the novice, If you've never used QUnit before or are new to javascript testing you are advised to search the web for some basic introduction and tutorials on QUnit before you begin this book. For readers who use QUnit the book does have advanced sections on writing your own custom assertion plugins and running your QUnit tests from the command line.

About the author (2013)

Dmitry Sheiko is a web developer, blogger, and open source contributor living and working in the city of Frankfurt am Main, Germany. He started learning about computer programming in the late 80s. Since the late 90s, he has been developing web applications and tools. He currently works as a senior web developer for a leading game development company called Crytek GmbH. This is Dmitry's first book, but he has been blogging for a decade. You can find his thoughts and solutions on subjects such as code quality, software architecture, JavaScript, NodeJs, TypeScript, HTML5 API, CSS3, and PHP at http: //'s very first open source contribution was BCWB - an XSLT-based CMS in 2004. Since then, he has been contributing quite consistently. His latest works are available at https: //

Bibliographic information