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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
サプライチェーンセキュリティの空白地帯 - 信頼できる”依存性”の未来を考える
rung
PRO
2
530
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.7k
AI-DLCを活用した高品質・安全なAI駆動開発実践 / AI Driven Development
yoshidashingo
1
270
インフラが苦手でも大丈夫! 紙芝居 Kubernetes -WWGT 10周年編-
aoi1
1
310
地元にいないローカルオーガナイザーの立ち回り
uvb_76
1
400
Claude code Orchestra
ozakiomumkj
3
780
Diagnosing performance problems without the guesswork
elenatanasoiu
0
130
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.7k
個人AIからチームAIへ:開発における品質と生産性の再設計
moongift
PRO
0
320
「コーディング」しない人のための Claude Code 入門 ChatGPT の次の一歩 — 業務に組み込む 育成・共有・自動化
rfdnxbro
2
490
海外カンファレンス「JavaOne」参加レポート ユーザー系IT企業における目的・成果/JavaOne Report Purpose and Results in the User IT Company
muit
0
120
食べログのサーキットブレーカー導入を振り返って
atpons
1
160
Featured
See All Featured
Making Projects Easy
brettharned
120
6.7k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
220
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
Paper Plane
katiecoart
PRO
1
50k
Agile that works and the tools we love
rasmusluckow
331
21k
Raft: Consensus for Rubyists
vanstee
141
7.5k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
280
Writing Fast Ruby
sferik
630
63k
Claude Code のすすめ
schroneko
67
220k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.3k
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