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
570
Build to Last
blowmage
0
240
Stupid Ruby Tricks
blowmage
3
1.3k
Real-time Rails with Sync
blowmage
0
150
Writing Games with Ruby
blowmage
1
21k
Minitest & Rails: Total BFFs
blowmage
17
4.1k
Managing Success: We made it, now we're screwed
blowmage
1
110
Presenters and Decorators: A Code Tour
blowmage
20
4.9k
Outgrowing The Cloud
blowmage
1
730
Other Decks in Programming
See All in Programming
大規模Reactアプリのリアーキテクチャ~8万行のTanStack Query移行の軌跡~
kj455
4
1k
Documentation for users with AsciiDoc and Antora
ahus1
0
370
単体テストを書かない技術 #phpcon_odawara
o0h
PRO
27
8.5k
VS Code をプロダクトにどう取り込むか
onomax
1
730
TCAとKMPを用いた新規動画配信アプリ 「ABEMA Live」の設計
tomu28
2
130
Deep Dive into React Stream/Serialize
mugi_uno
3
680
敵対的ポイフル
futabato
0
130
Git Rebase
bkuhlmann
11
1.6k
CDKコントリビュートの最初の壁を越えよう! -簡単issueの見つけ方-
badmintoncryer
3
220
Goのmultiple errorsについて (2024年4月版)
syumai
4
1.2k
PostmanでAPIの動作確認が楽になった話
h455h1
0
180
Behind VS Code Extensions for JavaScript / TypeScript Linnting and Formatting
unvalley
6
1.2k
Featured
See All Featured
Fireside Chat
paigeccino
22
2.6k
Code Review Best Practice
trishagee
56
15k
Designing with Data
zakiwarfel
96
4.8k
The Cost Of JavaScript in 2023
addyosmani
20
3.9k
Designing on Purpose - Digital PM Summit 2013
jponch
111
6.5k
How STYLIGHT went responsive
nonsquared
92
4.8k
YesSQL, Process and Tooling at Scale
rocio
165
13k
jQuery: Nuts, Bolts and Bling
dougneiner
59
7.2k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
41
4.4k
Navigating Team Friction
lara
179
13k
Product Roadmaps are Hard
iamctodd
45
9.7k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
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