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
870
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
440
Representations count
tomstuart
2
490
Get off the tightrope
tomstuart
0
850
Automatic differentiation in Ruby
tomstuart
0
950
Hello, declarative world
tomstuart
1
750
Consider static typing
tomstuart
2
1.1k
A Lever for the Mind
tomstuart
2
890
Refactoring Ruby with Monads
tomstuart
20
3.8k
Other Decks in Programming
See All in Programming
Android CLI
fornewid
0
210
Claude Code全社展開のためにやったことn選~プラグイン302個・コミッター271人を支えるために~
kenchan
4
1.3k
全PRの83%がAIレビューだけでマージできるようになった開発組織はその後どうなったか
athug
1
1.4k
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
450
「寝てても仕事が進む」Claude Codeで組む第二の脳
tomoyafujita2016
0
290
型も通る、synthも通る、それでも危ない 〜AIのCDKの権限とコストを機械で検証する〜 / It Passes Type Checks, It Passes Synth Checks, but It’s Still Risky — Automatically Verifying Permissions and Costs in AI’s CDK —
seike460
PRO
1
530
Foundation Models frameworkで画像分析
ryodeveloper
1
510
Welcome to the "Parametricity" 🏙️ − Generic だけど Specific な世界 −
guvalif
PRO
1
200
継続モナドとリアクティブプログラミング
yukikurage
3
680
【SRE NEXT 2026 Lunch Session】一人目専任SREの立ち上げを加速する ― AIと進めたオンボーディングで2分を0.04秒にした話
pkshadeck
PRO
0
3.5k
Google Apps Script で Ruby を動かす
kawahara
0
130
torikago - Ruby::Boxで照らすモジュラモノリスの実行境界
se4weed
1
330
Featured
See All Featured
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
820
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.2k
Leo the Paperboy
mayatellez
8
2.1k
Product Roadmaps are Hard
iamctodd
55
12k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6k
How to make the Groovebox
asonas
2
2.3k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
119
120k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
480
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
2.2k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
440
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
450
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]