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
TDD - Before Dojo
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Gregório Chalinski Kusowski
September 06, 2011
Programming
280
1
Share
TDD - Before Dojo
A talk I give minutes before we setup our first dojo at @PrimeSystemsBR.
Gregório Chalinski Kusowski
September 06, 2011
More Decks by Gregório Chalinski Kusowski
See All by Gregório Chalinski Kusowski
50 Shades of Legacy
gregoriokusowski
0
150
Ruby e Sinatra - Faça mais com menos no desenvolvimento web
gregoriokusowski
2
110
Sinatra - Desenvolver pode ser mais fácil que cantar.
gregoriokusowski
3
340
Ruby - Criando código para máquinas e humanos.
gregoriokusowski
2
360
Testes Unitários - Before Dojo
gregoriokusowski
1
280
Other Decks in Programming
See All in Programming
ついに来た!本格的なマルチクラウド時代の Google Cloud
maroon1st
0
430
20年以上続くプロダクトでも使い続けられる静的解析ツールを求めて
matsuo_atsushi
0
150
[RubyKaigi 2026] Require Hooks
palkan
1
320
PicoRuby for IoT: Connecting to the Cloud with MQTT
yuuu
2
770
PHPでローカル環境用のSSL/TLS証明書を発行することはできるのか? #phpconkagawa
akase244
0
370
20260514_its_the_context_window_stupid.pdf
heita
0
990
Firefoxにコントリビューションして得られた学び
ken7253
2
160
AlarmKitで明後日起きれるアラームアプリを作る
trickart
0
130
Making the RBS Parser Faster
soutaro
0
710
Agentic Elixir
whatyouhide
0
450
Kingdom of the Machine
yui_knk
2
1.5k
mruby on C#: From VM Implementation to Game Scripting (RubyKaigi 2026)
hadashia
2
1.8k
Featured
See All Featured
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
1
49
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
190
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
230
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
160
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
140
A designer walks into a library…
pauljervisheath
211
24k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Faster Mobile Websites
deanohume
310
31k
The SEO Collaboration Effect
kristinabergwall1
1
450
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
190
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Transcript
TDD (Test-Driven Development) Vantagens e como praticar Gregório Chalinski Kusowski
Design • Conciso • Limpo • Desacoplado • Evita repetição
• Diminui o tamanho dos blocos
Não é bem assim... • Não precisar escrever o teste
antes • Não precisa falhar • Quanto mais testar em um teste, melhor
Tipos de Testes • Unitário • Integração • Aceitação
Como fazer? • Baby Steps • Escrever teste antes da
implementação • O teste deve falhar primeiro • A implementação deve ser mínima, apenas suficiente para fazer o teste passar
TDD Mantra • Red • Green • Refactor