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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
CSC307 Lecture 10
javiergs
PRO
1
690
LangChain4jとは一味違うLangChain4j-CDI
kazumura
1
140
Rubyと楽しいをつくる / Creating joy with Ruby
chobishiba
0
200
AI活用のコスパを最大化する方法
ochtum
0
120
Go Conference mini in Sendai 2026 : Goに新機能を提案し実装されるまでのフロー徹底解説
yamatoya
0
510
猫の手も借りたい!ので AIエージェント猫を作って社内に放した話 Claude Code × Container Lambda の Slack Bot "DevNeko"
naramomi7
0
240
守る「だけ」の優しいEMを抜けて、 事業とチームを両方見る視点を身につけた話
maroon8021
3
250
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
390
Python’s True Superpower
hynek
0
200
Raku Raku Notion 20260128
hareyakayuruyaka
0
430
Claude Code、ちょっとした工夫で開発体験が変わる
tigertora7571
0
200
SourceGeneratorのマーカー属性問題について
htkym
0
140
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
4 Signs Your Business is Dying
shpigford
187
22k
How STYLIGHT went responsive
nonsquared
100
6k
How Software Deployment tools have changed in the past 20 years
geshan
0
32k
Documentation Writing (for coders)
carmenintech
77
5.3k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
220
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
230
GraphQLとの向き合い方2022年版
quramy
50
14k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
93
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
エンジニアに許された特別な時間の終わり
watany
106
240k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.4k
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]