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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Lemi Orhan Ergin
PRO
November 16, 2018
Technology
470
17
Share
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
Conway's Law Never Lies
lemiorhan
PRO
1
230
Fixing The Typos in Engineering Culture
lemiorhan
PRO
3
150
Everything You Know About Agile Is Wrong
lemiorhan
PRO
4
2.4k
Unlearn Product Development - Unleashed Edition
lemiorhan
PRO
5
410
Unlearn Product Development
lemiorhan
PRO
10
1.8k
Unlearn OOP: Back To Origins
lemiorhan
PRO
6
3.4k
Unlearn Modularity
lemiorhan
PRO
8
920
The Disturbing Truth: Why Do Most Software Projects Suck?
lemiorhan
PRO
5
480
Yazılım Geliştirme Hakkında Okulda Bahsedilmeyenler
lemiorhan
PRO
2
850
Other Decks in Technology
See All in Technology
Master Dataグループ紹介資料
sansan33
PRO
1
4.6k
非エンジニア職からZOZOへ 〜登壇がキャリアに与えた影響〜
penpeen
0
460
NgRx SignalStore: The Power of Extensibility
rainerhahnekamp
0
230
OBI+APMでお手軽にアプリケーションのオブザーバビリティを手に入れよう
kenshimuto
0
310
Bill One 開発エンジニア 紹介資料
sansan33
PRO
5
18k
🀄️ on swiftc
giginet
PRO
0
370
聞き手の目線で考えるプロポーザル
takefumiyoshii
0
410
Code Interpreter で、AIに安全に コードを書かせる。
yokomachi
0
6.1k
インフラを Excel 管理していた組織が 3 ヶ月で IaC 化されるまで
geekplus_tech
3
190
2026年に相応しい 最先端プラグインホストの設計<del>と実装</del>
atsushieno
0
120
AIエージェントを構築して感じた、AI時代のCDKとの向き合い方
smt7174
1
250
試されDATA SAPPORO [LT]Claude Codeで「ゆっくりデータ分析」
ishikawa_satoru
0
400
Featured
See All Featured
エンジニアに許された特別な時間の終わり
watany
106
240k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
310
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
130
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
Agile that works and the tools we love
rasmusluckow
331
21k
Darren the Foodie - Storyboard
khoart
PRO
3
3.2k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
810
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
400
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
210
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