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
Test-driven development with PHPUnit
Search
Oliver Klee
July 15, 2017
Technology
500
1
Share
Test-driven development with PHPUnit
Oliver Klee
July 15, 2017
More Decks by Oliver Klee
See All by Oliver Klee
Gewaltfreie Kommunikation: ein Crashkurs
oliverklee
0
110
Team-Management-Plattform
oliverklee
0
77
Vertrauen in Teams & Führung
oliverklee
0
310
Software-Qualität von TYPO3-Extensions automatisieren
oliverklee
0
52
Vertrauen in Teams & Führung
oliverklee
0
170
Testing von TYPO3-Extensions
oliverklee
0
95
Software-Qualität von Extensions automatisieren
oliverklee
1
61
Content-Synchronisierung
oliverklee
0
180
Gewaltfreie Kommunikation: ein Crashkurs
oliverklee
0
370
Other Decks in Technology
See All in Technology
ボトムアップの改善の火を灯し続けろ!〜支援現場で学んだ、消えないための3つの打ち手〜 / 20260509 Kazuki Mori
shift_evolve
PRO
2
480
AIが盛んな時代に 技術記事を書き始めて起きた私の中での小さな変化
peintangos
0
350
ServiceNow Knowledge 26 の歩き方
manarobot
0
330
20260428_Product Management Summit_Loglass_JoeHirose
loglassjoe
4
6.8k
データ定義の混乱と戦う 〜 管理会計と財務会計 〜
wonohe
0
200
CyberAgent YJC Connect
shimaf4979
1
150
アクセシビリティはすべての人のもの
tomokusaba
0
250
20260428_Product Management Summit_tadokoroyoshiro
tadokoro_yoshiro
15
18k
Percolatorを廃止し、マルチ検索サービスへ刷新した話 / Search Engineering Tech Talk 2026 Spring
visional_engineering_and_design
0
310
巨大プラットフォームを進化させる「第3のROI」
recruitengineers
PRO
2
2.3k
カオナビに Suspenseを導入するまで / The Road to Suspense at kaonavi
kaonavi
1
370
AIが自律的に働く時代へ Amazon Quick で実現するAIエージェント紹介
koheiyoshikawa
0
180
Featured
See All Featured
Writing Fast Ruby
sferik
630
63k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
190
Code Review Best Practice
trishagee
74
20k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2k
WENDY [Excerpt]
tessaabrams
10
37k
First, design no harm
axbom
PRO
2
1.2k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
530
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.1k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
530
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
490
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
Transcript
Test-driven Development with PHPUnit Oliver Klee, 2017-07 @oliklee
[email protected]
Unit Tests?
Manual testing is cumbersome
Automated testing is fast
Unit tests for the Realty Manager TYPO3 extension
>1600 tests
< 60 seconds
Verify that your code does what you expect
Make sure that your changes won‘t break anything
Keep others from breaking your code
Don’t break anything even in complex projects
Create a safety net for refactoring or for TYPO3 updates
Improve the structure of your code
Green feels good!
Let’s get some terms straight
Testsuite Testcase Test Assertion Test Test Testcase
Code test-first write test write code refactor
None