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
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
350
Extracting services from a monolith
janogonzalez
3
300
¿Después de 10 años, realmente entiendo esta industria?
janogonzalez
3
530
Microservices in Practice
janogonzalez
7
730
Two programmers in one
janogonzalez
1
240
The Bipolar Programmer
janogonzalez
4
660
Ruby for your two internal programmers
janogonzalez
4
300
Ruby for Java minds
janogonzalez
4
1.1k
Other Decks in Programming
See All in Programming
AIを活用したE2Eテスト実装効率化のあゆみ / ebisu-mobile-14-kotetu
kotetuco
0
130
AIで効率化できた業務・日常
ochtum
0
150
Vue × Nuxt × Oxc どこまで使える?実運用の現在地
andpad
0
300
並列実装の現場、2ヶ月間実務でAIを使い倒したAIもPCも私も限界が近い
ming_ayami
0
130
Go1.27で導入されるジェネリクスメソッドでできること
mackee
0
180
Snowflake Summitでの新機能 CoCo / CoWork / snowflake-summit-2026-overall-what-new-coco
tatsuhiro
1
180
過去最大のMCPアップデート! 2026-07-28 RC版の謎に迫る
licux
6
390
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
300
Lessons from Spec-Driven Development
simas
PRO
0
220
ADKを使って簡単にAIエージェントを作ってみよう
k1mu21
0
280
Signal Forms: Details & Live Coding @enterJS 2026 in Mannheim
manfredsteyer
PRO
0
190
「なぜそう決めたのか」を残し続ける仕組み ― Notion AI カスタムエージェント × Slack連携による設計判断の自動記録 - NIKKEI Tech Talk #47
niftycorp
PRO
0
230
Featured
See All Featured
Prompt Engineering for Job Search
mfonobong
0
350
Typedesign – Prime Four
hannesfritz
42
3.1k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
470
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.3k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.3k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.6k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
420
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2k
HDC tutorial
michielstock
2
720
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.4k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
980
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
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 ;)