Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Testing Primer

907 views

Published on

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

Published in: Technology, Education
  • Be the first to comment

  • Be the first to like this

Testing Primer

  1. 1. TESTING PRIMER Making sense of TDD and BDD
  2. 2. WHY TEST?
  3. 3. COST PER CHANGE(BUGS, NEW FEATURES, ETC) Non-TDD TDDCost Time
  4. 4. COST PER TEST ModelsControllers/Routes Views/Helpers Application In Browser
  5. 5. ROI PER TEST ModelsControllers/Routes Views/Helpers Application In Browser
  6. 6. CORRELATION In Browser ??? Cucumber Acceptance Tests Capybara Selenium Application IntegrationTest ??? Views & Helpers ActionView::TestCase Integration TestsControllers & Routes ActionController::TestCase RSpec Model Unit Tests ActiveRecord::TestCase
  7. 7. MAXIMIZE VALUE

×