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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
blowmage
July 01, 2012
Programming
2
190
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
150
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 & Enginnering
codelynx
0
140
ふん…おもしれぇ Parser。RubyKaigi 行ってやるぜ
aki_pin0
0
110
個人開発は儲からない - それでも開発開始1ヶ月で300万円売り上げた方法
taishiyade
0
110
kintone + ローカルLLM = ?
akit37
0
110
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
7
1.1k
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
1.8k
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
380
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
120
Raku Raku Notion 20260128
hareyakayuruyaka
0
410
Package Management Learnings from Homebrew
mikemcquaid
0
260
2025年の活動の振り返り
hideg
0
110
CSC307 Lecture 10
javiergs
PRO
1
690
Featured
See All Featured
Believing is Seeing
oripsolob
1
65
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
120
First, design no harm
axbom
PRO
2
1.1k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
130
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
650
How to build a perfect <img>
jonoalderson
1
5.2k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.7k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
99
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
180
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
From π to Pie charts
rasagy
0
140
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