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
A Little RSpec
Search
Jano González
September 26, 2011
Programming
300
2
Share
A Little RSpec
The basics of RSpec, code at
https://github.com/janogonzalez/a-little-rspec
Jano González
September 26, 2011
More Decks by Jano González
See All by Jano González
Containerizing your monolith
janogonzalez
0
490
Migrando a Microservicios
janogonzalez
1
340
Extracting services from a monolith
janogonzalez
3
280
¿Después de 10 años, realmente entiendo esta industria?
janogonzalez
3
520
Microservices in Practice
janogonzalez
7
710
Two programmers in one
janogonzalez
1
220
The Bipolar Programmer
janogonzalez
4
650
Ruby for your two internal programmers
janogonzalez
4
290
Ruby for Java minds
janogonzalez
4
1.1k
Other Decks in Programming
See All in Programming
Liberating Ruby's Parser from Lexer Hacks
ydah
2
1.3k
Kingdom of the Machine
yui_knk
2
330
Lightning-Fast Method Calls with Ruby 4.1 ZJIT / RubyKaigi 2026
k0kubun
3
410
10年分の技術的負債、完済へ ― Claude Code主導のAI駆動開発でスポーツブルを丸ごとリプレイスした話
takuya_houshima
0
2.6k
[RubyKaigi 2026] Require Hooks
palkan
1
200
実践ハーネスエンジニアリング #MOSHTech
kajitack
7
6.5k
感情を設計する
ichimichi
5
1.5k
AI時代のエンジニアリングの原則 / Engineering Principles in the AI Era
haru860
0
350
PDI: Como Alavancar Sua Carreira e Seu Negócio
marcelgsantos
0
120
一度始めたらやめられない開発効率向上術 / Findy あなたのdotfilesを教えて!
k0kubun
4
3k
Spec Driven Development | AI Summit Vilnius
danielsogl
PRO
1
100
Running Swift without an OS
kishikawakatsumi
0
840
Featured
See All Featured
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
760
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
120
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
270
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
530
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
420
A designer walks into a library…
pauljervisheath
211
24k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.9k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
320
Transcript
Jano González Developer A Little RSpec
code: https://github.com/janogonzalez/a-little-rspec
From testing to describing code
Describing Code
Describing Code
Describing Code • describe: The thing to describe • it:
The expected behavior • should/should_not: The assertion
DRYing
DRYing
DRYing • before: Preparing the test case • after: Clean
up • around: Mix before & after
A little more context
A little more context
A little more context • context
More DRYing
More DRYing
More DRYing • let • let!
More DRYing
More DRYing • implicit subject
More DRYing
More DRYing • implicit subject • it • its
More DRYing
More DRYing • explicit subject
More info
More info • @dchelimsky • The RSpec Book • @janogonzalez
;) • http://gemaroja.com ;)