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
1
490
Test-driven development with PHPUnit
Oliver Klee
July 15, 2017
Tweet
Share
More Decks by Oliver Klee
See All by Oliver Klee
Gewaltfreie Kommunikation: ein Crashkurs
oliverklee
0
96
Team-Management-Plattform
oliverklee
0
73
Vertrauen in Teams & Führung
oliverklee
0
280
Software-Qualität von TYPO3-Extensions automatisieren
oliverklee
0
46
Vertrauen in Teams & Führung
oliverklee
0
160
Testing von TYPO3-Extensions
oliverklee
0
88
Software-Qualität von Extensions automatisieren
oliverklee
1
57
Content-Synchronisierung
oliverklee
0
170
Gewaltfreie Kommunikation: ein Crashkurs
oliverklee
0
340
Other Decks in Technology
See All in Technology
AIエージェントで変わる開発プロセス ― レビューボトルネックからの脱却
lycorptech_jp
PRO
2
820
Microsoft Fabric のワークスペースと容量の設計原則
ryomaru0825
2
220
Devinを導入したら予想外の人たちに好評だった
tomuro
0
640
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
4k
[続・営業向け 誰でも話せるOCI セールストーク] AWSよりOCIの優位性が分からない編(2026年2月20日開催)
oracle4engineer
PRO
0
150
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.4k
Claude Codeと駆け抜ける 情報収集と実践録
sontixyou
2
1.3k
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3k
【2026年版】生成AIによる情報システムへのインパクト
taka_aki
0
200
AI が Approve する開発フロー / How AI Reviewers Accelerate Our Development
zaimy
1
250
20260222ねこIoTLT ねこIoTLTをふりかえる
poropinai1966
0
310
LINEヤフーにおけるAI駆動開発組織のプロデュース施策
lycorptech_jp
PRO
0
240
Featured
See All Featured
Building AI with AI
inesmontani
PRO
1
760
The Power of CSS Pseudo Elements
geoffreycrofte
81
6.2k
Navigating Weather and Climate Data
rabernat
0
130
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.1k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.9k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
230
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
190
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
190
Navigating Team Friction
lara
192
16k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
59
50k
We Have a Design System, Now What?
morganepeng
55
8k
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