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
780
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
130
Presenters and Decorators: A Code Tour
blowmage
20
5.1k
Outgrowing The Cloud
blowmage
1
770
Other Decks in Programming
See All in Programming
なぜあの開発者はDevRelに伴走し続けるのか / Why Does That Developer Keep Running Alongside DevRel?
nrslib
3
370
実践AIチャットボットUI実装入門
syumai
7
2.4k
Le côté obscur des IA génératives
pascallemerrer
0
120
Introducing ReActionView: A new ActionView-Compatible ERB Engine @ Kaigi on Rails 2025, Tokyo, Japan
marcoroth
3
910
Чего вы не знали о строках в Python – Василий Рябов, PythoNN
sobolevn
0
160
『毎日の移動』を支えるGoバックエンド内製開発
yutautsugi
2
170
Back to the Future: Let me tell you about the ACP protocol
terhechte
0
130
Model Pollution
hschwentner
1
180
AIエージェント時代における TypeScriptスキーマ駆動開発の新たな役割
bicstone
4
1.5k
開発生産性を上げるための生成AI活用術
starfish719
1
160
複雑化したリポジトリをなんとかした話 pipenvからuvによるモノレポ構成への移行
satoshi256kbyte
1
760
CSC509 Lecture 01
javiergs
PRO
1
430
Featured
See All Featured
Scaling GitHub
holman
463
140k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
2.6k
The Pragmatic Product Professional
lauravandoore
36
6.9k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
54
3k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.6k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
51k
What's in a price? How to price your products and services
michaelherold
246
12k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
45
2.5k
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