rspec-example

Using BDD Stack in Rails 4 to build a simple product listing application

Stars
0

This project is showing you how to use BDD stack in rails 4 to build a simple product listing application.

Things covered:

  • BDD in Rails 4 to build a basic app
  • Testing model and controller with Rspec
  • Testing views using Cucumber:

Cucumber scope including:

  • Testing of page's content with a list of products (basic feature scenario and steps)
  • Filling form when uploading a new product to the site (basic form filling in Cucumber)
  • Showing the right page when an existing product's link is clicked

After clone, then you can do: bundle exec rspec spec/ bin/cucumber features/