April 2016
Intermediate to advanced
222 pages
4h 30m
English
This chapter discusses support code to set tests up and clean up after them. Initialization, configuration, cleanup, and other support code related to RSpec specs are important in real-world RSpec usage. We will learn how to cleanly organize support code in real-world applications by learning about the following topics:
spec_helper.rbThe RSpec specs that we've seen so far have functioned as standalone units. Specs in the real world, however, almost never work without ...
Read now
Unlock full access