URUG Testing Primer

URUG Testing Primer

Slides for a presentation introducing testing given to the Utah Valley Ruby Brigade in July 2011.

Cd8da976054ea4915eafc5d9dd096d38?s=128

blowmage

July 01, 2012
Tweet

Transcript

  1. TESTING PRIMER Making sense of TDD and BDD

  2. WHY TEST?

  3. COST PER CHANGE (BUGS, NEW FEATURES, ETC) Cost Time Non-TDD

    TDD
  4. COST PER TEST Models Controllers/Routes Views/Helpers Application In Browser

  5. ROI PER TEST Models Controllers/Routes Views/Helpers Application In Browser

  6. CORRELATION In Browser Acceptance Tests ??? Cucumber Capybara Selenium Application

    Acceptance Tests IntegrationTest ??? Cucumber Capybara Selenium Views & Helpers Integration Tests ActionView::TestCase RSpec Controllers & Routes Integration Tests ActionController::TestCase RSpec Model Unit Tests ActiveRecord::TestCase RSpec
  7. MAXIMIZE VALUE