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
Ruby Conf Brasil 2022
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
20260222ねこIoTLT ねこIoTLTをふりかえる
poropinai1966
0
280
LINEアプリ開発のための Claude Code活用基盤の構築
lycorptech_jp
PRO
1
1k
AI が Approve する開発フロー / How AI Reviewers Accelerate Our Development
zaimy
1
220
トラブルの大半は「言ってない」x「言ってない」じゃねーか!!
ichimichi
0
170
Claude Cowork Plugins を読む - Skills駆動型業務エージェント設計の実像と構造
knishioka
1
160
Master Dataグループ紹介資料
sansan33
PRO
1
4.4k
Webアクセシビリティ技術と実装の実際
tomokusaba
0
110
インシデント対応入門
grimoh
7
5.3k
AI Coding Agentの地殻変動 ~ ai-coding.info の定点観測 ~
kotauchisunsun
1
470
技術キャッチアップ効率化を実現する記事推薦システムの構築
yudai00
2
150
LLM活用の壁を超える:リクルートR&Dの戦略と打ち手
recruitengineers
PRO
1
150
Snowflake Night #2 LT
taromatsui_cccmkhd
0
230
Featured
See All Featured
A better future with KSS
kneath
240
18k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
110
Google's AI Overviews - The New Search
badams
0
920
Six Lessons from altMBA
skipperchong
29
4.2k
Design in an AI World
tapps
0
160
Facilitating Awesome Meetings
lara
57
6.8k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.1k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.1k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
110
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
260
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