$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Ruby Conf Brasil 2022
Search
Matheus Sales
September 09, 2022
Technology
1
170
Ruby Conf Brasil 2022
Matheus Sales
September 09, 2022
Tweet
Share
Other Decks in Technology
See All in Technology
[Data & AI Summit '25 Fall] AIでデータ活用を進化させる!Google Cloudで作るデータ活用の未来
kirimaru
0
3.7k
Amazon Connect アップデート! AIエージェントにMCPツールを設定してみた!
ysuzuki
0
130
AR Guitar: Expanding Guitar Performance from a Live House to Urban Space
ekito_station
0
150
「図面」から「法則」へ 〜メタ視点で読み解く現代のソフトウェアアーキテクチャ〜
scova0731
0
490
ハッカソンから社内プロダクトへ AIエージェント「ko☆shi」開発で学んだ4つの重要要素
sonoda_mj
6
1.6k
障害対応訓練、その前に
coconala_engineer
0
190
M&Aで拡大し続けるGENDAのデータ活用を促すためのDatabricks権限管理 / AEON TECH HUB #22
genda
0
230
[Neurogica] 採用ポジション/ Recruitment Position
neurogica
1
110
_第4回__AIxIoTビジネス共創ラボ紹介資料_20251203.pdf
iotcomjpadmin
0
130
AIエージェント開発と活用を加速するワークフロー自動生成への挑戦
shibuiwilliam
4
840
普段使ってるClaude Skillsの紹介(by Notebooklm)
zerebom
8
2.1k
Oracle Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
2
190
Featured
See All Featured
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
88
More Than Pixels: Becoming A User Experience Designer
marktimemedia
2
260
We Have a Design System, Now What?
morganepeng
54
7.9k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
26
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Reality Check: Gamification 10 Years Later
codingconduct
0
1.9k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
130
How STYLIGHT went responsive
nonsquared
100
6k
Building an army of robots
kneath
306
46k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
29
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
0
44
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
45
Transcript
Matheus Sales Story Telling Tes ti ng: conte uma história
com seus testes
#rubyconf+2022 @mthsls28 •Matheus Sales •Desenvolvedor @thoughtbot #boost •Primeira conferência 😁
•Gosto de jogar al ti nha ⚽ 🏖 •Sou formado em engenharia civil 👷 Ilustração feita por: @layered_space
#rubyconf+2022 @mthsls28 h tt ps://br.pinterest.com/pin/701928291906345017/
#rubyconf+2022 @mthsls28 Startup
#rubyconf+2022 @mthsls28
#rubyconf+2022 @mthsls28
#rubyconf+2022 @mthsls28
#rubyconf+2022 @mthsls28
#rubyconf+2022 @mthsls28 DRY
Histórias x Testes
#rubyconf+2022 @mthsls28
#rubyconf+2022 @mthsls28 “Os carros são como as lanchas, as motos
são como os jet skis e os personagens são como os objetos” Sales, Matheus - 2022
#rubyconf+2022 @mthsls28
#rubyconf+2022 @mthsls28
#rubyconf+2022 @mthsls28
#rubyconf+2022 @mthsls28
#rubyconf+2022 @mthsls28
#rubyconf+2022 @mthsls28
#rubyconf+2022 @mthsls28 🌶 🌶 🌶
[3]: Ruby
Eu [1] [2] com [3] [1]: adoro [2]: programar
[3]: Ruby
#rubyconf+2022 @mthsls28
#rubyconf+2022 @mthsls28
#rubyconf+2022 @mthsls28 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Nulla luctus, neque nec vehicula tris ti que, odio nisi malesuada nulla, et placerat ipsum sem non nunc. Fusce lacus purus, consequat vitae aliquam eget, cursus nec nisi. Duis tempor arcu eu interdum imperdiet. Title Text EYEBROW TEXT
#rubyconf+2022 @mthsls28
#rubyconf+2022 @mthsls28
#rubyconf+2022 @mthsls28
#rubyconf+2022 @mthsls28
#rubyconf+2022 @mthsls28
#rubyconf+2022 @mthsls28
#rubyconf+2022 @mthsls28
#rubyconf+2022 @mthsls28
#rubyconf+2022 @mthsls28 (+) duplicação (+) legibilidade (—) duplicação (—) legibilidade
#rubyconf+2022 @mthsls28
Começo / Meio / Fim
#rubyconf+2022 @mthsls28
#rubyconf+2022 @mthsls28
Resumo
#rubyconf+2022 @mthsls28 Shared Examples / Shared Contexts
#rubyconf+2022 @mthsls28 Shared Examples / Shared Contexts
#rubyconf+2022 @mthsls28 Conclusão
#rubyconf+2022 @mthsls28 Caracterize seus objetos Evite o uso desnecessário de
recursos do RSpec Separação clara entre as fases do teste Não se preocupe em repetir código nos testes
#rubyconf+2022 @mthsls28 Recomendaçōes: Let’s not The self contained test
Write code to be read Write cleaner, self-documented tests by de fi ning methods in RSpec
#rubyconf+2022 @mthsls28 @mths28 Estamos contratando! @matsales28 Matheus Sales