Slides for a presentation introducing testing given to the Utah Valley Ruby Brigade in July 2011.
TESTING PRIMERMaking sense of TDD and BDD
View Slide
WHY TEST?
COST PER CHANGE(BUGS, NEW FEATURES, ETC)CostTimeNon-TDD TDD
COST PER TESTModelsControllers/RoutesViews/HelpersApplicationIn Browser
ROI PER TESTModelsControllers/RoutesViews/HelpersApplicationIn Browser
CORRELATIONIn BrowserAcceptance Tests???CucumberCapybaraSeleniumApplicationAcceptance TestsIntegrationTest ???CucumberCapybaraSeleniumViews & HelpersIntegration TestsActionView::TestCaseRSpecControllers & RoutesIntegration TestsActionController::TestCase RSpecModel Unit Tests ActiveRecord::TestCaseRSpec
MAXIMIZE VALUE