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
670
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
21k
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
5k
Outgrowing The Cloud
blowmage
1
750
Other Decks in Programming
See All in Programming
テストコード書いてみませんか?
onopon
2
340
情報漏洩させないための設計
kubotak
5
1.3k
令和7年版 あなたが使ってよいフロントエンド機能とは
mugi_uno
10
5.2k
為你自己學 Python
eddie
0
520
DevFest - Serverless 101 with Google Cloud Functions
tunmise
0
140
PSR-15 はあなたのための ものではない? - phpcon2024
myamagishi
0
410
良いユニットテストを書こう
mototakatsu
11
3.6k
ESLintプラグインを使用してCDKのセオリーを適用する
yamanashi_ren01
2
240
Beyond ORM
77web
11
1.6k
オニオンアーキテクチャを使って、 Unityと.NETでコードを共有する
soi013
0
370
PHPで作るWebSocketサーバー ~リアクティブなアプリケーションを知るために~ / WebSocket Server in PHP - To know reactive applications
seike460
PRO
2
770
テストコードのガイドライン 〜作成から運用まで〜
riku929hr
7
1.4k
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
Reflections from 52 weeks, 52 projects
jeffersonlam
348
20k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Bash Introduction
62gerente
610
210k
Thoughts on Productivity
jonyablonski
68
4.4k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
3
240
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.5k
Building Adaptive Systems
keathley
38
2.4k
Into the Great Unknown - MozCon
thekraken
34
1.6k
Navigating Team Friction
lara
183
15k
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