Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
MatelliNight - TDD
Search
Mickael Metesreau
December 17, 2013
Programming
85
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
MatelliNight - TDD
Mickael Metesreau
December 17, 2013
More Decks by Mickael Metesreau
See All by Mickael Metesreau
Fear the Ponies
mmetesreau
0
170
Alt.Net Talks - Make type system great again
mmetesreau
0
93
Alt.Net Talks - The Actor Model
mmetesreau
0
58
Lunch & Learn - Property Based Testing
mmetesreau
0
70
Betclic Dojo - Where is Fluffy?
mmetesreau
0
79
Mini training - EventStore
mmetesreau
0
77
Alt.Net Talks - EdgeJs
mmetesreau
0
310
Betclic Dojo - Extreme Carpaccio
mmetesreau
0
130
Betclic Dojo - Game of life
mmetesreau
0
48
Other Decks in Programming
See All in Programming
TechTown - Creating Composable Callables in Contemporary C++
rollbear
0
130
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
0
1.4k
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
1
440
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
790
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
500
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
430
ChromeでローカルLLM
ryu1013
0
140
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
5
3.7k
R8 の設定見直しでアプリサイズ削減
andpad
0
220
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
160
Next.js: The final boss of Web Performance
guaca
0
260
ActionController meets Protocol Buffers
sorah
0
540
Featured
See All Featured
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
950
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
630
Context Engineering - Making Every Token Count
addyosmani
9
1.2k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
590
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.4k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
380
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
570
A Tale of Four Properties
chriscoyier
163
24k
Rails Girls Zürich Keynote
gr2m
96
14k
Transcript
Test Driven Development All Code is Guilty Until Proven Innocent
Développer c’est souvent… Ajouter des fonctionnalités Modifier des fonctionnalités Supprimer
des fonctionnalités
Développer c’est toujours… Modifier votre code encore et encore Modifier
votre architecture encore et encore
Et vérifier que ça marche… En lisant le code ???
A la main ???
L’Automatisation des Tests Acteur, Action, Assertion Rapidité, Indépendance, Reproductibilité
Ecrire des tests, ce n’est pas… Un autre travail Perdre
du temps Mettre au chômage l’équipe qualité
Ecrire des tests, c’est… Concevoir Maitriser son code Gagner en
productivité
TDD, Késako ? « Technique de développement de logiciel qui
préconise d'écrire les tests unitaires avant d'écrire le code source d'un logiciel. » Wikipédia
Et Réellement ? Coder, Déboguer, Tester Tester, Coder, Refactorer
WTF ???
Cycle de Développement
Ecrire un Test Ecrire assez de code pour démontrer un
échec
Ecrire une Fonctionnalité Ecrire assez de code pour faire passer
le test
Refactoriser Améliorer le design sans changer le comportement
Les Règles Le minimum de code de test, tu écriras
Le minimum de code de production, tu écriras Jamais du code de production avant celui de test, tu n’écriras
Le code est terminé quand… Tous les tests passent Il
y a le moins de code possible Chaque idée distincte est exprimée Tout ce qui est dit est dit une seule fois
La Conception Emergente « Un bon design ne vient pas
en premier, il apparait »
Tooling Gestionnaire de version Intégration continue Framework de test Couverture
de test
Press Start To Begin Coding Dojo