March 2023
Intermediate to advanced
280 pages
3h 52m
English
In this part, you will add some unique features that are borrowed from other programming environments.
In Chapter 11, “Shared Examples,” we borrow an important feature from Ruby: inheritance for describe blocks, which gives us a flexible mechanism for removing duplication between test groups.
In Chapter 12, “Tagging Tests,” we create a mechanism for running a group of tests based on their tag.
In Chapter 13, “Skipping Tests,” we introduce a number of ways to skip tests, including tests without bodies, and it.skip and describe.skip functions.
In Chapter 14, “Randomizing Tests,” we add a runtime flag for randomizing the order of tests, which is a useful technique for catching invisible dependencies ...
Read now
Unlock full access