Overview
How this workshop is structured
We will all be working off the reading_meow github repo located here: https://github.com/BintLopez/reading_meow
This workshop is divided into 6 sections:
- Overview of testing
- RSpec set up in Rails
- Testing Models
- Testing Routes and Controllers
- Testing Views
- Testing Business Logic
Each section after the intro has a branch for you to check out as a starting point and as an ending point to look at solutions. If you get stuck in one section -- no worries -- you get a fresh start with each new section!
If you have questions...
I will try to stop for questions at the end of each section. However, if you have burning questions or get stuck or confused, tweet at me!
I'm @Bint_alBeatz on the Twittersphere!
Branches in Sequential Order
Note -- as we go through the curriculum, each new section will designate your starting branch to check out.
# all the branches in sequential order
set_up_with_rspec_and_friends_start
set_up_with_rspec_and_friends_complete
testing_models_start
testing_models_solutions
testing_routing_start
testing_routing_solutions
controller_auth_testing_start
controller_auth_testing_solutions
views_testing_start
views_testing_solutions
testing_biz_logic_start
What this workshop will cover
- Basic concepts in testing
- How to use RSpec as the testing framework for your Rails app
What this workshop will NOT cover
- How RSpec works
- Acceptance testing
- CI (or continuous integration)