Skip to content

saasbook/hw-bdd-cucumber

Repository files navigation

CHIP 7.7: Behavior Driven Development with Cucumber

In this assignment, you will create user stories to describe a feature of a SaaS app, use the Cucumber tool to turn those stories into executable acceptance tests, and run the tests against your SaaS app.

Specifically, you will write Cucumber scenarios that test the happy paths of parts 1-3 of the Rails Intro assignment, in which you added filtering and sorting to RottenPotatoes' index view for Movies. (Remember, the happy paths are the steps users take when they successfully use an application.)

The app code in rottenpotatoes contains a "canonical" solution to the Rails Intro assignment against which to write your scenarios, and the necessary scaffolding for the first couple of scenarios.

Get the assignment code

As in previous CHIPS, you will need to authenticate git with GitHub to clone the repository for this assignment. The clone URL below will require that you use public key authentication.

If your course has provided you with a repository, please clone that:

git clone [email protected]:[YOUR_CLASS_GITHUB]/[YOUR_PERSONAL_REPO].git rottenpotatoes
cd rottenpotatoes

Otherwise, you may choose to fork, and then close the public template.

git clone [email protected]:saasbook/hw-bdd-cucumber.git rottenpotatoes
cd rottenpotatoes

⚠️ Your directory must be named rottenpotatoes.