Skip to content

Advanced Testing with RSpec & Capybara

Thomas Johnson edited this page May 7, 2018 · 7 revisions

Setup

(OPTIONAL) Save your current changes

If you have changes in your current branch -- you can check on this via git status -- you'll want to save those before starting this lesson (which uses a separate branch):

  • git checkout -b work_in_progress
  • git add .
  • git commit -m 'checkpoint before beginning testing lesson'

Check out working branch

git checkout lesson_2_start

NOTE: If you make experimental changes and want to get back to the minimal code state necessary to run this lesson, you can check the starting code out again using:
git checkout lesson_2_start

Deciding what to test (aka making major life decisions)

Test Pyramid

Clone this wiki locally