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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Gregório Chalinski Kusowski
September 06, 2011
Programming
1
280
TDD - Before Dojo
A talk I give minutes before we setup our first dojo at @PrimeSystemsBR.
Gregório Chalinski Kusowski
September 06, 2011
Tweet
Share
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
350
Testes Unitários - Before Dojo
gregoriokusowski
1
280
Other Decks in Programming
See All in Programming
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
390
The Ralph Wiggum Loop: First Principles of Autonomous Development
sembayui
0
3.7k
あなたはユーザーではない #PdENight
kajitack
4
300
2026年は Rust 置き換えが流行る! / 20260220-niigata-5min-tech
girigiribauer
0
220
AI活用のコスパを最大化する方法
ochtum
0
120
AHC061解説
shun_pi
0
330
RubyとGoでゼロから作る証券システム: 高信頼性が求められるシステムのコードの外側にある設計と運用のリアル
free_world21
0
210
TipKitTips
ktcryomm
0
150
日本だけで解禁されているアプリ起動の方法
ryunakayama
0
370
Rで始めるML・LLM活用入門
wakamatsu_takumu
0
160
RAGでハマりがちな"Excelの罠"を、データの構造化で突破する
harumiweb
9
2.5k
AIコーディングの理想と現実 2026 | AI Coding: Expectations vs. Reality 2026
tomohisa
0
1k
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
The Cost Of JavaScript in 2023
addyosmani
55
9.7k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
280
How GitHub (no longer) Works
holman
316
140k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
360
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
87
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Typedesign – Prime Four
hannesfritz
42
3k
The browser strikes back
jonoalderson
0
760
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.8k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4k
AI: The stuff that nobody shows you
jnunemaker
PRO
3
350
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