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
ぼくの開発環境2026
yuzneri
0
100
AI巻き込み型コードレビューのススメ
nealle
0
120
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
420
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
220
Basic Architectures
denyspoltorak
0
660
Fluid Templating in TYPO3 14
s2b
0
130
CSC307 Lecture 08
javiergs
PRO
0
670
Kotlin Multiplatform Meetup - Compose Multiplatform 외부 의존성 아키텍처 설계부터 운영까지
wisemuji
0
190
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.8k
コントリビューターによるDenoのすゝめ / Deno Recommendations by a Contributor
petamoriken
0
200
CSC307 Lecture 01
javiergs
PRO
0
690
Featured
See All Featured
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
140
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
54
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.9k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
150
The World Runs on Bad Software
bkeepers
PRO
72
12k
Done Done
chrislema
186
16k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
160
Embracing the Ebb and Flow
colly
88
5k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
SEO for Brand Visibility & Recognition
aleyda
0
4.2k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
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