Declaring pending specs with Jasmine tests
Sometimes, the specific functionality of an application gets changed or becomes obsolete due to new business rules or change requests raised by stakeholders. In this situation, such legacy Jasmine tests also becomes obsolete and there is a need to remove them from the existing suites. In this recipe, you will learn the usage of pending specs and how to handle the specs that get changed or obsolete.
Getting ready
You will learn this recipe with the help of the second recipe in this chapter, Writing a Jasmine test with Custom Matchers.
To understand the concept of pending specs, consider that a few of the business rules have been changed for both the scenarios described in the second recipe. Now, let's consider ...
Get Jasmine Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.