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
Welcome back to RSpec
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Tom Stuart
July 14, 2014
Programming
860
0
Share
Welcome back to RSpec
Tom Stuart
July 14, 2014
More Decks by Tom Stuart
See All by Tom Stuart
Stop ignoring pattern matching!
tomstuart
0
240
Programming with Something
tomstuart
0
400
Representations count
tomstuart
2
470
Get off the tightrope
tomstuart
0
830
Automatic differentiation in Ruby
tomstuart
0
910
Hello, declarative world
tomstuart
1
730
Consider static typing
tomstuart
2
1.1k
A Lever for the Mind
tomstuart
2
860
Refactoring Ruby with Monads
tomstuart
20
3.8k
Other Decks in Programming
See All in Programming
検索設計から 推論設計への重心移動と Recall-First Retrieval
po3rin
5
1.6k
when storing skills in S3 file
watany
3
1.4k
アクセシビリティ試験の"その後"を仕組み化する
yuuumiravy
1
200
書籍「ユーザーストーリーマッピング」が私のバイブル
asumikam
4
480
20260514_its_the_context_window_stupid.pdf
heita
0
690
【26新卒研修】OpenAPI/Swagger REST API研修
dip_tech
PRO
0
140
AIベース静的検査器の偽陽性率を抑える工夫3選
orgachem
PRO
4
450
SREに優しいTerraform構成 modulesとstateの組み方
hiyanger
2
170
Symfony AI in Action - SymfonyLive Berlin 2026
chr_hertel
1
130
Kingdom of the Machine
yui_knk
2
1.4k
Cache-moi si tu peux : patterns et pièges du cache en production - Devoxx France 2026 - Conférence
slecache
0
340
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
370
Featured
See All Featured
Test your architecture with Archunit
thirion
1
2.2k
How to Ace a Technical Interview
jacobian
281
24k
Everyday Curiosity
cassininazir
0
200
GitHub's CSS Performance
jonrohan
1032
470k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.7k
Navigating Weather and Climate Data
rabernat
0
190
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
910
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
180
How GitHub (no longer) Works
holman
316
150k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Transcript
RSPEC TO WELCOME BACK @tomstuart / LRUG / 2014-07-14
a testing library for Ruby RSpec
August 2005 RSpec 0.1 May 2007 RSpec 1.0 October 2010
RSpec 2.0 June 2014 RSpec 3.0
FYI:
None
None
• it started as an experiment, now it’s become mature
• it used to be all over the place, now it’s much more focused • it used to be adventurous, now it’s more conservative • now’s a great time to [re]try it!
RSpec 2: more modular
rspec
rspec-core
“provides the structure for RSpec code examples”
examples and example groups
spec runner
metadata and filtering
rspec-expectations
“Provides a simple, readable API to express expected outcomes of
a code example”
rspec-mocks
“RSpec’s ‘test double’ framework, with support for stubbing and mocking”
stubs
mocks
rspec-core + rspec-expectations + rspec-mocks =
RSpec 3: cleaner, smarter
spring cleaning
no more monkey patching
verifying doubles
composable matchers
• mature • simpler, cleaner, more focused • world-class components
• use the bits you like, ignore the bits you don’t like, bring your own other bits • conscientious, friendly, helpful maintainers
thanks! @tomstuart /
[email protected]