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
Types of Coding with Automated Tests
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Lemi Orhan Ergin
PRO
November 16, 2018
Technology
17
460
Types of Coding with Automated Tests
In these slides, I compare different styles of coding styles with automated tests written.
Lemi Orhan Ergin
PRO
November 16, 2018
Tweet
Share
More Decks by Lemi Orhan Ergin
See All by Lemi Orhan Ergin
Conway's Law Never Lies
lemiorhan
PRO
1
190
Fixing The Typos in Engineering Culture
lemiorhan
PRO
3
140
Everything You Know About Agile Is Wrong
lemiorhan
PRO
4
2.3k
Unlearn Product Development - Unleashed Edition
lemiorhan
PRO
5
390
Unlearn Product Development
lemiorhan
PRO
10
1.8k
Unlearn OOP: Back To Origins
lemiorhan
PRO
6
3.3k
Unlearn Modularity
lemiorhan
PRO
8
900
The Disturbing Truth: Why Do Most Software Projects Suck?
lemiorhan
PRO
5
450
Yazılım Geliştirme Hakkında Okulda Bahsedilmeyenler
lemiorhan
PRO
2
830
Other Decks in Technology
See All in Technology
ランサムウェア対策としてのpnpm導入のススメ
ishikawa_satoru
0
230
Frontier Agents (Kiro autonomous agent / AWS Security Agent / AWS DevOps Agent) の紹介
msysh
3
190
Agile Leadership Summit Keynote 2026
m_seki
1
670
Cloud Runでコロプラが挑む 生成AI×ゲーム『神魔狩りのツクヨミ』の裏側
colopl
0
140
ブロックテーマ、WordPress でウェブサイトをつくるということ / 2026.02.07 Gifu WordPress Meetup
torounit
0
200
pool.ntp.orgに ⾃宅サーバーで 参加してみたら...
tanyorg
0
1.1k
マネージャー視点で考えるプロダクトエンジニアの評価 / Evaluating Product Engineers from a Manager's Perspective
hiro_torii
0
190
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
2
770
登壇駆動学習のすすめ — CfPのネタの見つけ方と書くときに意識していること
bicstone
3
130
Claude Code for NOT Programming
kawaguti
PRO
1
100
Cosmos World Foundation Model Platform for Physical AI
takmin
0
980
AWS Network Firewall Proxyを触ってみた
nagisa53
1
240
Featured
See All Featured
The Limits of Empathy - UXLibs8
cassininazir
1
220
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.1k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
240
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
180
Java REST API Framework Comparison - PWX 2021
mraible
34
9.1k
Facilitating Awesome Meetings
lara
57
6.8k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
200
How to Talk to Developers About Accessibility
jct
2
140
Test your architecture with Archunit
thirion
1
2.2k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
110
Game over? The fight for quality and originality in the time of robots
wayneb77
1
120
The Mindset for Success: Future Career Progression
greggifford
PRO
0
240
Transcript
types of coding automated tests with lemi orhan ergin, agile
software craftsman @ craftbase
CODE TEST REFACTOR Test Driven Development TEST FAIL TEST PASS
START
CODE Refactoring is skipped to be faster Increased duplication in
code Long methods We have to clean our mess TEST FAIL TEST PASS Tested Mess Based Development TEST START
Refactoring is skipped to be faster Increased duplication in code
Long methods We have to clean our mess TEST FAIL TEST PASS Test First Then Write Everything Based Development TEST START CODE CODE CODE CODECODECOD ODE
CODE TEST FAIL TEST PASS TEST FAIL Failed test guaranteed
Can mask ignorance of domain Dummy-Test First Development TEST update same TEST REFACTOR START
CODE START TEST REFACTOR TEST PASS No failing tests Useful
for exploring Losing focus on design Mock misuse Too much refactoring required Code First Development
CODE START TEST REFACTOR TEST PASS Uncovered bugs Hard to
write tests Bored programmers Lower test quality Test Last Development CODE CODE CODECODECODE CODE
CODE TEST REFACTOR TEST PASS START TEST TEST TEST TEST
TEST TEST TEST TEST TEST TEST FAIL TEST Allows planning for future code Loss of focus Harder to code against Test Everything First Development
CODE TEST REFACTOR TEST PASS START TEST FAIL Large, bri!le
setup methods Slow tests High level tests People hate testing Huge Setup Based Development SETUP
CODE SCENARIO REFACTOR Acceptance Test Driven Development TEST PASS START
TEST TEST FAIL SCENARIO FAIL SCENARIO PASS Increased focus Focus on requirements Do also the right thing