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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Matheus Sales
September 09, 2022
Technology
180
1
Share
Ruby Conf Brasil 2022
Matheus Sales
September 09, 2022
Other Decks in Technology
See All in Technology
はじめてのDatadog
kairim0
0
240
関西に縁あるMicrosoft MVPsが語るCopilotの未来
kasada
0
730
AI駆動開発でなんでもハンズオン環境をつくってみた
yoshimi0227
0
180
AI時代から振り返るTerraform drift運用の歴史 / AI Age Reflections on the History of Terraform Drift Operations
aeonpeople
1
620
脅威をエンジニアリングの糧にして:恐怖を乗り越えた先にあったもの / Turn threats into fuel for engineering: what lay beyond overcoming fear
nrslib
1
360
JEP 522 Deep Dive - G1 GC同期コスト削減によるスループット向上を徹底検証&解説
tabatad
1
470
最低限これだけ押さえれ大丈夫_Claude Enterprise/Team企業展開ガバナンス入門
tkikuchi
1
570
管理アカウント単一運用からAWS Organizationsに移行するの大変で滅
hiramax
0
350
oracle-to-databricks-migration-with-llm-and-dbt
casek
1
380
Claude Codeを組織で使いこなす— サーバサイドAIエージェント運用の実践知
techtekt
PRO
0
140
オンコールの負荷軽減のためのBits Assistant 活用方法 / How to Use Bits Assistant to Reduce the Workload on On-Call Staff
sms_tech
1
350
Amazon Bedrock 経由の Claude Cowork を試してみよう・MCP にも繋いでみよう
sugimomoto
0
280
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
280
Designing Powerful Visuals for Engaging Learning
tmiket
1
390
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.6k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
540
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
430
Product Roadmaps are Hard
iamctodd
PRO
55
12k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.5k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
300
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
370
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