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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Jano González
September 26, 2011
Programming
310
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
510
Migrando a Microservicios
janogonzalez
1
360
Extracting services from a monolith
janogonzalez
3
310
¿Después de 10 años, realmente entiendo esta industria?
janogonzalez
3
550
Microservices in Practice
janogonzalez
7
730
Two programmers in one
janogonzalez
1
250
The Bipolar Programmer
janogonzalez
4
670
Ruby for your two internal programmers
janogonzalez
4
310
Ruby for Java minds
janogonzalez
4
1.2k
Other Decks in Programming
See All in Programming
[PyCon KR 2026] More Variants, More Diversity for AI Accelerators
achimnol
0
130
Go 1.27 における memory allocation の高速化
andpad
0
360
iOS開発×AI駆動開発 〜最近使って便利だったスキルの話〜
nogu66
0
120
夏だ!祭りだ!祭りとはドメインモデリングでは?
ryugen04
0
500
PHPプロジェクトの結合バランスを可視化する #php_night
kajitack
0
180
新人はどこまで自力でやり、どこからAIに頼るべきか/エンジニア育成に向き合う_先輩たちの悩みと知見共有会
toppan_digital_dev
1
400
Detecting Compromised CI with eBPF and Cilium Tetragon
lizrice
0
280
自分的「カンファレンスの楽しみ方」
syumai
0
160
ALB ログから Trace を気合で繋げる技術
fohte
7
840
FastAPI の並行処理モデルを完全に理解する
hoto17296
9
3.4k
高専、大学編入、そして未踏へ〜プロダクト開発とキャリアの歩み - Technical College, University Transfer, and On to “Mitou” / My Journey in Product Development and Career
pkmiya
0
120
Claude Code全社展開のためにやったことn選~プラグイン302個・コミッター271人を支えるために~
kenchan
5
1.8k
Featured
See All Featured
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
360
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
240
WCS-LA-2024
lcolladotor
0
820
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Color Theory Basics | Prateek | Gurzu
gurzu
0
450
The agentic SEO stack - context over prompts
schlessera
0
880
Tell your own story through comics
letsgokoyo
1
1.1k
Test your architecture with Archunit
thirion
2
2.4k
Discover your Explorer Soul
emna__ayadi
2
1.3k
Leo the Paperboy
mayatellez
8
2.2k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.4k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
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 ;)