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 behavior for our app.
Here are some of the things we'll learn in this chapter:
BDD and its relation to testing
Defining a minimum marketable feature (MMF)
Building web apps with Rack