Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
URUG Testing Primer
Search
blowmage
July 01, 2012
Programming
2
180
URUG Testing Primer
Slides for a presentation introducing testing given to the Utah Valley Ruby Brigade in July 2011.
blowmage
July 01, 2012
Tweet
Share
More Decks by blowmage
See All by blowmage
Open Source Survival Guide
blowmage
2
850
Build to Last
blowmage
0
280
Stupid Ruby Tricks
blowmage
3
1.4k
Real-time Rails with Sync
blowmage
0
200
Writing Games with Ruby
blowmage
1
22k
Minitest & Rails: Total BFFs
blowmage
17
4.6k
Managing Success: We made it, now we're screwed
blowmage
1
140
Presenters and Decorators: A Code Tour
blowmage
20
5.2k
Outgrowing The Cloud
blowmage
1
780
Other Decks in Programming
See All in Programming
AI時代の認知負荷との向き合い方
optfit
0
160
Grafana:建立系統全知視角的捷徑
blueswen
0
330
Unicodeどうしてる? PHPから見たUnicode対応と他言語での対応についてのお伺い
youkidearitai
PRO
1
2.6k
開発者から情シスまで - 多様なユーザー層に届けるAPI提供戦略 / Postman API Night Okinawa 2026 Winter
tasshi
0
210
Basic Architectures
denyspoltorak
0
680
Smart Handoff/Pickup ガイド - Claude Code セッション管理
yukiigarashi
0
140
並行開発のためのコードレビュー
miyukiw
0
880
Oxlint JS plugins
kazupon
1
990
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
5
780
CSC307 Lecture 03
javiergs
PRO
1
490
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
140
Featured
See All Featured
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
220
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
180
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
140
Claude Code のすすめ
schroneko
67
210k
Music & Morning Musume
bryan
47
7.1k
The Language of Interfaces
destraynor
162
26k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
310
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
93
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
120
The SEO Collaboration Effect
kristinabergwall1
0
350
Transcript
TESTING PRIMER Making sense of TDD and BDD
WHY TEST?
COST PER CHANGE (BUGS, NEW FEATURES, ETC) Cost Time Non-TDD
TDD
COST PER TEST Models Controllers/Routes Views/Helpers Application In Browser
ROI PER TEST Models Controllers/Routes Views/Helpers Application In Browser
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
MAXIMIZE VALUE