You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At this point, we’ve made our way through the second step in the concentric cycles described in Section 1.5, The BDD Cycle, on page 28: we now have a Cucumber step, which is failing with a logical failure. And we’ve also laid quite a bit of foundation.
We’ve set up the development environment for the Codebreaker game, with a conventional directory layout for Ruby libraries. We expressed the first feature from the outside using Cucumber, with automatable acceptance criteria using the simple language of Given, When, Then.
So far, we’ve been describing things from the outside with Cucumber. In the next chapter, we’ll begin to work our way from the outside in, using RSpec to drive out behavior of individual objects.