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
280
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
160
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
350
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
そこに3びきプロダクトがいるじゃろう——生成AI時代における“価値が届かない理由”の構造
kosuket
0
490
型も通る、synthも通る、それでも危ない 〜AIのCDKの権限とコストを機械で検証する〜 / It Passes Type Checks, It Passes Synth Checks, but It’s Still Risky — Automatically Verifying Permissions and Costs in AI’s CDK —
seike460
PRO
1
550
FDEが実現するAI駆動経営の現在地
gonta
2
280
Laravel Boostに学ぶ、AIにPHPを書かせる技術 〜OSSの実装から蒸留するエージェント制御の王道〜
kentaroutakeda
3
690
Go言語とトイモデルで学ぶTransformerの気持ち / fukuokago23-transformer
monochromegane
0
170
JAWS-UG横浜 #102 AWSサ終供養LT会 成仏できない AWS サービスたち 〜本日、三体供養します〜
maroon1st
0
360
Claude CodeとAgentCore Gatewayを繋ぐ際の認証認可 / Authentication and authorization when connecting Claude Code with AgentCore Gateway
har1101
2
280
夏だ!祭りだ!祭りとはドメインモデリングでは?
ryugen04
0
280
Lean は証明の正しさを確認するためだけのツールって思ってませんか?
inoueasei
1
160
torikago - Ruby::Boxで照らすモジュラモノリスの実行境界
se4weed
1
380
20260722_microCMSで考える、AI時代のコンテンツ運用設計
yosh1
0
400
AIを紡ぐPMのお話
swdtkuy
0
100
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
340
58k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
390
Building an army of robots
kneath
306
46k
Designing for humans not robots
tammielis
254
26k
Marketing to machines
jonoalderson
1
5.7k
Leo the Paperboy
mayatellez
8
2.1k
sira's awesome portfolio website redesign presentation
elsirapls
0
320
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.4k
Tell your own story through comics
letsgokoyo
1
1k
Crafting Experiences
bethany
1
250
Optimizing for Happiness
mojombo
378
71k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
230
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