Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
810
Build to Last
blowmage
0
270
Stupid Ruby Tricks
blowmage
3
1.4k
Real-time Rails with Sync
blowmage
0
190
Writing Games with Ruby
blowmage
1
22k
Minitest & Rails: Total BFFs
blowmage
17
4.5k
Managing Success: We made it, now we're screwed
blowmage
1
140
Presenters and Decorators: A Code Tour
blowmage
20
5.1k
Outgrowing The Cloud
blowmage
1
770
Other Decks in Programming
See All in Programming
堅牢なフロントエンドテスト基盤を構築するために行った取り組み
shogo4131
4
1.5k
Module Harmony
petamoriken
2
590
Reactive Thinking with Signals and the new Resource API
manfredsteyer
PRO
0
140
Microservices rules: What good looks like
cer
PRO
0
260
WebRTC と Rust と8K 60fps
tnoho
2
1.7k
TypeScript 5.9 で使えるようになった import defer でパフォーマンス最適化を実現する
bicstone
1
580
JJUG CCC 2025 Fall Javaコミュニティの歩き方 〜参加から貢献まで、すべて教えます〜
takasyou
0
300
ZOZOにおけるAI活用の現在 ~モバイルアプリ開発でのAI活用状況と事例~
zozotech
PRO
7
3.5k
「文字列→日付」の落とし穴 〜Ruby Date.parseの意外な挙動〜
sg4k0
0
330
【レイトレ合宿11】kagayaki_v4
runningoutrate
0
200
Full-Cycle Reactivity in Angular: SignalStore mit Signal Forms und Resources
manfredsteyer
PRO
0
160
CloudNative Days Winter 2025: 一週間で作る低レイヤコンテナランタイム
ternbusty
7
1.8k
Featured
See All Featured
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Mobile First: as difficult as doing things right
swwweet
225
10k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.2k
How to Think Like a Performance Engineer
csswizardry
28
2.3k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
The Invisible Side of Design
smashingmag
302
51k
The Cult of Friendly URLs
andyhume
79
6.7k
Six Lessons from altMBA
skipperchong
29
4.1k
Documentation Writing (for coders)
carmenintech
76
5.2k
GraphQLとの向き合い方2022年版
quramy
49
14k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
11
950
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