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
610
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
4.9k
Outgrowing The Cloud
blowmage
1
730
Other Decks in Programming
See All in Programming
OpenAI/Gemini APIを使って EPUBを翻訳するCLIツールをつくってみた
tomiyan
0
790
CSC307 Lecture 05
javiergs
PRO
0
210
英語
s_shimotori
1
220
Microservices rules (July 2024) : what good looks like
cer
PRO
0
1.6k
さきがけから振り返るアーキテクチャ刷新 / Reflecting on the Architectural Renewal from the Vanguard
nrslib
2
770
The rollercoaster of releasing an Android, iOS, and macOS app with Kotlin Multiplatform | droidcon Berlin
prof18
0
110
しくじり先生 Image Matching Challenge 2024 編
goosehaaan
0
810
社内 LT 会を発足し、アウトプット文化を醸成させるために考えたこと・やったこと / Starting internal LT meetings and fostering an output culture
mackey0225
3
120
20240706_CDKConf
takuyay0ne
0
1.2k
CSC307 Lecture 07
javiergs
PRO
0
220
なぜ宣言的 UI は壊れにくいのか / Why declarative UI is less fragile
uenitty
29
13k
Folding Cheat Sheet #7
philipschwarz
PRO
0
150
Featured
See All Featured
The Brand Is Dead. Long Live the Brand.
mthomps
52
36k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
44
4.7k
Happy Clients
brianwarren
94
6.5k
What the flash - Photography Introduction
edds
65
11k
Learning to Love Humans: Emotional Interface Design
aarron
269
39k
No one is an island. Learnings from fostering a developers community.
thoeni
17
2.8k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
78
15k
Building Effective Engineering Teams - LeadDev
addyosmani
47
2.2k
Docker and Python
trallard
37
2.9k
Stop Working from a Prison Cell
hatefulcrawdad
266
20k
GraphQLとの向き合い方2022年版
quramy
36
13k
Making the Leap to Tech Lead
cromwellryan
127
8.7k
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