Skip to content

stevenpslade/capybara-to-do

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

A simple Rails To Do app built using a TDD approach. I wanted to become more familiar with feature testing using Capybara (github.com/jnicklas/capybara).

Blog post about my TDD experience: medium.com/@stevenpslade/nobody-told-me-how-fun-tdd-was-eaf5a25fed07#.wkun1nqr3

My approach:

  • Write out what a feature was supposed to do. ie. A user can add a task to a list.

  • Write tests using Rspec and Capybara for the desired feature.

  • Run tests and build out code based off error messages. i.e. No controller for Lists (so we add a Lists controller).

  • End result is various passing tests for the core features of the To Do List app along with the working code to have the app running.

About

A simple Rails To Do List app built using TDD.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published