April 2015
Intermediate to advanced
276 pages
5h 38m
English
The jasmine-jquery plugin provides a rich set of custom matchers for jQuery framework. In this recipe, you will learn how to apply various custom matchers in different situations.
To understand this recipe, let's assume that you are developing an application using jQuery/JavaScript and you have to implement test code for various scenarios by applying different custom jQuery matchers.
"As a JavaScript developer I want to apply different custom jQuery matchers so that I can implement a test condition successfully."
Here are the different scenarios:
toContainText matcher should be applied successfully to find any text in an elementtoHaveText matcher should be applied successfully ...Read now
Unlock full access