Learn something new in an Instant! A short, fast, focused guide delivering immediate results Learn about cross-browser testing with QUnit Learn how to use popular QUnit plugins and develop your own plugins Hands-on examples on all the essential QUnit methods
"Instant Testing with QUnit" is a hands-on guide that will help you achieve beneficial automated testing with QUnit and its plugins. This book also shows you how to engage QUnit for automated cross-browser testing and utilize it in conjunction with development automation and Continuous Integration tools.
"Instant Testing with QUnit" provides a comprehensive look into QUnit essentials and shows how you can benefit from the framework in conjunction with other tools. You will start by considering QUnit fundamentals before learning how QUnit can be used for functional testing and cross-browser automated testing with the Bunyip tool. You will also walk through a tutorial on popular QUnit plugins and then write one of your own. By the end of Instant Testing with QUnit, you will have learned how to run QUnit in the command line and how to set up the Jenkins CI server and make it perform QUnit tests.
What you will learn from this book
Set up and start working with QUnit Use QUnit assertion methods, exception handlers, test grouping functions, and shared setup Test user actions and synchronous calls Run QUnit tests in a console Run automated cross-browser tests with QUnit and Bunyip Include QUnit tests in Apache Ant build script Set up Jenkins and run QUnit tests
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.
Who this book is written for