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
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
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
ふつうのFeature Flag実践入門
irof
8
4.2k
「AIで開発し、AIを届ける」をEvalでつなぐ 〜AIネイティブに始めるプロダクト開発の実践〜 / Connecting "Develop with AI, deliver AI" with Eval
rkaga
4
5.4k
jQueryをバージョンアップする前に使いたいjQuery Migrate
matsuo_atsushi
0
600
Dataformのリポジトリを立ち上げるときにまずやること / dataform-day0-2026
snhryt
0
190
Skillsは効率化、Agentsは"自分の拡張"——Builder時代のエージェント編成(CC Night 2026)
wemra
1
170
Agentic UI
manfredsteyer
PRO
0
200
Make SRE Operations Easier with Azure SRE Agent
kkamegawa
0
8.8k
セキュリティの専門家じゃなくてもできる。「セキュリティ意識」をアップデートして サプライチェーン攻撃への耐性を高めよう。
tk3fftk
5
980
Creating Composable Callables in Contemporary C++
rollbear
0
170
Oxcを導入して開発体験が向上した話
yug1224
4
350
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
220
LLMによるContent Moderationの本番運用の裏側と品質担保への挑戦
suikabar
3
790
Featured
See All Featured
Test your architecture with Archunit
thirion
1
2.3k
Site-Speed That Sticks
csswizardry
13
1.2k
Designing Experiences People Love
moore
143
24k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
210
Producing Creativity
orderedlist
PRO
348
40k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
1.8k
Leo the Paperboy
mayatellez
7
1.9k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
210
Bash Introduction
62gerente
615
220k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
400
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