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
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
790
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.4k
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
「ちょっと古いから」って避けてた技術書、今だからこそ読もう
mottyzzz
12
7.1k
Google Opalで使える37のライブラリ
mickey_kubo
3
140
はじめてのDSPy - 言語モデルを『プロンプト』ではなく『プログラミング』するための仕組み
masahiro_nishimi
4
15k
技術的負債の正体を知って向き合う
irof
0
250
Writing Better Go: Lessons from 10 Code Reviews
konradreiche
3
6.7k
Cursorハンズオン実践!
eltociear
2
1.2k
コードとあなたと私の距離 / The Distance Between Code, You, and I
hiro_y
0
190
Devoxx BE - Local Development in the AI Era
kdubois
0
140
Claude Agent SDK を使ってみよう
hyshu
0
1.4k
SwiftDataを使って10万件のデータを読み書きする
akidon0000
0
240
Android16 Migration Stories ~Building a Pattern for Android OS upgrades~
reoandroider
0
140
PHPに関数型の魂を宿す〜PHP 8.5 で実現する堅牢なコードとは〜 #phpcon_hiroshima / phpcon-hiroshima-2025
shogogg
1
330
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
233
18k
Building an army of robots
kneath
305
46k
Raft: Consensus for Rubyists
vanstee
140
7.2k
BBQ
matthewcrist
89
9.9k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
658
61k
It's Worth the Effort
3n
187
28k
Mobile First: as difficult as doing things right
swwweet
225
10k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
22k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
How to Ace a Technical Interview
jacobian
280
24k
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