This toy application will guide you through Rails TDD with a focus on capybara and feature tests.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib
log
public
vendor/assets
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

Testing In Rails with Capybara

In this tutorial, we will go over the multiple ways we can test in Rails. The focus will be on Capybara testing with some more complex unit testing.

Once again, Suya and Vendors will be our focus.

Instructions.

This is the master branch. To start learning, switch over to another Github branch and follow the instrucitons.

  1. If you want to learn about Capybara Testing with some unit testing and the launchy gem, switch over to branch 1-capybara-testing-with-tdd
  2. For more advanced capybara testing, switch over to branch 2-capybara-advanced
  3. If you want to learn about Paperclip uploads and testing, switch over to 3-paperclip-uploads-and-testing

Good luck! If you have any questions, feel free to contact me.

This tutorial is written by: Jeffrey Wan