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
Tom Stuart
July 14, 2014
Programming
0
840
Welcome back to RSpec
Tom Stuart
July 14, 2014
Tweet
Share
More Decks by Tom Stuart
See All by Tom Stuart
Stop ignoring pattern matching!
tomstuart
0
230
Programming with Something
tomstuart
0
390
Representations count
tomstuart
2
450
Get off the tightrope
tomstuart
0
810
Automatic differentiation in Ruby
tomstuart
0
900
Hello, declarative world
tomstuart
1
720
Consider static typing
tomstuart
2
1.1k
A Lever for the Mind
tomstuart
2
850
Refactoring Ruby with Monads
tomstuart
20
3.8k
Other Decks in Programming
See All in Programming
TipKitTips
ktcryomm
0
160
2026年は Rust 置き換えが流行る! / 20260220-niigata-5min-tech
girigiribauer
0
230
Swift ConcurrencyでよりSwiftyに
yuukiw00w
0
260
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
200
猫の手も借りたい!ので AIエージェント猫を作って社内に放した話 Claude Code × Container Lambda の Slack Bot "DevNeko"
naramomi7
0
260
Codexに役割を持たせる 他のAIエージェントと組み合わせる実務Tips
o8n
4
1.3k
DSPy入門 Pythonで実現する自動プロンプト最適化 〜人手によるプロンプト調整からの卒業〜
seaturt1e
1
680
コードレビューをしない選択 #でぃーぷらすトウキョウ
kajitack
3
890
Vuetify 3 → 4 何が変わった?差分と移行ポイント10分まとめ
koukimiura
0
120
go directiveを最新にしすぎないで欲しい話──あるいは、Go 1.26からgo mod initで作られるgo directiveの値が変わる話 / Go 1.26 リリースパーティ
arthur1
2
540
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
510
Unity6.3 AudioUpdate
cova8bitdots
0
120
Featured
See All Featured
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
170
Making the Leap to Tech Lead
cromwellryan
135
9.8k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
970
Odyssey Design
rkendrick25
PRO
2
540
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
290
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
99
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
90
Context Engineering - Making Every Token Count
addyosmani
9
740
The untapped power of vector embeddings
frankvandijk
2
1.6k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
110
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
140
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]