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
Lemi Orhan Ergin
PRO
November 16, 2018
Technology
480
17
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
More Decks by Lemi Orhan Ergin
See All by Lemi Orhan Ergin
Rebirth of Software Craftsmanship in the AI Era
lemiorhan
PRO
5
2.9k
Conway's Law Never Lies
lemiorhan
PRO
1
320
Fixing The Typos in Engineering Culture
lemiorhan
PRO
3
190
Everything You Know About Agile Is Wrong
lemiorhan
PRO
4
2.4k
Unlearn Product Development - Unleashed Edition
lemiorhan
PRO
5
460
Unlearn Product Development
lemiorhan
PRO
10
1.9k
Unlearn OOP: Back To Origins
lemiorhan
PRO
6
3.4k
Unlearn Modularity
lemiorhan
PRO
8
950
The Disturbing Truth: Why Do Most Software Projects Suck?
lemiorhan
PRO
5
510
Other Decks in Technology
See All in Technology
Kaggleで成長するために意識したこと
prgckwb
2
440
[Droidcon Orlando '26] The Android Lens: Applying Mobile Forensics to AI Performance
amanda_hinchman
1
100
シンガポールで登壇してきます
yama3133
0
330
Making sense of Google’s agentic dev tools
glaforge
1
300
複数プロダクト組織のAIネイティブ化における戦略 / AICon2026_kude
rakus_dev
0
280
壊して学ぶAWS CDK: そのcdk deployで消えるもの、残るもの
k_adachi_01
1
450
AI、CDK と協働する Full TypeScript アプリケーション開発 / Full TypeScript Application with AI and CDK
geekplus_tech
2
450
AI時代の開発生産性は、個人技からチーム設計へ
moongift
PRO
4
2.5k
実践!既存 Project への AI-Driven Development 適用〜 一ヶ月で Project 唯一のフロントエンドエンジニアを作り出せ〜
lycorptech_jp
PRO
0
370
Data + AI Summit 2026 イベントレポート: 「AIがビジネスで意思決定するデータ基盤」へ
nek0128
0
300
AI時代のPlaywright活用(システムテストを自動化する ー 実行エンジンにPla ywrightを選んだ理由)
ynisqa1988
2
890
Vポイント分析基盤におけるデータモデリング20年史
taromatsui_cccmkhd
4
650
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.6k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Code Reviewing Like a Champion
maltzj
528
40k
Git: the NoSQL Database
bkeepers
PRO
432
67k
AI: The stuff that nobody shows you
jnunemaker
PRO
9
840
Java REST API Framework Comparison - PWX 2021
mraible
34
9.5k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
What's in a price? How to price your products and services
michaelherold
247
13k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
360
Building Adaptive Systems
keathley
44
3.1k
WCS-LA-2024
lcolladotor
0
730
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