Chapter 7. Building an App from the Outside In with Behavior-Driven Development
RSpec's home page describes it as:
Behaviour-Driven Development tool for Ruby programmers | ||
--RSpec (https://www.relishapp.com/rspec) |
In this chapter and the next one, we'll learn about Behavior-Driven Development (BDD) by building an app from the outside in, that is, by beginning with high-level acceptance tests that also serve as documentation for the important features of the app. We'll build the app from the outermost part (the user interface) inwards, through the controller portion, and, finally, to the model. We'll build on what we learned in the preceding chapter on automated browser testing with Capybara to create an executable feature file that defines our high-level ...
Get RSpec Essentials 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.