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
630
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
5k
Outgrowing The Cloud
blowmage
1
740
Other Decks in Programming
See All in Programming
From Idea to IDE: Developing Plugins for Android Studio
thisaay
1
230
Increased Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
400
The Shape of a Service Object
inem
0
530
Our Websites Need a Lifestyle Change, Not a Diet
ryantownsend
0
150
Understand the mechanism! Let's do screenshots tests of Compose Previews with various variations / 仕組みから理解する!Composeプレビューを様々なバリエーションでスクリーンショットテストしよう
sumio
3
850
Findy - エンジニア向け会社紹介 / Findy Letter for Engineers
findyinc
4
90k
[DroidKaigi 2024] Android ViewからJetpack Composeへ 〜Jetpack Compose移行のすゝめ〜 / From Android View to Jetpack Compose: A Guide to Migration
syarihu
1
680
How to Break into Reading Open Source
kaspth
2
220
What you can do with Ruby on WebAssembly
kateinoigakukun
0
170
Google Sign-inの移行から始めるCredential Manager活用
clockvoid
0
390
XStateでReactに秩序を与えたい
gizm000
0
740
Scala におけるコンパイラエラーとの付き合い方
chencmd
2
430
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
327
20k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
GraphQLとの向き合い方2022年版
quramy
43
13k
How STYLIGHT went responsive
nonsquared
93
5.1k
We Have a Design System, Now What?
morganepeng
48
7.1k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
663
120k
Principles of Awesome APIs and How to Build Them.
keavy
125
16k
Creatively Recalculating Your Daily Design Routine
revolveconf
215
12k
A Modern Web Designer's Workflow
chriscoyier
692
190k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
502
140k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
158
15k
Building a Modern Day E-commerce SEO Strategy
aleyda
36
6.8k
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