Code for this lecture: https://github.com/alcastaneda/rails_rspec Video for this lecture:
Test Driven Development (TDD)
TDD Steps
- This is usually done with pair programming
- Write a test
- Run the test - test will fail
- Write bare minimum code to pass the test
- Run the test - pass test
- Go to step 1