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
860
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
270
Programming with Something
tomstuart
0
420
Representations count
tomstuart
2
490
Get off the tightrope
tomstuart
0
850
Automatic differentiation in Ruby
tomstuart
0
930
Hello, declarative world
tomstuart
1
750
Consider static typing
tomstuart
2
1.1k
A Lever for the Mind
tomstuart
2
880
Refactoring Ruby with Monads
tomstuart
20
3.8k
Other Decks in Programming
See All in Programming
The Bowling Game- From Imperative to Functional Programming - Part 1
philipschwarz
PRO
0
310
Embedded SREと共に達成した会員管理システムのAWS移行 - SRE NEXT 2026 ランチスポンサーセッション
niftycorp
PRO
1
2.3k
分散システム、なんですぐ死んでしまうん?耐障害性を高めたいあなたのためのレジリエンスパターン入門
mshibuya
7
5.7k
使用 Meilisearch 建立新聞搜尋工具
johnroyer
0
140
symfony/aiとlaravel/boost
77web
0
120
霧の中の代数的エフェクト
funnyycat
1
340
Haskell/Servantを通してWebミドルウェアを捉え直す
pizzacat83
1
480
Contextとはなにか
chiroruxx
1
390
Skillsは効率化、Agentsは"自分の拡張"——Builder時代のエージェント編成(CC Night 2026)
wemra
1
210
AIエージェントで 変わるAndroid開発環境
takahirom
2
520
【やさしく解説 設計編 #0】DDDのコード、読めるのに分からない人へ
panda728
PRO
2
260
鹿野さんに聞く!『TypeScriptコードレシピ集』で磨く実践力
tonkotsuboy_com
4
1.1k
Featured
See All Featured
The untapped power of vector embeddings
frankvandijk
2
1.8k
How to Think Like a Performance Engineer
csswizardry
28
2.7k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
390
Become a Pro
speakerdeck
PRO
31
6k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
GraphQLとの向き合い方2022年版
quramy
50
15k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.2k
Accessibility Awareness
sabderemane
1
150
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.4k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
340
WCS-LA-2024
lcolladotor
0
680
The SEO identity crisis: Don't let AI make you average
varn
0
510
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]