March 2023
Intermediate to advanced
280 pages
3h 52m
English
With our test runner in an extremely functional state, it’s time to look at some more interesting features.
In this chapter we’ll implement a pair of functions: the describe.shared function and the it.behavesLike function. They can be used to apply a test suite to multiple different objects, each of which is expected to implement the same behavior.
The various methods of reuse that are available to test suites
How to build variants of describe and it on top of the existing test runner ...
Read now
Unlock full access