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
170
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
720
Build to Last
blowmage
0
250
Stupid Ruby Tricks
blowmage
3
1.3k
Real-time Rails with Sync
blowmage
0
170
Writing Games with Ruby
blowmage
1
22k
Minitest & Rails: Total BFFs
blowmage
17
4.3k
Managing Success: We made it, now we're screwed
blowmage
1
120
Presenters and Decorators: A Code Tour
blowmage
20
5.1k
Outgrowing The Cloud
blowmage
1
760
Other Decks in Programming
See All in Programming
1年目の私に伝えたい!テストコードを怖がらなくなるためのヒント/Tips for not being afraid of test code
push_gawa
1
690
CIBMTR振り返り+敗北から学ぶコンペの取り組み方反省
takanao
1
300
⚪⚪の⚪⚪をSwiftUIで再現す る
u503
0
140
保守性を高める AWS CDK のセオリー・ベストプラクティス
yamanashi_ren01
5
420
Expoによるアプリ開発の現在地とReact Server Componentsが切り開く未来
yukukotani
2
330
Swift Testingのモチベを上げたい
stoticdev
2
230
AI Agentを利用したAndroid開発について
yuchan2215
0
100
Rails 1.0 のコードで学ぶ find_by* と method_missing の仕組み / Learn how find_by_* and method_missing work in Rails 1.0 code
maimux2x
1
280
はじめての Go * WASM * OCR
sgash708
1
140
Boost Your Web Performance with Hyperdrive
chimame
1
170
Learning Kotlin with detekt
inouehi
1
240
Django NinjaによるAPI開発の効率化とリプレースの実践
kashewnuts
1
320
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2k
We Have a Design System, Now What?
morganepeng
51
7.4k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.5k
A better future with KSS
kneath
238
17k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Visualization
eitanlees
146
15k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
11
1.3k
Product Roadmaps are Hard
iamctodd
PRO
51
11k
Stop Working from a Prison Cell
hatefulcrawdad
268
20k
Designing on Purpose - Digital PM Summit 2013
jponch
117
7.1k
Music & Morning Musume
bryan
46
6.4k
Embracing the Ebb and Flow
colly
84
4.6k
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