Instant Testing with CasperJS
By Eric Brehault
Publisher: Packt Publishing
Final Release Date: January 2014
Pages: 68

In Detail

Professional web development implies systematic testing. While JavaScript unit tests will validate your JavaScript library?s quality, web functional testing is the only way to guarantee the expected behavior of your web pages. CasperJS is a fast and simple JavaScript testing API that can run on any platform, and it is currently one of the best and easiest ways to write your functional tests.

Instant Testing with CasperJS will teach you how to write efficient and accurate tests for your professional web developments. This practical guide explains the various different CasperJS principles through clear and detailed examples, covering a large set of common use cases. This book will progressively cover everything you need to know from CasperJS basic principles to the most advanced testing practices.

This book starts off by introducing you to the different testing assertions that you can perform with the CasperJS API. We will then move on to cover why bad timing between event triggering can ruin tests and learn strategies to avoid it. Finally, you will learn how to test efficient and complex web interactions like drag and drop, authentication, and file uploading. With Instant Testing with CasperJS, you will be able to set up an advanced and functional test suite for your web development projects quickly and efficiently.

Approach

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 create CasperJS tests for your web development projects.

Who this book is for

This book will be extremely useful for web developers who are new to testing or who want to move from another testing solution to CasperJS. It is assumed that you are familiar with web development and have a good knowledge of JavaScript.

Product Details
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyInstant Testing with CasperJS
 
4.0

(based on 1 review)

Ratings Distribution

  • 5 Stars

     

    (0)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Reviewed by 1 customer

Displaying review 1

Back to top

 
4.0

Good CasperJS getting guide

By mattcam

from Melbourne, AU

Verified Buyer

Comments about oreilly Instant Testing with CasperJS:

Book helped confirm my approach for testing with CasperJS.

Displaying review 1

Back to top

 
Buy 2 Get 1 Free Free Shipping Guarantee
Buying Options
Immediate Access - Go Digital what's this?
Ebook: $14.99
Formats:  ePub, Mobi, PDF