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
160
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
620
Build to Last
blowmage
0
240
Stupid Ruby Tricks
blowmage
3
1.3k
Real-time Rails with Sync
blowmage
0
160
Writing Games with Ruby
blowmage
1
21k
Minitest & Rails: Total BFFs
blowmage
17
4.2k
Managing Success: We made it, now we're screwed
blowmage
1
110
Presenters and Decorators: A Code Tour
blowmage
20
5k
Outgrowing The Cloud
blowmage
1
740
Other Decks in Programming
See All in Programming
全部見せます! クラシルリワードのSwiftTesting移行プロジェクト
uetyo
0
180
Debugging: All you need to know (for simultaneous interpreting)
jmatsu
2
370
Go Code Generation at newmo / 2024-08-27 #newmo_layerx_go
genkey6
0
550
Jakarta EE meets AI
ivargrimstad
1
190
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
150
Android開発以外のAndroid開発経験の活かしどころ
konifar
0
330
Ruby Parser progress report 2024
yui_knk
2
200
Some more adventure of Happy Eyeballs
coe401_
2
160
Hono・Prisma・AWSでGeoなAPI開発
nokonoko1203
5
650
Appleの新しいプライバシー要件対応: ノーコードアプリ プラットフォームの実践事例
nao_randd
1
590
null or undefined
susisu
22
6.1k
Method Swizzlingを行うライブラリにおけるマルチモジュール設計
yoshikma
0
110
Featured
See All Featured
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
88
16k
Teambox: Starting and Learning
jrom
131
8.7k
The Straight Up "How To Draw Better" Workshop
denniskardys
230
130k
Clear Off the Table
cherdarchuk
91
320k
Fireside Chat
paigeccino
31
2.9k
Creatively Recalculating Your Daily Design Routine
revolveconf
215
12k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
52k
The World Runs on Bad Software
bkeepers
PRO
64
11k
Mobile First: as difficult as doing things right
swwweet
221
8.8k
The Cost Of JavaScript in 2023
addyosmani
41
5.2k
Fantastic passwords and where to find them - at NoRuKo
philnash
48
2.8k
How to Think Like a Performance Engineer
csswizardry
16
940
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